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 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.


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>
| improve this answer | |
  • i did run this command netstat -tulpn | grep :8585 but also with no result. for the permission, i used apache2 without changing any config in this pc for 2 years now. so i think the user have all the permissions. – Ahmed Commando Mar 14 '16 at 18:06
  • drwxr-x--- 2 root adm 4096 Mar 13 06:47 apache2 – Ahmed Commando Mar 14 '16 at 18:08
  • Can Anyone help me? – Ahmed Commando Mar 14 '16 at 18:15
  • You could try apache2ctl configtest to verify your config files. You are running all this as root, correct? – William Monteiro Mar 14 '16 at 18:55
  • 1
    Can you change your apps' ports? By doing so, you could rule out any apache issue (if it works) and focus on the system itself – William Monteiro Mar 14 '16 at 19:46

FINALLY i found it, grep -ri listen /etc/apache2 and i was surprised when i found a very old config file that uses the same port 8585, i just change it then restart my server and everything was ok. I can't get it, i'm using this file with this port for almost a year with no problem why now??!!

| improve this answer | |

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.