Apache is running; however, it reports that it is not, and it will not restart.
Posted
by solo
on Server Fault
See other posts from Server Fault
or by solo
Published on 2010-03-24T14:38:06Z
Indexed on
2010/03/24
15:03 UTC
Read the original article
Hit count: 465
Apache is running; however, it reports that it is not, and it will not restart.
# /etc/init.d/httpd status
httpd.worker is stopped
# /usr/sbin/lsof -iTCP:80
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
httpd.wor 1169 root 3u IPv6 2974 TCP *:http (LISTEN)
httpd.wor 1211 daemon 3u IPv6 2974 TCP *:http (LISTEN)
httpd.wor 1213 daemon 3u IPv6 2974 TCP *:http (LISTEN)
httpd.wor 1215 daemon 3u IPv6 2974 TCP *:http (LISTEN)
httpd.wor 1352 daemon 3u IPv6 2974 TCP *:http (LISTEN)
#/etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: [Wed Mar 24 10:33:51 2010] [warn] module proxy_ajp_module is already loaded, skipping
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]
OS: Linux DISTRO: CENTOS 5
Restarting the server didn't help, nor did killing apache and starting it.
Any idea what is causing this inconsistency?
© Server Fault or respective owner