Portal Home > Knowledgebase > Articles Database > httpd not start ??!!!!!!!!
httpd not start ??!!!!!!!!
Posted by arp220, 07-05-2015, 02:31 AM |
hi everyone .
Last nigh i want open my site but not open then login to server and checked apache ! i see httpd not work !!!
i use service httpd start but i get [FAILED] !! i Watched error log
[Sun Jun 28 03:47:12 2015] [error] [client 222.186.129.5] script '/etc/zpanel/panel/POST_ip_port.php' not found or unable to stat, referer: http :// 123.249.24.233/POST_$
$/POST_ip_port.phpAccept: * / *
222.186.129.5 - - [28/Jun/2015:03:18:32 -0400] "POST http : / / 123.249.24.233/POST_ip_port.php HTTP/1.1" 404 300 "http : //123.249.24.233/POST_ip_port.phpAccept: * / *" "Mozi $
$ "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 6.1; 125LA; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)"
what's this error ???
POST_ip_port.php' not found or unable to stat, referer: http :// 123.249.24.233/POST_$ $/POST_ip_port.phpAccept: * / * ???
thanks.
|
Posted by vanmorrison, 07-05-2015, 04:12 AM |
the above error has nothing to do with the fact that httpd can't start. did you change anything recently? are you checking /usr/local/apache/logs/error_log?
|
Posted by gnusys, 07-05-2015, 04:22 AM |
Hi,
run the command
service httpd configtest
or
httpd -t
that will show you if you have any syntax error in config file .
|
Posted by arp220, 07-05-2015, 04:47 AM |
thanks for answers my friends .
i use apachectl start command then run
service httpd start
and httpd work !!
i don't know what's Relation between apachectl and httpd ?? now, my problem is when reboot server i should start apachectl manualy
and then start httpd ! how to i should start apachectl and httpd with startup???
thanks a lot.
|
Posted by arp220, 07-05-2015, 05:50 AM |
i undrestand .
Check if you have the httpd init script in the /etc/rc.d directory. If yes then you can just run following command which enables the httpd service to start at boot time.
chkconfig --level 345 httpd on
If you don't have init script then just append /etc/rc.local file with apachectl -k start (the command to start apache).
thanks again guys.
|
Posted by net, 07-05-2015, 07:40 AM |
Moved > Hosting Security and Technology.
|
Posted by sabrina84, 07-05-2015, 02:47 PM |
Hi @arp220,
looks like your server got rebooted might be, check uptime pls
Last edited by Postbox; 07-05-2015 at 11:22 PM.
|
Add to Favourites Print this Article
Also Read
NAC down? (Views: 685)
Small Hosts (Views: 651)