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.

server goes down

Discussion in 'General Discussion' started by benjo11111, Mar 8, 2011.

  1. benjo11111

    benjo11111 Member

    Joined:
    Mar 8, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Every day at 2:00 am or nearly time of it...my server goes down...Here with i provide my cronjob logs..please guide me for the same.

    version: WHM 11.28.85 CENTOS 5.5 i686
    cronlog after rebooting the server..........

    Mar 9 01:40:01 m3 crond[14774]: (root) CMD (/usr/lib/sa/sa1 1 1)
    Mar 9 01:40:01 m3 crond[14775]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    Mar 9 01:45:01 m3 crond[15134]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    Mar 9 01:50:01 m3 crond[15383]: (root) CMD (/usr/lib/sa/sa1 1 1)
    Mar 9 01:50:01 m3 crond[15384]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    Mar 9 01:52:01 m3 crond[15658]: (root) CMD (/usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1)
    Mar 9 01:55:01 m3 crond[16128]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    Mar 9 04:08:05 m3 crond[1956]: (CRON) STARTUP (V5.0)
    Mar 9 04:11:00 m3 crond[2639]: (root) CMD (/usr/lib/sa/sa1 1 1)
    Mar 9 04:11:00 m3 crond[2640]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)

    please guide me for the same....

    Regards,
    Benjo
     
  2. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hey Benjo,

    First you need to monitor the server at the time it goes down and need to find what process is causing the issue. According to that only we can decide how to overcome the issue.
     
  3. benjo11111

    benjo11111 Member

    Joined:
    Mar 8, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Hi

    yes today early morning i checked server to find out root cause of it...but at nearly 2:00 am suddenly i lost server access...even i can't ping it....

    Here with, i am attaching screenshot of my console that time....

    my exitsing crontab entries are:
    7,22,37,52 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
    */5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1
    2,58 * * * * /usr/local/bandmin/bandmin
    0 0 * * * /usr/local/bandmin/ipaddrmap
    27 2 * * * /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify
    30 */4 * * * /usr/bin/test -x /scripts/update_db_cache && /scripts/update_db_cache
    45 */8 * * * /usr/bin/test -x /usr/local/cpanel/bin/optimizefs && /usr/local/cpanel/bin/optimizefs
    50 3 * * * /scripts/upcp
    0 1 * * * /scripts/cpbackup
    35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check
    30 */2 * * * /usr/local/cpanel/bin/mysqluserstore >/dev/null 2>&1
    15 */2 * * * /usr/local/cpanel/bin/dbindex >/dev/null 2>&1
    0 6 * * * /scripts/exim_tidydb > /dev/null 2>&1

    Please guide me to resolve this issue.

    Thanks,
    Benjo
     

    Attached Files:

  4. MattLee

    MattLee BANNED

    Joined:
    Aug 26, 2009
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    This issue is one that is best resolved by contacting our support department so that they can access the server directly and look into the underlying issue(s) that are causing the reboots. From your screenshot, it looks like backups were being run by cPanel so they could potentially be attributing to the issue.

    Where should I go for support? - cPanel Inc.
     
  5. benjo11111

    benjo11111 Member

    Joined:
    Mar 8, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Can i make changes in backup script run time....?

    Any suggestion.......?

    Regards,
    Benjo
     
  6. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hey,

    You can edit the crontab using the command crontab -e . PLease edit the time to 4 0r 5 like

    0 5 * * * /scripts/cpbackup
     
  7. benjo11111

    benjo11111 Member

    Joined:
    Mar 8, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    thanks..i will edit it and let u know...

    thanks again......

    regards,
    benjo
     
  8. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hi Benjo,

    You are entirely welcome. Do post the results. :)
     
Loading...

Share This Page