问题
That the error looks like
The right's are
Anyone there to solve the problem?
回答1:
The page in the link (http://www.pgpool.net/docs/latest/pgpool-en.html#pcp_comand_password) in the posted solution is no longer present.
I was able to resolve this by copying the .pcppass file from the postgres user's directory to /var/www/ and changing it's owner to the apache system user.
sudo cp /home/postgres/.pcppass /var/www/
sudo chown apache /var/www/.pcppass
sudo chmod 600 /var/www/.pcppass
回答2:
.pcppass file is missing from the specified directory.
To solve the Problem you have todo this:
http://www.pgpool.net/docs/latest/pgpool-en.html#pcp_comand_password
Make sure the .pcppass file has permission 0600. You may also need to change its owner/group to apache/www-data user depending on your system.
回答3:
всем привет)
- check and define home folder /var/www for www-data(or apache) in /etc/passwd
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
- check owner and rights
chown www-data /var/www/.pcppass
chmod 0600 /var/www/.pcppass
- check .pcppass format
host:port:user:password in plain text
Each of the first three fields can be a literal value, or *, which matches anything
来源:https://stackoverflow.com/questions/40805907/pgpooladmin-3-5-2-error-code-e1014-could-not-read-pcppass-file