All of sudden my Apache just stopped working.
I have checked that Web Sharing is on, but all I got is:
Then I tried to restore httpd.conf file to its original version, which obviously had little help.
Later I tried to run apachectl -t to see anything wrong with the status, then I got this message:
The actual of this line 164 reads:
but apparently this directory does exist.
I also have another clue from /var/log/apache2/error_log:
This has been driving me crazy, please, please help me!!!
I have checked that Web Sharing is on, but all I got is:
Code:
Firefox can't establish a connection to the server at 10.0.1.2.
Then I tried to restore httpd.conf file to its original version, which obviously had little help.
Later I tried to run apachectl -t to see anything wrong with the status, then I got this message:
Code:
Syntax error on line 164 of /private/etc/apache2/httpd.conf:
DocumentRoot must be a directory
Code:
DocumentRoot "/Library/WebServer/Documents"
I also have another clue from /var/log/apache2/error_log:
Code:
[Fri Jun 26 16:21:55 2009] [error] [client 10.0.1.4] client denied by server configuration: /Library/WebServer/Documents
[Fri Jun 26 16:22:03 2009] [error] [client 10.0.1.4] client denied by server configuration: /Library/WebServer/Documents
[Fri Jun 26 16:22:13 2009] [error] [client 10.0.1.4] client denied by server configuration: /Library/WebServer/Documents, referer: http://10.0.1.4/
[Fri Jun 26 16:22:24 2009] [error] [client 10.0.1.4] client denied by server configuration: /Library/WebServer/Documents
[Fri Jun 26 16:22:54 2009] [error] [client 10.0.1.4] File does not exist: /Users/yaochen/Sites/test.html
[Fri Jun 26 16:22:57 2009] [error] [client 10.0.1.4] File does not exist: /Users/yaochen/Sites/test.html
[Sat Jun 27 03:40:07 2009] [warn] child process 413 still did not exit, sending a SIGTERM
[Sat Jun 27 03:40:07 2009] [warn] child process 446 still did not exit, sending a SIGTERM
[Sat Jun 27 03:40:07 2009] [warn] child process 452 still did not exit, sending a SIGTERM
[Sat Jun 27 03:40:07 2009] [warn] child process 455 still did not exit, sending a SIGTERM
[Sat Jun 27 03:40:07 2009] [warn] child process 456 still did not exit, sending a SIGTERM
[Sat Jun 27 03:40:08 2009] [notice] caught SIGTERM, shutting down
This has been driving me crazy, please, please help me!!!