1

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

11
  • What OS are you on? Any chance you have AppArmour (Ubuntu) or SELinux (Fedora)? Check dmesg. Jul 4, 2014 at 11:00
  • Centos 6.5 on virtual machine
    – Czachovic
    Jul 4, 2014 at 11:02
  • application just cannot access two files which must be accessible to go to next step of installation...
    – Czachovic
    Jul 4, 2014 at 11:06
  • I checked dmesg... not found any errors
    – Czachovic
    Jul 4, 2014 at 11:10
  • Show output of: getenforce please. Also try running the SELinux Troubleshooter (otherwise known as "selinux alert browser"), command line sealert Jul 4, 2014 at 11:32

1 Answer 1

0

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.

1
  • all understood but whal file label I should choose?(I Can send list duggested by selinux)
    – Czachovic
    Jul 4, 2014 at 12:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.