Friday, July 31, 2009

(98)Address already in use: make_sock: could not bind to address [::]:8000 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80

If You facing Problem:
(98)Address already in use: make_sock: could not bind to address [::]:8000
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:8000
no listening sockets available, shutting down

Fix as follows :

netstat -tulpn| grep :80
tcp 0 0 0.0.0.0:8028 0.0.0.0:* LISTEN 5476/(squid)
tcp 0 0 :::80 :::* LISTEN 5474/squid

It means 80 port running for Squid service. Solution is Stop squid service.

killall -9 squid

and restart Apache/httpd

/etc/init.d/httpd restart

Cool Enjoy... if issue ping to me. ;)