Results 1 to 7 of 7
  1. #1

    Cronjob not working, httpd stopped :(

    Hey guys I've setup a cronjob that restart httpd when a certain cpu limit is met. But the cronjob or maybe the command dun seem to work

    restarting due to load being 942
    Stopping httpd: [FAILED]
    Starting httpd: [FAILED]

    Anyone who can help or resetup the cronjob PM, paying.

  2. #2
    Join Date
    Feb 2004
    Hello what operating system your using? CentOS?

  3. #3
    Yes centos os.

  4. #4
    Join Date
    May 2008
    Can you paste the Apache error_log when it fails ?

    tail -f /usr/local/apache/logs/error_log
    The above log file location of Apache is provided you're using cPanel or Apache has been installed in /usr/local/apache
    Twitter :
    Contact Us : support[at]

  5. #5
    Join Date
    Apr 2009
    Because of such loads apache os totally unrespondable so it is better to kill it and start again, something like:

    killall -9 httpd
    sleep 5
    service httpd start

  6. #6

    Kill all apache instances and start it again.In the mean time,copy paste the apache error log file here to check the issue in detail.
    Last edited by Mike V; 09-27-2009 at 03:16 PM.

  7. #7
    Please login as root from shell prompt and paste o/p of following command

    tail -f /usr/local/apache/logs/error_log
    Last edited by 9techs; 09-27-2009 at 11:19 AM.

Similar Threads

  1. Help: Cronjob not working?
    By krissauquillo in forum Hosting Security and Technology
    Replies: 9
    Last Post: 08-25-2009, 03:07 PM
  2. Domain working, now stopped working?
    By Phatmat in forum Domain Names
    Replies: 3
    Last Post: 07-30-2009, 08:01 PM
  3. SSL Stopped working
    By mouseketrips in forum Hosting Security and Technology
    Replies: 2
    Last Post: 09-01-2006, 11:41 AM
  4. FSO Stopped working
    By dynawebd in forum Hosting Security and Technology
    Replies: 0
    Last Post: 03-05-2006, 10:38 AM
  5. PHP Stopped Working
    By MStar in forum Hosting Security and Technology
    Replies: 20
    Last Post: 07-28-2003, 07:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts