[pgpool-general: 7701] PGPool-II 4.2.3 on CentOS 7.9: PCP Commands are ignoring .pcppass file

Luca Maranzano liuk001 at gmail.com
Fri Sep 10 20:22:48 JST 2021


Hi all,

subject says all, I'm getting crazy trying to understand why pcp commands
are completely ignoring .pcppass file.

I'm sure the file is correct, I've also tried to use strace and from the
output there is no attempt to open $HOME/.pcppass file.

I've tried with user root and user postgres:

# ls -l /root/.pcppass /var/lib/pgsql/.pcppass
-rw------- 1 root     root     44 Sep 10 13:06 /root/.pcppass
-rw------- 1 postgres postgres 83 Jul 17 09:42 /var/lib/pgsql/.pcppass

The command is:

pcp_watchdog_info -h 1.1.1.1 -p 9898 -U pgpool

The file contains:
1.1.1.1:9898:pgpool:redactedpassword

What am I doing wrong?

Thanks in advance
Regards
Luca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pgpool.net/pipermail/pgpool-general/attachments/20210910/cada0678/attachment.htm>


More information about the pgpool-general mailing list