BackupPC-users

Re: [BackupPC-users] Error in Digest.c after upgrade Fedora 13 to Fedora 14

2010-11-17 14:43:19
Subject: Re: [BackupPC-users] Error in Digest.c after upgrade Fedora 13 to Fedora 14
From: Peter <peter.bloomfield AT camhpet DOT ca>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 17 Nov 2010 14:41:02 -0500
On Tuesday, November 16, 2010, Peter wrote:
> Hello,
> 
> I upgraded my BackupPC from Fedora 13 to Fedora 14 yesterday, and now I
> have a problem with backing up machines.
> 
> I get the following error messages when trying to backup a machine.
> 
> 2010-11-16 10:00:12 apollo: Assertion ((svtype)((_svi)->sv_flags & 0xff))
> >= SVt_PV failed: file "Digest.c", line 68 at
> /usr/local/BackupPC/lib/BackupPC/Xfer/RsyncFileIO.pm line 75.
> 2010-11-16 10:38:17 User peter requested backup of uvax (uvax)
> 2010-11-16 10:38:18 uvax: Assertion ((svtype)((_svi)->sv_flags & 0xff)) >=
> SVt_PV failed: file "Digest.c", line 68 at
> /usr/local/BackupPC/lib/BackupPC/Xfer/RsyncFileIO.pm line 75.
> 2010-11-16 10:41:42 User peter requested backup of uvax (uvax)
> 2010-11-16 10:41:42 uvax: Assertion ((svtype)((_svi)->sv_flags & 0xff)) >=
> SVt_PV failed: file "Digest.c", line 68 at
> /usr/local/BackupPC/lib/BackupPC/Xfer/RsyncFileIO.pm line 75.
> 
> I have tried re-compiling File-RsyncP-0.70 but the same error occurs.
> 
> I have looked at the two lines where the error is flagged but am not too
> sure what to try to fix it.
> 
> line 75 in RsyncFileIO.pm includes a reference to
>       File::RsyncP::Digest->new()
> which then results in Digest.c crashing at line 68,
>       Perl_croak(aTHX_ "Usage: %s::%s(%s)", hvname, gvname, params);
> 
> Are there any suggestions as to how to I can fix this?
> 
> Thanks in advance
> 
> Peter
Hi there,

I managed to track down the problem. It was due to the fact that BackupPC was 
still using v0.68 of File-RsyncP rather than v 
0.70, and even after compiling v0.70 it was still using v0.68. To resolve this 
I deleted all versions of File-RsyncP from my 
local machine, and then re-compiled and re-installed v0.70. I then issued the 
command
        perl -e 'use File::RsyncP'
Can't locate File/RsyncP.pm in @INC (@INC contains: /usr/local/lib/perl5 
/usr/local/share/perl5 /usr/lib/perl5 /usr/share/perl5 
/usr/lib/perl5 /usr/share/perl5 
/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi 
/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi 
/usr/local/lib/perl5/site_perl/5.10.0 
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

which did not make sense as I had just installed it without error. I then 
tracked the problem down to the permissions/ownership 
of the directories and it showed that the owner was root and the permissions 
were drwxr-x---, so I change the directory, and 
sub-directories, permissions to drwxr-xr-x, and then
        perl -e 'use File::RsyncP'
returned without an error.

The directories (on my installation) with the permission issues were
        /usr/local/lib/perl5/File
        /usr/local/lib/perl5/auto/File
and the subdirectories below these. 

Looking at the paths in @INC it would appear that when I thought I was using 
v0.70, I was in fact using v0.68 which was still 
installed in the directory 
/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi, and was causing 
the backups to fail 
with the error above. It was doing as expected; I should have gone looking 
harder yesterday before posting the first email.

Apologies for the long-winded reply, but it may prove helpful to others out 
there.


Peter

-- 
Peter M. Bloomfield
Physicist,
PET Centre,
Centre for Addiction and Mental Health,
250 College St.,
Toronto, Ontario,
Canada M5T 1R8
Tel: 416 535 8501 Ext. 4243

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>