The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

URGENT: Server Offline after Cron Error !!

Discussion in 'General Discussion' started by Astral God, Mar 8, 2012.

  1. Astral God

    Astral God Well-Known Member

    Joined:
    Sep 27, 2010
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    Hi.

    I've received this error by mail:

    Code:
    Cron <root@alpha> /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache
    And after that, the server is offline:

    cPanel:

    WHM :

    Thanks.
     
  2. Astral God

    Astral God Well-Known Member

    Joined:
    Sep 27, 2010
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    The servers has been restarted and all seems on-line now.
    But if this error came from Crontab, i think this could happen again ... :\
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please try running the following command manually:

    Code:
    # /usr/local/cpanel/scripts/update_db_cache
    This script is primarily used to update the disk space usage for your MySQL databases. Let us know if you experience any additional errors when running it manually.

    Thank you.
     
  4. Astral God

    Astral God Well-Known Member

    Joined:
    Sep 27, 2010
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    I've runned the script without errors.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    In that case, I would not suspect this cron job is related to the downtime you experienced. Based on the error messages you provided, it's possible one of your partitions reached it's disk space limit.

    Thank you.
     
  6. Astral God

    Astral God Well-Known Member

    Joined:
    Sep 27, 2010
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    I was uploading 12.000 files (246M at all) trough FTP when this happened.
    Can this be the reason ?
     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I can't answer your question directly but, you really shouldn't want to upload so many files at one time in this way. And easier and faster way is to upload them all in a compressed archive and unpack on the server via File Manager.
     
  8. Astral God

    Astral God Well-Known Member

    Joined:
    Sep 27, 2010
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    Yes you're right; when i say 'I', it was a user uploading his website (Joomla) whits 12.000 files.
    but the upload was made trough Filezilla (FTPeS) and with a max of 4 files at a time uploading.
     
Loading...

Share This Page