ashish1987

Registered
Sep 14, 2007
2
0
51
Hey
httpd has suddenly crashed on my server and is not restarting.
I have tried restarting through virtuzzo, and through an ssh client as well. I receive this error when i try and restart using an ssh client.
Please help me on this as my host refuses to help as well

Code:
[[email protected] ~]# service httpd start
/etc/init.d/httpd: line 89: /usr/local/apache/bin/httpd: cannot execute binary file
/etc/init.d/httpd start: httpd could not be started
 

mctDarren

Well-Known Member
Jan 6, 2004
662
6
168
New Jersey
cPanel Access Level
Root Administrator
I believe that error is referring to line 89 of the http binary, not the conf file.

Check your error log for apache and run an apache config test to see what's up (if it's an issue with the conf file)

Code:
/usr/local/apache/bin/apachectl configtest
 

ashish1987

Registered
Sep 14, 2007
2
0
51
Running the config test gives me this error
/usr/local/apache/bin/apachectl: line 173: /usr/local/apache/bin/httpd: cannot execute binary file
Also do i need to relpad cpanel ? I havent changed anything :(