LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

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

Rep: Reputation: 0
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=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
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
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
 
  


Reply


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


All times are GMT -5. The time now is 11:22 AM.

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