My Apache is refusing to start with the error message in this thread's subject line:
Code: Select all
~ # apache2
no listening sockets available, shutting down
Unable to open logsCode: Select all
~ # netstat -anA inet
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:64738 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:8005 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:10022 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:52885 127.0.0.1:783 TIME_WAIT
tcp 0 0 127.0.0.1:3306 127.0.0.1:58043 ESTABLISHED
tcp 0 0 127.0.0.1:3306 127.0.0.1:58050 ESTABLISHED
tcp 0 0 127.0.0.1:3306 127.0.0.1:58051 ESTABLISHED
tcp 0 0 127.0.0.1:58043 127.0.0.1:3306 ESTABLISHED
tcp 0 0 10.8.0.1:8080 10.8.0.6:35415 FIN_WAIT2
tcp 0 232 10.8.0.1:10022 10.8.0.6:52870 ESTABLISHED
tcp 0 0 127.0.0.1:58050 127.0.0.1:3306 ESTABLISHED
tcp 0 0 127.0.0.1:3306 127.0.0.1:58045 ESTABLISHED
tcp 0 0 127.0.0.1:58049 127.0.0.1:3306 ESTABLISHED
tcp 0 0 127.0.0.1:3306 127.0.0.1:58049 ESTABLISHED
tcp 0 0 10.8.0.1:56114 10.8.0.6:19090 ESTABLISHED
tcp 0 0 127.0.0.1:58045 127.0.0.1:3306 ESTABLISHED
tcp 0 0 127.0.0.1:58051 127.0.0.1:3306 ESTABLISHED
tcp 0 0 10.8.0.1:8080 10.8.0.6:35414 TIME_WAITI then moved all files in /etc/apache2/vhosts.d to another directory (so there are no "Listen" directives at all for Apache). This seems to have no effect on the problem
Finally, I re-emerged (--oneshot) Apache, no luck either.
Can anyone imagine what might be going wrong? I'd also be grateful for any debugging tips you could give me ("apache --help" just outputs the error message, is there anything like "apache --debug" or "apache --verbose" ?)


