No apache logs after Snow Leopard upgrade
After upgrading to Snow Leopard, my Apache server was dead. I couldn't get it to do anything. When I started it, it didn't complain. But nor did it start. There were no log files, and no errors that I could see.
I finally found the error problem by looking in the Console logs (Applications -> Utilities -> Console). From this logger I finally found the problem:
When Snow Leopard installed, it oh-so-conveniently blew away my httpd.conf file. And when I re-did the file, I forgot to include the "Listen" directive, and that's what was causing this problem. So it's not really specific to Snow Leopard. But if you are seeing this error, add back the listen directive to httpd.conf like this (as an example):
and this will get your Apache server running again.
I finally found the error problem by looking in the Console logs (Applications -> Utilities -> Console). From this logger I finally found the problem:
no listening sockets available, shutting down Unable to open logs
When Snow Leopard installed, it oh-so-conveniently blew away my httpd.conf file. And when I re-did the file, I forgot to include the "Listen" directive, and that's what was causing this problem. So it's not really specific to Snow Leopard. But if you are seeing this error, add back the listen directive to httpd.conf like this (as an example):
Listen *:80
and this will get your Apache server running again.
| Rating: | 100% positive, 2 total Votes |
| Categories: | Snow Leopard apache |
| Added: | on Sep 04, 2009 at 3:58 pm |
| Added By: | an anonymous user |
| Searches: | snow leopard apache log file |

