Unable to start apache getting address already used error
If you are getting address already used error like below
——————————————————————————
# /etc/init.d/httpd startssl
(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
——————————————————————————-
you need to check with service is using the port 80
You can check that by following command
——————————————————————————–
netstat -lnp | grep ‘0.0.0.0:80′
——————————————————————————–
It will give the service which is using the port 80
====================================
# netstat -lnp | grep ‘0.0.0.0:80′
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 17497/brk
====================================
Kill that service and then start apache
=====================================
# ps 17497
PID TTY STAT TIME COMMAND
17497 ? T 0:00 ./brk
# kill -9 17497
# /etc/init.d/httpd startssl
# /etc/init.d/httpd restart
======================================
Hope that will solve the issue. ![]()










