Im am running latest cPanel/WHM on my CentOS 4.4 server
When I try to restart httpd from WHM, I get this error:
I looked at the Apache log and I get this line (I hided my real address)
When I run this command:
I see that there is NO service bind to port 80
I can make Apache work perfectly starting it with:
But that way "Apache Status" script of WHM doesn't work, and I think there may be other stuff that doesn't work neither.
I also think that after restarting I'll need to run apachectl manually everytime.
I have several virtual interfaces, one with a second apache (2.0) installation, perhaps it is the problem.
Can anyone help me?
Does anyone know how exactly WHM restarts apache?
Thank you in advance!
When I try to restart httpd from WHM, I get this error:
Code:
Attempting to restart httpd
Waiting for httpd to restart.... . . . . . . . . . . finished.
httpd status
root 3794 0.7 0.9 20708 19400 ? S 20:43 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
httpd has failed, please contact the sysadmin.
Code:
[Tue Dec 26 20:43:58 2006] [crit] (98)Address already in use: make_sock: could not bind to address IP.ADD.RE.SS port 80
Code:
netstat -anp | grep 80
I can make Apache work perfectly starting it with:
Code:
/usr/local/apache/bin/apachectl start
I also think that after restarting I'll need to run apachectl manually everytime.
I have several virtual interfaces, one with a second apache (2.0) installation, perhaps it is the problem.
Can anyone help me?
Does anyone know how exactly WHM restarts apache?
Thank you in advance!