公告
财富商城
积分规则
提问
发文
2019-05-04 09:47发布
甜甜的少女心
That the error looks like
The right's are
Anyone there to solve the problem?
всем привет)
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
chown www-data /var/www/.pcppass
chmod 0600 /var/www/.pcppass
host:port:user:password in plain text
Each of the first three fields can be a literal value, or *, which matches anything
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
.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.
最多设置5个标签!
всем привет)
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
chown www-data /var/www/.pcppass
chmod 0600 /var/www/.pcppass
host:port:user:password in plain text
Each of the first three fields can be a literal value, or *, which matches anything
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.
.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.