You are not logged in.
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
Try run the command:
apachectl configtest
Offline
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
I remember it since it is the only apache-related command in the output of apache<Tab><Tab> auto-completion.
Offline
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