I got a problem with permissions during installation of pgpoolAdmin(newest version). The problem is when I get to window with main config that should be all okay to move to next installtion step.
The problem is access to two files: pgpool.conf and pcp.conf. Application says: "Write access denied". I tried "chmod 777" on those config files and "chown apache config_file_name" nothing works. I still see "Write access denied". Whole pgpool application is in /var/www/html/pgpoolAdmin. Location of those two files is /usr/local/etc/. I'm using Centos 6.5.
Sorry for no pictures but I have bo permission to upload
1 Answer 1
You have SELinux enabled, and your policy doesn't allow Apache to write to those files.
Adjust the policy, relabel the files, or (not recommended) disable SELinux. The sealert
can help provide guidance.
-
all understood but whal file label I should choose?(I Can send list duggested by selinux)Czachovic– Czachovic2014年07月04日 12:35:41 +00:00Commented Jul 4, 2014 at 12:35
dmesg
.getenforce
please. Also try running theSELinux Troubleshooter
(otherwise known as "selinux alert browser"), command linesealert