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.

after upgrading centos to cloudlinux cpbackup cron stopped working

Discussion in 'CloudLinux' started by crazyaboutlinux, Nov 14, 2011.

  1. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    after upgrading centos to cloudlinux cpbackup cron have been stopped working, cpbackup is not taking place..

    it was forking fine before cloudlinux

    pls assist me what to do
     
  2. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    Re: after upgrading centos to cloudlinxcpbackup cron have been stopped work

    cpbackup is not taking place since i upgrade centos to CloudLinux
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Re: after upgrading centos to cloudlinxcpbackup cron have been stopped work

    Is crond even running itself?

    Code:
    ps aux | grep crond
    You can try restarting crond if that's the issue:

    Code:
    /etc/init.d/crond restart
    Also, check if the cron is even showing as trying to execute in the cron log:

    Code:
    grep -i cpbackup /var/log/cron
    If crond is running and restarting doesn't fix the issue, can you check if the log entry is even in root's crontab?

    Code:
    grep cpbackup /var/spool/cron/root
    Finally, try forcing a backup using this command to see if that works:

    Code:
    /scripts/cpbackup --force
    There will be a log written to /usr/local/cpanel/logs/cpbackup after you issue that command that you can tail to see if there are any errors output upon trying to force the backup to run.
     
  4. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    Re: after upgrading centos to cloudlinxcpbackup cron have been stopped work

    Hi Tristan,

    Thanks for the early reply


    I think the cron was stopped

    see this
    Code:
    -bash-3.2# ps aux | grep crond
    root       29326  0.0  0.0  74844  1176 ?        Ss   Nov07   0:00 crond
    root      699126  0.0  0.0  61200   748 pts/0    D+   10:59   0:00 grep crond
    on Nov07 we have got clouldlinux upgraded from centos

    after restarting crond service "11:01" replacing "Nov07"

    am i right ???

    Code:
    -bash-3.2# ps aux | grep cron
    root      700795  0.0  0.0  74840  1168 ?        Ss   11:01   0:00 crond
    root      714812  0.0  0.0  61204   792 pts/0    S+   11:17   0:00 grep cron 
     
  5. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    Re: after upgrading centos to cloudlinxcpbackup cron have been stopped work

    why
    Code:
    grep -i cpbackup /var/log/cron 
    is not showing anything ??
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Re: after upgrading centos to cloudlinxcpbackup cron have been stopped work

    It isn't showing anything because the cron wasn't running. Did you restart crond and attempt to do all the other steps?

    Do you understand the commands being posted? When you grep a log file for a keyword, if the keyword doesn't appear, that means that that cron (or whatever keyword search) isn't in the log.
     
  7. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    Re: after upgrading centos to cloudlinxcpbackup cron have been stopped work

    Yes i had restarted cron service & even though cpbackup cron is not working, cpbackup has not been taken place for the day.

    whats going wrong its really wired
     
  8. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Have you considered opening up a ticket? You can do so in WHM > Support Center > Contact cPanel or using the link in my signature.
     
  9. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for the offer, i can't do this, i can tell this to my data center to have look into this issue & fix it, but i haven't them informed yet, i came here with a view to improving my knowledge, anyways i am still searching on google for the solution.
     
  10. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Since tickets are at no cost provided you have root SSH and root WHM access, I'm uncertain why you would be unable to open up a ticket.
     
  11. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    Hi Tristan,

    I have fixed this issue myself, cpbackup cron ran & backup took placed :)


    cpbackup Started at Sun Nov 20 02:00:01 2011

    cpbackup Completed at Sun Nov 20 13:57:47 2011
     
Loading...

Share This Page