[Asterisk-Users] BackupPc_nightly crashing with Perl chdir errors

Michael McKinsey mmc at flashbytedp.com
Tue Jan 25 08:19:38 MST 2005


Hi all.  I have been reading the list archives and can't seem to find
anything that relates to these errors.

BackupPC_nightly fails to delete any files, and reports the pool and cpool
at zero size.  The nightly run as currently configured should be deleting
a ton of files (only one hardlink) but it deletes nothing, and so the
drive is now 100% and staying there.  I have adjusted the conf files on
the backupjobs so a majority of the pool would be deleted in a proper
nightly run, but as listed below nothing is removed.

Reports in the log are as follows:

2005-01-25 01:30:00 Running 4 BackupPC_nightly jobs from 0..15 (out of 0..15)
2005-01-25 01:30:01 Running BackupPC_nightly -m 0 63 (pid=369)
2005-01-25 01:30:01 Running BackupPC_nightly 64 127 (pid=370)
2005-01-25 01:30:01 Running BackupPC_nightly 128 191 (pid=371)
2005-01-25 01:30:01 Running BackupPC_nightly 192 255 (pid=372)
2005-01-25 01:30:01 Next wakeup is 2005-01-25 02:00:00
2005-01-25 01:30:01  admin : Use of uninitialized value in chdir at
/usr/lib/perl5/5.8.4/File/Find.pm line 741.
2005-01-25 01:30:01  admin : Use of chdir('') or chdir(undef) as chdir()
is deprecated at /usr/lib/perl5/5.8.4/File/Find.pm line 741.
2005-01-25 01:30:01  admin : Use of uninitialized value in concatenation
(.) or string at /usr/lib/perl5/5.8.4/File/Find.pm line 742.
2005-01-25 01:30:01  admin : Can't cd to : Permission denied
2005-01-25 01:30:01 Finished  admin  (BackupPC_nightly -m 0 63)
2005-01-25 01:30:19  admin2 : Use of uninitialized value in chdir at
/usr/lib/perl5/5.8.4/File/Find.pm line 741.
2005-01-25 01:30:19  admin2 : Use of chdir('') or chdir(undef) as chdir()
is deprecated at /usr/lib/perl5/5.8.4/File/Find.pm line 741.
2005-01-25 01:30:19  admin2 : Use of uninitialized value in concatenation
(.) or string at /usr/lib/perl5/5.8.4/File/Find.pm line 742.
2005-01-25 01:30:19  admin2 : Can't cd to : Permission denied
2005-01-25 01:30:19 Finished  admin2  (BackupPC_nightly 128 191)
2005-01-25 01:30:30  admin1 : Use of uninitialized value in chdir at
/usr/lib/perl5/5.8.4/File/Find.pm line 741.
2005-01-25 01:30:30  admin1 : Use of chdir('') or chdir(undef) as chdir()
is deprecated at /usr/lib/perl5/5.8.4/File/Find.pm line 741.
2005-01-25 01:30:30  admin1 : Use of uninitialized value in concatenation
(.) or string at /usr/lib/perl5/5.8.4/File/Find.pm line 742.
2005-01-25 01:30:30  admin1 : Can't cd to : Permission denied
2005-01-25 01:30:30 Finished  admin1  (BackupPC_nightly 64 127)
2005-01-25 01:30:32  admin3 : Use of uninitialized value in chdir at
/usr/lib/perl5/5.8.4/File/Find.pm line 741.
2005-01-25 01:30:32  admin3 : Use of chdir('') or chdir(undef) as chdir()
is deprecated at /usr/lib/perl5/5.8.4/File/Find.pm line 741.
2005-01-25 01:30:32  admin3 : Use of uninitialized value in concatenation
(.) or string at /usr/lib/perl5/5.8.4/File/Find.pm line 742.
2005-01-25 01:30:32  admin3 : Can't cd to : Permission denied
2005-01-25 01:30:32 Finished  admin3  (BackupPC_nightly 192 255)
2005-01-25 01:30:32 Pool nightly clean removed 0 files of size 0.00GB
2005-01-25 01:30:32 Pool is 0.00GB, 0 files (0 repeated, 0 max chain, 0
max links), 1 directories
2005-01-25 01:30:32 Cpool nightly clean removed 0 files of size 0.00GB
2005-01-25 01:30:32 Cpool is 0.00GB, 0 files (0 repeated, 0 max chain, 0
max links), 0 directories

When I run a BackupPC_nightly when su'd as the backuppc user similar
results as follows:

backuppc root $ /usr/local/backuppc/bin/BackupPC_nightly 0 255

Use of uninitialized value in chdir at /usr/lib/perl5/5.8.5/File/Find.pm
line 741.
Use of chdir('') or chdir(undef) as chdir() is deprecated at
/usr/lib/perl5/5.8.5/File/Find.pm line 741.
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/5.8.5/File/Find.pm line 742.
Can't cd to : No such file or directory

I have been using backuppc for months with reliable service, and we love
the package.  One of my Jr. Admins got a little trigger happy with gentoo
portage and upgraded everything on a backuppc server that had been working
pretty well.  We also had an unrelated issue that caused the backup size
to dramatically increase and fill the drives, so I am not sure which is to
blame here.

I have partimaged images of the partition that holds the pool data, and a
few versions of the rsyncd root of the partition with the linux install on
it, but I would rather figure out how to solve this problem than roll back
time on the server and lose the backup data we have on the drives now.

I cannot seem to find anything in the docs or the lists to point to any
solution, any input would be greatly appreciated.

-- 
Thanks,

Michael McKinsey
FlashByte Digital Publishing
http://www.flashbyte.us





More information about the asterisk-users mailing list