OS X (10.6) Apache Sudden Death, Nginx not working either...

Posted by Jesse Stuart on Server Fault See other posts from Server Fault or by Jesse Stuart
Published on 2011-02-11T16:55:34Z Indexed on 2011/02/11 23:27 UTC
Read the original article Hit count: 232

Filed under:
|
|
|
|

Hi,

I turned on my computer today and apache wasn't working. This is weird as its been working for the last 6 months without issue.

The only thing I did which may of caused a problem, is I uninstalled a bunch of gems. This shouldn't be the issue though as apache doesn't rely on gems.

I decided to give nginx a try to see if it would work and have the exact same issue.

The symtoms are:

  • I go to http://localhost and get the browsers default 404 page (not rendered by apache/nginx)
  • No error is found anywhere (I checked all logs)
  • Apache is rinning (also tried with Nginx)

How can I debug this to find the root of the problem? I can't think of why this would be happening.

I've tried repairing permissions in case this was the issue, apparently it wasn't. Everything was working the other day, and nothing changed in the apache config.

Update: Here is the output of telnet localhost 80

$ telnet localhost 80
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying fe80::1...
telnet: connect to address fe80::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host

© Server Fault or respective owner

Related posts about apache

Related posts about apache2