You are not logged in.

#1 2008-10-15 17:01:30

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

[SOLVED] http daemon failing to start

Hi,

I'm getting the following:

$ sudo /etc/rc.d/httpd restart
:: Stopping HTTP Daemon                                                                          [FAIL]
:: Starting HTTP Daemon                                                                          [FAIL]

I looked through the logs in /var/log but nothing is being recorded. I also checked /var/log/httpd directory, but it is empty. Why are no log files being generated for this failure? How can I find out why it is failing?

Last edited by void.pointer (2008-10-15 19:17:08)

Offline

#2 2008-10-15 18:59:02

alessandro_ufms
Member
From: Campo Grande, MS - Brazil
Registered: 2008-06-25
Posts: 153

Re: [SOLVED] http daemon failing to start

Try run the command:
apachectl configtest

Offline

#3 2008-10-15 19:03:48

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

Re: [SOLVED] http daemon failing to start

alessandro_ufms wrote:

Try run the command:
apachectl configtest

Thanks, this helped me resolve the issue. I had a module that I was loading in my httpd.conf that wasn't installed (mod_python). I probably won't remember that command for the future, so where is it documented?

Offline

#4 2008-10-15 19:13:43

QwertyManiac
Member
Registered: 2008-10-05
Posts: 6

Re: [SOLVED] http daemon failing to start

I remember it since it is the only apache-related command in the output of apache<Tab><Tab> auto-completion. tongue

Offline

#5 2008-10-15 19:52:53

alessandro_ufms
Member
From: Campo Grande, MS - Brazil
Registered: 2008-06-25
Posts: 153

Re: [SOLVED] http daemon failing to start

Don't worry about that. Apachectl is main apache administration program. The script /etc/rc.d/httpd use apachectl for start and stop the service. Whether you can't remember the name of command, take a look on the script, or try QwertyManiac's tip.

All options are describe in manpages.

Last edited by alessandro_ufms (2008-10-15 19:54:06)

Offline

Board footer

Powered by FluxBB