Sunday, November 8, 2009

Apache-error: (98)Address already in use: make_sock: could not bind to address 80

***********************************

# /etc/init.d/httpd restart

Stopping httpd: [ OK ]

Starting httpd: (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

***********************************

Solution:

Comment out listen 80 in your /etc/httpd/conf/httpd.conf or /ect/apache2/ports.conf, it depends on your linux distro. try to use "locate" command.

example:

#Listen 80

IfModule mod_ssl.c
Listen 443
IfModule

No comments: