[Pgpool-general] pcp authentification doesn't work

Guillaume Lelarge guillaume at lelarge.info
Mon Feb 21 22:17:43 UTC 2011


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


More information about the Pgpool-general mailing list