The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

no listening sockets available, shutting down, Unable to open logs

Discussion in 'General Discussion' started by capoinfra, Oct 1, 2013.

  1. capoinfra

    capoinfra Well-Known Member

    Joined:
    Oct 25, 2007
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Uruguay
    Hello,

    We are unable to get apache working.

    It show this error:

    service httpd start
    no listening sockets available, shutting down
    Unable to open logs

    We check port 80 with netstat, lsof, and there are no processes using that port.
    Firewall is stoped
    Also we recompiled with easy apache, reboot the server but the error persist.
    We ran /scripts/upcp and /scripts/upcp --force but the problem persist.

    Any idea please?

    Thank you.-
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    Check that you are not out of disk space.

    df -h
     
  3. capoinfra

    capoinfra Well-Known Member

    Joined:
    Oct 25, 2007
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Uruguay
    Hello,

    The disk space is not the problem.

    Thank you.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please check the output of the Apache error log:

    Code:
    /usr/local/apache/logs/error_log
    Do you notice any specific output when attempting to start Apache?

    Thank you.
     
  5. zmacintyre

    zmacintyre Registered

    Joined:
    Nov 9, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I would guess (if you haven't already figured this out) that you are including a conf file from the /conf/extras folder that is trying to listen on the same port. Look through your httpd.conf file for any included *.conf files and then check them out to see if they have a Listen directive set on 80. This happened to me when I initially setup the httpd.conf to use 443 and then later enabled the httpd-ssl.conf file which was trying to listen on the same port.
     
Loading...

Share This Page