Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-07-2007, 05:39 AM   #1
LQ Newbie
Registered: Mar 2007
Posts: 9

Rep: Reputation: 0
Service httpd Start

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=rootbject_r:root_t tclass=dir [Failed]

can anybody let me know what to do start this
Old 03-07-2007, 05:22 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd service won't start GavB Linux - Newbie 4 01-19-2007 07:56 AM
Service httpd nnadithya Linux - Server 5 12-16-2006 09:08 PM
service httpd status, results in httpd dead but subsys locked squadja Red Hat 2 09-11-2004 10:31 PM
httpd as a service joshf Linux - Software 5 07-10-2003 07:54 AM
Using HTTPD Service skopje909 Linux - General 1 11-15-2001 03:32 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration