Knowledgebase

Portal Home > Knowledgebase > Articles Database > Neep help in adding "killall - 9 httpd" to my cron. Please advice urgently


Neep help in adding "killall - 9 httpd" to my cron. Please advice urgently




Posted by kohkindachi, 11-16-2009, 05:50 AM
Hey guys I've this php running in cron, to check httpd down status and start it again. The problem is sometimes It wouldn't start unless i use the killall manually.. The log file goes like this [16-11-09 3:00 pm] httpd already running [16-11-09 3:11 pm] httpd already running [16-11-09 3:20 pm] httpd is down [16-11-09 3:20 pm] httpd has been started Can someone edit the script for me and add "killall - 9 httpd" right before it start the httpd? And so the log will look like this: httpd is down Processes have been killed httpd has been started

Posted by ianeeshps, 11-16-2009, 08:28 AM
if it needs to run the killall -9 then why u believe httpd is down?



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
The Hotmail issue (Views: 547)


Language:

Contact us