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

Tatsuo Ishii ishii at sraoss.co.jp
Tue Oct 18 19:21:14 JST 2016


Adding "-F /cs/devtooling/packages/pgpool/etc/pcp.conf"
to the script may help.
(-F specifies the location of pcp/conf)

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

> Hi, here are the details as requested.
> 
> OS - Red Hat Enterprise Linux Server release 6.5
> PGPool version - pgpool-II-pg92-3.3.4-2.pgdg.x86_64.rpm
> 
> Starting PG Pool
>> service pgpool start 
> 
> Which runs pgpool script and the following is executed:
> $SU -l $PGPOOLUSER -c "$PGPOOLDAEMON -f $PGPOOLCONF $OPTS & " >> "$PGPOOLLOG" 2>&1 < /dev/null
> su -l psotgres /usr/bin/pgpool -f /cs/devtooling/packages/pgpool/etc/pgpool.conf -n
> 
> Location of pcp.conf is
> /cs/devtooling/packages/pgpool/etc/pcp.conf
> 
> 
> Michael Bezas 
> Development Tools & Services - LN
> 
> 
> -----Original Message-----
> From: Tatsuo Ishii [mailto:ishii at sraoss.co.jp] 
> Sent: 18 October 2016 07:30
> To: Bezas, Michael (VIAA 21)
> Cc: pgpool-general at pgpool.net
> Subject: Re: [pgpool-general: 5053] PGPool - PCP auth error
> 
> OS, Pgpool-II version, pgpool.conf, how to start pgpool (exact command
> line), location of pgpool.conf, location of pcp.conf please.
> 
> BTW, pool_passwd and pool_hba.conf does nothing to do with your
> problem. There are used for auth of pgpool. pcp has separate auth
> sysytem.
> 
> Best regards,
> --
> Tatsuo Ishii
> SRA OSS, Inc. Japan
> English: http://www.sraoss.co.jp/index_en.php
> Japanese:http://www.sraoss.co.jp
> 
>> 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 
>> =============================================================================== 
> 
> =============================================================================== 
> Please access the attached hyperlink for an important electronic communications disclaimer: 
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html 
> =============================================================================== 


More information about the pgpool-general mailing list