Backup Failed. pkgacct error code 1

OJMadSnake

Registered
Jun 29, 2017
1
0
1
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)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
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.