When I try to restart apache, I get the following:

  • Starting web server apache2 (13)Permission denied: make_sock: could not bind to address no listening sockets available, shutting down Unable to open logs
  • 2
    Are you trying to start Apache as root? – EightBitTony May 28 '12 at 7:56
  • Damn, I'm fairly new to linux... Didn't know that the solution is so simple. Thanks! sudo service apache2 restart – FakeHeal May 28 '12 at 7:58

You need to have elevated permissions to bind to ports below 1024 and open the apache logs. Switch to a suitable account to restart apache

sudo service apache2 restart

or similar.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.