[pgpool-general: 7703] Re: PGPool-II 4.2.3 on CentOS 7.9: PCP Commands are ignoring .pcppass file
liuk001 at gmail.com
Fri Sep 10 23:33:19 JST 2021
the file actually is in the home of the user that is invoking the command,
I've tried with root and postgres.
We do not have a pgpool user in our setup, CentOS runs pgpool with postgres
The point is that it seems that pcp commands do not try to use the .pcppass
On Fri, Sep 10, 2021 at 1:52 PM Francesco Mazzi <fmazzi at comune.genova.it>
> Hello Luca, .pcppass should be in the home directory of the user you
> invoke in the command, in your case pgpool user's home.
> Moreover, instead of 188.8.131.52 you should put localhost or hostname.
> *Da: *"Luca Maranzano" <liuk001 at gmail.com>
> *A: *"pgpool-general" <pgpool-general at pgpool.net>
> *Inviato: *Venerdì, 10 settembre 2021 13:22:48
> *Oggetto: *[pgpool-general: 7701] PGPool-II 4.2.3 on CentOS 7.9: PCP
> Commands are ignoring .pcppass file
> 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 184.108.40.206 -p 9898 -U pgpool
> The file contains:
> What am I doing wrong?
> Thanks in advance
> Click here
> to report this email as spam.
> pgpool-general mailing list
> pgpool-general at pgpool.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pgpool-general