PDA

View Full Version : [ubuntu] apache message


mistypotato
February 13th, 2009, 08:23 PM
Anyone have any idea what this is and how to resolve it ?

* Restarting web server apache2 (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[fail]

conjur3r
February 13th, 2009, 09:27 PM
Apache or some other service is already running and listening on port 80. Check out what that is with:

# sudo netstat -anp | grep 80

spiderbatdad
February 14th, 2009, 07:59 AM
Looks like a simple permissions problem. It doesnt say socket already in use, it says permission denied. No listening sockets "avaialable" because you dont have permission. Put sudo in front of your restart command:
sudo /etc/init.d/apache2 start

mistypotato
February 16th, 2009, 12:47 AM
thx.

Restarting the server seemed to help also :lolflag: