If we get following error of while try to restart httpd:httpd not running, trying to start
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
Simply log in as root and fire the command which is given below:
netstat -lpn | grep '0.0.0.0:80'
It will show the result something like:
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 14829/httpd
Then kill the PID and kill all the processes of the service and try to restart it.
root@server [~]# kill -9 14829
root@server [~]# killall -9 httpd
root@server [~]# /etc/init.d/httpd restart
Enjoy:)
make_sock: httpd error
Posted by Mayur's BLOG
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment