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

capoinfra

Well-Known Member
Oct 25, 2007
119
0
66
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.-
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
Check that you are not out of disk space.

df -h
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.
 

zmacintyre

Registered
Nov 9, 2013
1
0
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.