Cant start apache2 after a reboot

apache-2.4ubuntu-14.04

I cant make apache2 start.
I used nodejs with port 8585 and then i rebooted the server without closing the node instance, from that moment i'm stack with this error:

  • Starting web server apache2 (98)Address already in use: AH00072: make_sock: could not bind to address [::]:8585
    (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:8000
    no listening sockets available, shutting down
    AH00015: Unable to open logs
    Action 'start' failed.
    The Apache error log may have more information.

I used this command to check if these port are used netstat -lnp | grep :8585
but with no result.
How would i get apache to run?
I'm using ubuntu 14.04.

Best Answer

Seems like you have multiple errors. This is telling me that you have permission problems:

AH00015: Unable to open logs

After using the netstat you should check if the user has the permission to start apache (permission on logs, ports...)

netstat -tulpn | grep :<PORT>
Related Topic