Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Backup Failed. pkgacct error code 1

Discussion in 'Data Protection' started by OJMadSnake, Jun 29, 2017.

Tags:
  1. OJMadSnake

    OJMadSnake Registered

    Joined:
    Jun 29, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Melbourne
    cPanel Access Level:
    Root Administrator
    Hi Guys,

    Running into an issue with automated backups failing. Strange thing is from root user I am able to manually run pkgacct without issue.

    Report is saying:

    Code:
    Username     Error
    $User     (XID 7f2e3y) “/usr/local/cpanel/bin/pkgacct” reported error code “1” when it ended:
    You can change the list of accounts that the system generates backups for in WHM’s interface Backup User Selection at: https://subdomain.$User.com.au:2087/scripts/backupuserconfig
    Additionally, the backup process encountered the following errors:
    [2017-06-29 02:04:21 +1000] /home/$User/public_html/wp-content/cache/object/aec/df1: Unable to open directory: No such file or directory at bin/pkgacct.pl line 1501.
    [2017-06-29 02:04:21 +1000] /home/$User/public_html/wp-content/cache/object/aec/df1: Unable to open directory: No such file or directory at bin/pkgacct.pl line 1501.
    

    Please find full logs below:



    Code:
    [2017-06-29 02:04:22 +1000] warn [backup] (XID 7f2e3y) “/usr/local/cpanel/bin/pkgacct” reported error code “1” when it ended: at /usr/local/cpanel/Cpanel/Backup/Utility.pm line 223.
    Cpanel::Backup::Utility::__ANON__(Cpanel::Exception::ProcessFailed::Error=HASH(0x210ea40)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 122
    Try::Tiny::try(CODE(0x2100288), Try::Tiny::Catch=REF(0x20578e0), Try::Tiny::Finally=REF(0x2057e98)) called at /usr/local/cpanel/Cpanel/Backup/Utility.pm line 233
    Cpanel::Backup::Utility::cpusystem(Cpanel::Backup::Utility=HASH(0x1ad5d48), "pkgacct", "$User", "/backup/2017-06-29/accounts", "backup") called at /usr/local/cpanel/bin/backup line 1483
    bin::backup::backup_accounts("/backup/2017-06-29/accounts") called at /usr/local/cpanel/bin/backup line 766
    bin::backup::__ANON__() called at /usr/local/cpanel/bin/backup line 773
    bin::backup::__ANON__() called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 101
    eval {...} called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 92
    Try::Tiny::try(CODE(0x206f318), Try::Tiny::Catch=REF(0x20827e0)) called at /usr/local/cpanel/bin/backup line 783
    bin::backup::_process_backups(HASH(0x1e5a0e8)) called at /usr/local/cpanel/bin/backup line 325
    bin::backup::run("bin::backup") called at /usr/local/cpanel/bin/backup line 104
    [2017-06-29 02:04:22 +1000] warn [backup] Failed to back up account “$User”. at /usr/local/cpanel/bin/backup line 1487.
    bin::backup::backup_accounts("/backup/2017-06-29/accounts") called at /usr/local/cpanel/bin/backup line 766
    bin::backup::__ANON__() called at /usr/local/cpanel/bin/backup line 773
    bin::backup::__ANON__() called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 101
    eval {...} called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 92
    Try::Tiny::try(CODE(0x206f318), Try::Tiny::Catch=REF(0x20827e0)) called at /usr/local/cpanel/bin/backup line 783
    bin::backup::_process_backups(HASH(0x1e5a0e8)) called at /usr/local/cpanel/bin/backup line 325
    bin::backup::run("bin::backup") called at /usr/local/cpanel/bin/backup line 104
    [2017-06-29 02:04:22 +1000] info [backup] Queuing transport of file: /backup/2017-06-29/backup_incomplete
    [2017-06-29 02:04:23 +1000] warn [backup] Pruning of backup files skipped due to errors. at /usr/local/cpanel/bin/backup line 398.
    bin::backup::run("bin::backup") called at /usr/local/cpanel/bin/backup line 104
    [2017-06-29 02:04:23 +1000] info [backup] Queuing transport reporter
    [2017-06-29 02:04:23 +1000] info [backup] Completed at Thu Jun 29 02:04:23 2017
    [2017-06-29 02:04:23 +1000] info [backup] Final state is Backup::PartialFailure (0)
    
    
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,532
    Likes Received:
    1,966
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look at the system and the accounts to see why backups are failing?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice