Stefan Fritsch wrote:
On Wednesday 13 February 2008, Holger Mickler wrote:A fresh install of apache2 does not work on a self-compiled kernel which has only IPv4 enabled. It does not work on the stock debian kernel either when IPv6 is blacklisted.I tried it with the standard kernel and IPv6 disabled, but I could not reproduce your problem.
I just tried again and now it _does_ work - hm, weird. Maybe there was a problem with another package that has been updated since Wednesday...
The following are the error messages: A) With default config $ /etc/init.d/apache2 start Starting web server: apache2apache2: apr_sockaddr_info_get() failed for snoopy apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName no listening sockets available, shutting down Unable to open logs failed!What is in the error log in this case? Does "snoopy" appear anywhere in your apache config or is it your hostname? What is its entry in /etc/hosts? There is nothing else listening on port 80, is there?
Just FYI:1) No error logs were generated by apache2, /var/log/* did not have relating entries either.
2) snoopy is the hostname, entry in /etc/hosts is <IP> snoopy.zih.tu-dresden.de snoopy ldap.zih.tu-dresden.de 3) netstat -ln showed no listeners on port 80, neither did lsof.
Cheers, Stefan
Now that apache2 is working, you may close the bug. Sorry for the alarm, but on Wednesday it drove me almost mad when it wouldn't run.
Best regards, Holger