Monday, May 12, 2014

Address already in use: make_sock: could not bind to address

If you are getting the error below while trying to start/restart the httpd service or httpd service is working follow the steps below to resolve the issue.

==============
httpd not running, trying to start
(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
==============

  • SSH server as root user
  • netstat -tulpn | grep :80
  • killall -9 httpd
  • /etc/init.d/httpd start

No comments:

Post a Comment

Do Write about the Blog and Welcome to the world where open source is every thing :-)