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

asked Jul 4, 2014 at 10:45
11
  • What OS are you on? Any chance you have AppArmour (Ubuntu) or SELinux (Fedora)? Check dmesg. Commented Jul 4, 2014 at 11:00
  • Centos 6.5 on virtual machine Commented Jul 4, 2014 at 11:02
  • application just cannot access two files which must be accessible to go to next step of installation... Commented Jul 4, 2014 at 11:06
  • I checked dmesg... not found any errors Commented 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 Commented 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.

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

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.