You are not logged in.

#1 2009-01-15 14:37:57

gary76
Member
Registered: 2009-01-15
Posts: 2

Apache doesn't listen on anything

Hello,

Yesterday I upgraded my Arch, rebooted and found out that my apache is striking.
Except the update I did not change anything.

The daemon is started:

 7952 ?        S      0:00 /usr/sbin/httpd -k start

Telnet says:

Unable to connect to remote host: Connection refused

Netstat doesn't list port 80:

Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 localhost:ipp           *:*                     LISTEN      
udp        0      0 *:bootpc                *:*                                 
udp        0      0 *:ipp                   *:*

Weird is, that it's not possible to stop the daemon (httpd -k stop):

httpd (no pid file) not running

But ps tells, that httpd is running

I also tried "Listen 8080" but that didn't work too.

What may be the problem?

Offline

#2 2009-01-15 19:40:55

gary76
Member
Registered: 2009-01-15
Posts: 2

Re: Apache doesn't listen on anything

After many debugging I've got the problem.

Apache freezed after a first request, but it didn't throw an error to /var/log/httpd/error_log

After a few hours of debugging I found a file called /var/log/php/error
Before, I didn't hit on viewing that file, which says:

[15-Jan-2009 20:18:51] PHP Fatal error:  Unable to start eAccelerator module in Unknown on line 0

A friend of mine recently had exactly the same problem. The eAccelerator was built with another PHP version and wouldn't work after a PHP update anymore.

I deactivated eAccelerator and now everything works fine.

Offline

Board footer

Powered by FluxBB