[pgpool-general: 2338] Re: Ask for help
Nozomi Anzai
anzai at sraoss.co.jp
Fri Dec 13 19:51:00 JST 2013
Hi,
> Hello,
>
> In our firm among others we are using pgpool ver. 3.2.3, pgpooladmin
> ver. 3.2.2 and postgres version 9.1. We would like to use the latest
> version of pgpool ver. 3.3.2 and pgpooladmin ver. 3.3.0. Now I am
> testing this version, but can not work functionality to
> stop/reload/restart PostgreSQL from GUI. I did everything according to
> the instructions, namely:
>
> $ cd pgpool-II-3.3.2/sql/pgpool-recovery
> $ make
> $ make install
>
> After this:
>
> $ psql -f pgpool-recovery.sql template1
>
> Where should I insert parameter: pgpool.pg_ctl =
> '/usr/local/pgsql/bin/pg_ctl' ??????. If I insert this parameter to
> postgresql.conf of postgres cluster, then it does not start (FATAL:
> unrecognized configuration parameter "pgpool.pg_ctl").
In postgresql.conf is right. You can add it anyware in the conf file.
Did you succeed installing pgpool-recovery? Could you confirm that
"SELECT pgpool_pgctl('reload', '')" would work?
# This function always returns true.
=# SELECT pgpool_pgctl('reload', '');
pgpool_pgctl
--------------
t
(1 row)
> And in pgpooladmin konsole I have an error:
> superuser: unknown (Connection error)
>
> But my superuser is postgres, like a login to pgpooladmin.
When PostgreSQL stops, pgpoolAdmin show thus, because it can know about
that only by asking to PostgresQL.
BTW, I found pgpool_pgctl() function would be executed by sr_check_user or
health_check_user as whom you could set non-super users, and it might be
not good.
> It's written in the documentation:
>
> A superuser whose name is same as the pgpoolAdmin's login user also must
> exists in the backend.
>
> Thank you in advance for your help.
>
> --
> Pozdrawiam / Best regards
> Aleksander Englert
> aleksander_englert at skg.pl
> tel. 033/8281168
> kom. +48692469269
>
> SKG S.A.
> 43-309 Bielsko-Biała, Al. Armii Krajowej 336
> tel. +48 33 8281-100, fax +48 33 8281-105
> e-mail: firma at skg.pl
>
> Nr KRS: 47940, Sąd Rejonowy w Bielsku-Białej, VIII Wydział Gospodarczy KRS
> NIP: 547-12-57-936, Regon: 070711270
> Kapitał zakładowy: 500 000 zł w całości opłacony
>
> Niniejsza wiadomość może zawierać informacje prawnie chronione.
> Wiadomość skierowana jest wyłącznie do
> adresata/ adresatów określonych wyżej i stanowi własność nadawcy.
> Odbiorca, który otrzymał tę wiadomość
> przypadkowo, proszony jest o jej nie rozpowszechnianie, a następnie
> poinformowanie nadawcy i jej
> usunięcie. Rozpowszechnianie, kopiowanie, ujawnianie lub przekazywanie
> osobom trzecim w jakiejkolwiek
> formie informacji zawartych w niniejszej wiadomości w całości lub części
> jest zakazane.
>
> The information contained in this message may be privileged and
> confidential and protected from disclosure.
> Information included in that message is addressed only to the
> addressee/addressees determined above and is the property
> of the sender. If you have received this communication in error, please
> notify the sender immediately by replaying
> to the message and deleting it from your computer. Any dissemination,
> distribution or copying of this communication
> to the third parties is strictly prohibited.
--
Nozomi Anzai
SRA OSS, Inc. Japan
More information about the pgpool-general
mailing list