[Pgpool-general] pcp authentification doesn't work
Micka
mickamusset at gmail.com
Tue Feb 22 03:20:41 UTC 2011
hi,
Thx but it doesn't work :
mickael at PTI2:~$ pcp_node_count 10 localhost 9898 postgres1 pgpoolAdmin
AuthorizationError
is it possible that i'm configuring the wrong file ? but with pgpoolAdmin I
can connect to the administration page. So why the pcp command it doesn't
work ?
+ when I'm on the main page of pgpoolAdmin, I got :
Error Code e1002 Error Message pcp_node_count command error occurred.
Which means the same thing above, the pcp command doesn't work.....
I don't understand (_(,
Thanks,
On Mon, Feb 21, 2011 at 11:17 PM, Guillaume Lelarge
<guillaume at lelarge.info>wrote:
> Le 21/02/2011 18:36, Micka a écrit :
> > Hi,
> >
> > I'm trying to understand on how to use the pcp command, but it doesn't
> work
> > .... see :
> >
> > mickael at PTI2:/var/log/pgpool$ pcp_node_count 10 localhost 9898 postgres
> > pgpoolAdmin
> > AuthorizationError
> >
> > And
> > sudo nano /usr/local/etc/pcp.conf
> >
> >
> > # USERID:MD5PASSWD
> > postgres:e8a48653851e28c69d0506508fb27fc5
> > postgres1:6b9883ad2fdc7256b95cfafbbe8e455b
> > micka:a97e914ee3a3a8592a0fecd2d77e0c04
> >
> > I don't know why i've got AuthorizationError.
> >
>
> pgpoolAdmin is the password of "postgres1" user, not postgres. You
> should launch:
>
> pcp_node_count 10 localhost 9898 postgres1 pgpoolAdmin
>
>
> --
> Guillaume
> http://www.postgresql.fr
> http://dalibo.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pgfoundry.org/pipermail/pgpool-general/attachments/20110222/c9d950de/attachment.html>
More information about the Pgpool-general
mailing list