Permission denied: make_sock: could not bind to address

Did you just type

service apache2 restart


/etc/init.d/apache2 restart

and get stuff like:

* Starting web server apache2 ulimit: 88: error setting limit (Operation not permitted)
(13)Permission denied: make_sock: could not bind to address
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.

It is unlikely to be a big crisis. Looks like you don’t have permissions. Apache needs to be started by root user. Are you root? Try

sudo service apache2 restart

You’re welcome :p






10 responses to “Permission denied: make_sock: could not bind to address”

  1. Mhd1989 Avatar

    i just realised that i am so dumb !!

    1. vidyut Avatar

      I know the feeling 馃榾

  2. Jesse Miller Avatar
    Jesse Miller

    You sir have style. Awesome.

  3. […] it’s not because I’m not running this as root (as explained here, here and there) : I’ve used the sudo command […]

  4. c11ada Avatar

    I keep getting the same error even when I sudo and logged in as root !! any ideas ??

  5. Mike Litorus Avatar
    Mike Litorus

    You Complete Me

  6. B Avatar

    I am logged in as root over ssh and I still get the same error.

  7. qsdfgh Avatar

    Doesn’t work

  8. Aar贸n Avatar

    It works.
    Thank you!!

  9. Gorchev Avatar

    It is indeed working! Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *