For reference, this is Apache 2.2.15 on Fedora 13.

When I try to start httpd as a service like this, it fails:

# sudo service httpd start
Starting httpd:                                            [FAILED]

Nothing in the /etc/httpd/logs/error_log file.

I tried running it interactively in debug mode like this:

# sudo httpd -e DEBUG

And it runs just fine...

Any idea what could cause it to fail when being run as a service? Thanks.

  • Did you search in other logs (syslog, messages, etc)?
    – lg.
    Jul 20 '10 at 7:55
  • Nothing in /var/log/messages... :(
    – Bob Somers
    Jul 20 '10 at 8:15

Problem solved. It was SELinux. Sometimes that blasted thing causes more trouble than it's worth.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.