Error Message 48 Address already in use

started at 16 Mar 2010 by Matthew
  • Matthew
    16 Mar 2010

    When starting Apache I see this error message:

    (48)Address already in use: make_sock: could not bind to address [::]:80
    (48)Address already in use: make_sock: could not bind to address 0.0.0.0:80
    no listening sockets available, shutting down
    Unable to open logs

    I have attempted to solve this problem with Google only I am finding that others are as stumped as I am. Based on entries in other forums I understand that this error is due to a conflict, most likely caused by having two installations of Apache running simultaneously. I am quite sure that I have disabled 'web sharing' and followed the instructions on this site to the letter (with no errors or problems of any kind).

    Can anybody suggest a solution or give me some insight as to where the problem lies?

    Thanks in advance for any help you can offer.

  • Richard
    17 Mar 2010

    Yes, the error is caused by another instance of Apache already running.

    You could check with "ps -ax | grep httpd" how many are running.

    You could check directly after a reboot if something is starting automatically and also check your launchdeamons scripts for anomalies.

Reply

You must log in to post.