[pgpool-general: 5054] Re: PGPool - PCP auth error

Vlad Novikov xou.slackware at gmail.com
Tue Oct 18 10:54:20 JST 2016


Hello Michael,

How did you generate pool_passwd? The passwords have to start with md5, e.g.
user1:md5kjsdhfkjef38389he
user2:md58hljhfj3kfjdhfkjshdf
You have to use command pg_md5 --md5auth when creating entries in
pool_passwd

Regards,
Vlad

On Mon, Oct 17, 2016 at 7:15 AM, Bezas, Michael <
michael.bezas at credit-suisse.com> wrote:

> Hi I seem to have pcp auth error - any help would be greatly appreciated.
> I had this working previously but seems to have stopped…
>
>
>
> I have turned off pool_hba - yet I get this error?
>
>
>
> postgres at -:~> *pcp_attach_node -d 10 localhost 9040 postgres postgres 1*
>
> DEBUG: send: tos="R", len=46
>
> DEBUG: recv: tos="r", len=63, data=AuthenticationFailed
>
> DEBUG: authentication failed. reason=AuthenticationFailed
>
> AuthorizationError
>
>
>
> pgpool.conf - config
>
> # - Authentication -
>
> enable_pool_hba = off
>
> pool_passwd = 'pool_passwd'
>
>
>
> pcp.conf - config
>
> # USERID:MD5PASSWD
>
> postgres:e8a48653851e28c69d0506508fb27fc5
>
>
>
> pool_passwd - config
>
> postgres:8e40e89c8c95a050dcadea2d7e4d40cc
>
>
>
> pool_hba.conf - config
>
> # "local" is for Unix domain socket connections only
>
> local   all         all                               trust
>
> # IPv4 local connections:
>
> host    all         all        xx.xx.xx.xx/32        trust
>
> host    postgres    postgres   xx.xx.xx.xx /32        trust
>
>
>
> Regards
>
>
>
>
> ============================================================
> ==================
> Please access the attached hyperlink for an important electronic
> communications disclaimer:
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
> ============================================================
> ==================
>
> _______________________________________________
> pgpool-general mailing list
> pgpool-general at pgpool.net
> http://www.pgpool.net/mailman/listinfo/pgpool-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20161017/5c013b67/attachment.html>


More information about the pgpool-general mailing list