Can't reload apache2, no listening sockets available
I've set up everything by the book (tutorials)
Initial Server Setup with Ubuntu 12.04
How To Protect SSH with fail2ban on Ubuntu 12.04
How To Set Up a Firewall Using IP Tables on Ubuntu 12.04
How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu
and at the end of everything, just when I thought it's all over, when I needed to reload apache, I get this error:
* Reloading web server config apache2 /usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted) httpd not running, trying to start (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 Action 'graceful' failed.and when I run
sudo netstat -ltnp | grep ':80'
i get:
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 4266/apache2Where did I go wrong, what should I do ?
Log In to Comment