2008-04-05

 

Some Centos and SELinux woes...

I discovered that custom compiling Apache and PHP leads to an interesting situation in Centos with SELinux. When you try to start Apache, you will get an error like this: "cannot restore segment prot after reloc: Pemission denied".

This has to do with SElinux. I found some help on the web, and what you have to do is:

Open /etc/sysconfig/selinux and modify the line that reads "SELINUX=enforcing" to "SELINUX=permissive".

You will have to reboot :-(

Labels: , , , ,


Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?