Apache can't restart
Hi
I m using fedora core 1 and apache 2.0.50. Sometimes apache stops. I find this in error_log
[Sun Mar 13 04:03:21 2005] [notice] SIGHUP received. Attempting to restart
Syntax error on line 157 of /etc/httpd/conf/httpd.conf:
Invalid command '<ifModule', perhaps mis-spelled or defined by a module not included in the server configuration
İf i write "apachectl start" from console it starts normally. And now i realize that when server is running if i write "apachectl restart" it stops but i don't start and gives no error message.
It is very strange i think. and the line 157 in httpd.conf is below;
<ifModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</ifModule>
|