Broken Backups? Can't locate Whostmgr/Limits/PackageLimits.pm

daniel_faulknor

Registered
Nov 9, 2010
1
0
51
Hi

Our nightly backup doesnt seem to be working properly...

[cpbackup] Started at Wed Nov 10 01:00:02 2010
[cpbackup] backup point /home/cpbackuptmp/cpbackup/daily is 0.93 days old
[cpbackup] backup point /home/cpbackuptmp/cpbackup/weekly is 6.86 days old
[cpbackup] backup point /home/cpbackuptmp/cpbackup/monthly is 0.89 days old
[cpbackup] The following backups will be updated: daily,weekly
[cpbackup] Running account backup with target : /home/cpbackuptmp/cpbackup/daily
Can't locate Whostmgr/Limits/PackageLimits.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Limits.pm line 14.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Limits.pm line 14.
Compilation failed in require at /scripts/pkgacct line 41.
BEGIN failed--compilation aborted at /scripts/pkgacct line 41.
Net::FTP=GLOB(0x11431f98)<<< 220 FTP Server ready.
Net::FTP=GLOB(0x11431f98)>>> USER dan4eva
Net::FTP=GLOB(0x11431f98)<<< 331 Password required for dan4eva
Net::FTP=GLOB(0x11431f98)>>> PASS ....
Net::FTP=GLOB(0x11431f98)<<< 230 User dan4eva logged in.
Net::FTP=GLOB(0x11431f98)>>> TYPE I
Net::FTP=GLOB(0x11431f98)<<< 200 Type set to I
Net::FTP=GLOB(0x11431f98)>>> MKD cpbackup
Net::FTP=GLOB(0x11431f98)<<< 550 cpbackup: File exists
Net::FTP=GLOB(0x11431f98)>>> MKD cpbackup/daily
Net::FTP=GLOB(0x11431f98)<<< 550 cpbackup/daily: File exists
Net::FTP=GLOB(0x11431f98)>>> CWD cpbackup/daily
Net::FTP=GLOB(0x11431f98)<<< 250 CWD command successful
Cannot open Local file /home/cpbackuptmp/cpbackup/daily/dogsaj.tar.gz: No such file or directory
at /scripts/cpbackup line 783
Net::FTP=GLOB(0x11431f98)>>> QUIT
Net::FTP=GLOB(0x11431f98)<<< 221 Goodbye.
Net::FTP=GLOB(0x11432078)<<< 220 FTP Server ready.
Net::FTP=GLOB(0x11432078)>>> USER dan4eva
Net::FTP=GLOB(0x11432078)<<< 331 Password required for dan4eva
Net::FTP=GLOB(0x11432078)>>> PASS ....
Net::FTP=GLOB(0x11432078)<<< 230 User dan4eva logged in.
Net::FTP=GLOB(0x11432078)>>> TYPE I
Net::FTP=GLOB(0x11432078)<<< 200 Type set to I
Net::FTP=GLOB(0x11432078)>>> MKD cpbackup
Net::FTP=GLOB(0x11432078)<<< 550 cpbackup: File exists
Net::FTP=GLOB(0x11432078)>>> MKD cpbackup/weekly
Net::FTP=GLOB(0x11432078)<<< 550 cpbackup/weekly: File exists
Net::FTP=GLOB(0x11432078)>>> CWD cpbackup/weekly
Net::FTP=GLOB(0x11432078)<<< 250 CWD command successful
Cannot open Local file /home/cpbackuptmp/cpbackup/daily/dogsaj.tar.gz: No such file or directory
at /scripts/cpbackup line 783
Net::FTP=GLOB(0x11432078)>>> QUIT
Net::FTP=GLOB(0x11432078)<<< 221 Goodbye.
Can't locate Whostmgr/Limits/PackageLimits.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Limits.pm line 14.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Limits.pm line 14.
Compilation failed in require at /scripts/pkgacct line 41.
BEGIN failed--compilation aborted at /scripts/pkgacct line 41.
This problem seems to have only come up recently...

I am running WHM 11.26.20.

Any ideas?
 

bangel

Registered
Jun 26, 2009
3
0
51
I am seeing the same thing on a freebsd 7.2 server. My backup failed last night as well. upcp updated a lot of perl modules last night according to my cron job logs, so I'm guessing it's a bad path or something.

I just woke up and I'm looking into this now. I'll let you know if I find anything.
 

bangel

Registered
Jun 26, 2009
3
0
51
Ok I fixed this problem by editing the /usr/local/cpanel/Cpanel/Limits.pm script -

#use Whostmgr::Limits::PackageLimits ();
use Whostmgr::Limits ();

I commented out the above line and typed in the second line. Backup is running successfully now.

-Keith