LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Service httpd Start (https://www.linuxquestions.org/questions/linux-server-73/service-httpd-start-535328/)

bajpaipuneet 03-07-2007 05:39 AM

Service httpd Start
 
Hi,
I have jst configure apache in my CentOS box. i am unable to start httpd service when i run command service httpd start it says
Starting httpd:audit(1173286750.149:6): avc: denied {write} for Pid=2434 comm="httpd" name="logs" dev=dm-0 ino=23986182 scontext=root:system_r:httpd_t tcontext=root:object_r:root_t tclass=dir [Failed]


can anybody let me know what to do start this

Brian1 03-07-2007 05:22 PM

This is selinux causing. You need to edit selinux to allow it to work. If you don't need selinux then run /usr/bin/system-config-securitylevel and disable selinux. Then restart system.

Brian


All times are GMT -5. The time now is 02:34 PM.