Wednesday, 19 August 2009

Error : While staring httpd - make_sock error

I was getting the below error while staring the apache server :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.

# kill -9 14829
# killall -9 httpd
# /etc/init.d/httpd restart

No comments:

Post a Comment