httpd is not working: Unable to open logs

root@server# /etc/init.d/httpd restart
Warning: DocumentRoot does not exist
httpd not running, trying to start
(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

Solution :–

root@server [~] netstat -lnp | grep ‘0.0.0.0:80’

tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      10240/httpd

root@server[~] kill -9  10240

root@server[~] service httpd restart

thats all.

Both comments and pings are currently closed.

Comments are closed.