Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    Jun 2006
    Posts
    146

    Default cPanel cpbackup script hanging up and terminates

    I have a problem with cpbackup

    For reasons I cant find out, it just freezes up and then terminates (I can no longer see cpbackup from top command)

    Anything that can fix this issue? What can cause this behavior?

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    The backup logs are saved under /usr/local/cpanel/logs/cpbackup/ directory. Checkout the logs and you may find a clue.

  3. #3
    Member
    Join Date
    Jun 2006
    Posts
    146

    Default

    I have already done that but nothing in the logs is helpful

    The last entry there is "Accepted data connection" and that's it

    It backed up a few accounts but not all. It just halted for unknown reason

    Quote Originally Posted by madaboutlinux View Post
    The backup logs are saved under /usr/local/cpanel/logs/cpbackup/ directory. Checkout the logs and you may find a clue.

  4. #4
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    Looks like you configured the backups using Ftp. If that's the case, at a time, one domain is backed up and Ftp'ed to the remote server. When it is copied to the remote server, the next domain is backed up. If for some reason, Ftp fails, the backup processes stops immediately. You will have to make sure if Ftp is working fine from your server.

  5. #5
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by sharmaine001 View Post
    I have already done that but nothing in the logs is helpful

    The last entry there is "Accepted data connection" and that's it

    It backed up a few accounts but not all. It just halted for unknown reason
    Please toggle the passive mode option in the backup configuration, and then force cpbackup to run once more; immediately following the command please use "tail -f" to follow and watch the cpbackup log file:
    Code:
    # /scripts/cpbackup --force
    If there is a firewall on either of the two servers, please temporarily disable both firewalls while cpbackup is running to ensure they are not interfering.

  6. #6
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by cPanelDon View Post
    Please toggle the passive mode option in the backup configuration, and then force cpbackup to run once more; immediately following the command please use "tail -f" to follow and watch the cpbackup log file:
    Code:
    # /scripts/cpbackup --force
    If there is a firewall on either of the two servers, please temporarily disable both firewalls while cpbackup is running to ensure they are not interfering.
    To clarify, the passive mode option is found at the following menu path (via WHM) and is labeled as seen below:
    WHM: Main >> Backup >> Configure Backup
    FTP Backup Passive Mode (required if you are behind a firewall or FTP backups fail)

  7. #7
    Member
    Join Date
    Jun 2006
    Posts
    146

    Default

    I am encountering this problem too!!

    Net::FTP>>> Net::FTP(2.77)
    Net::FTP>>> Exporter(5.58)
    Net::FTP>>> Net::Cmd(2.29)
    Net::FTP>>> IO::Socket::INET(1.29)
    Net::FTP>>> IO::Socket(1.29)
    Net::FTP>>> IO::Handle(1.25)
    Net::FTP=GLOB(0x83729c0)<<< 220 FTP Server
    Net::FTP=GLOB(0x83729c0)>>> USER user here
    Net::FTP=GLOB(0x83729c0)<<< 331 Password required for user
    Net::FTP=GLOB(0x83729c0)>>> PASS ....
    Net::FTP=GLOB(0x83729c0)<<< 230 User user logged in
    Net::FTP=GLOB(0x83729c0)>>> QUIT
    Net::FTP=GLOB(0x83729c0)<<< 221 Goodbye.

    I have already have passive mode checked

  8. #8
    Member
    Join Date
    Jun 2006
    Posts
    146

    Default

    I have tried to force the cpbackup and it created the accounts and transferred some but not all. Looks like it is being "terminated" for reason I don't know!

    When i checked the logs it stopped here:

    Net::FTP=GLOB(0x8113758)<<< 150 Opening BINARY mode data connection for user.tar.gz

    I checked the running processes and cpbackup is no longer there. So it appeared this is being terminated in the background

    What can be the cause of this??

  9. #9
    Member
    Join Date
    Jun 2006
    Posts
    146

    Default

    Any help please?

  10. #10
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Arrow Friendly Moderator Note

    Quote Originally Posted by sharmaine001 View Post
    Any help please?
    Please do not cross-post about the same issue in different threads; this thread is distinctly different in that there is a logged time-out involved, and not the theory of the cpbackup process terminating. To prevent and reduce confusion the posts will be moved to your original thread regarding cpbackup and possible process termination.

    Given the reported details I believe this is best handled via a support request as direct access is needed to properly investigate and diagnose the difficulty that is being experienced. It appears you may already have a new ticket open at this time and it is being looked-into. Please continue correspondence within the active ticket.
    Last edited by cPanelDon; 03-12-2010 at 11:47 PM. Reason: Correction of typo

  11. #11
    Member
    Join Date
    Jun 2006
    Posts
    146

    Default

    Okay your admin escalated it to your level2 admin for resolution

Similar Threads & Tags
Similar threads

  1. cpbackup hanging without any info in the logs
    By Ehaanaes in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-06-2011, 09:35 AM
  2. CPbackup script timeout
    By asfik in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-09-2010, 10:00 PM
  3. Post CPBackup Script
    By nerdzoll in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-12-2008, 06:43 AM
  4. cpbackup script
    By jcase in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-16-2005, 11:17 AM
  5. Question about the cpbackup script
    By Stig in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 05-21-2005, 10:24 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube