BackupPC-users

Re: [BackupPC-users] Incremental dumps hanging with 'Can't get rsync digests' & 'Can't call method "isCached"'

2008-10-27 10:23:21
Subject: Re: [BackupPC-users] Incremental dumps hanging with 'Can't get rsync digests' & 'Can't call method "isCached"'
From: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
To: BackupPC Users List <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 27 Oct 2008 10:21:06 -0400
Craig Barratt wrote at about 00:46:47 -0700 on Monday, October 27, 2008:
 > Jeffrey writes:
 > 
 > > Can't call method "isCached" on an undefined value at
 > >   /usr/share/BackupPC/lib/BackupPC/Xfer/RsyncFileIO.pm line 165.
 > 
 > That isn't good.  This is the case where it is doing a random check
 > of the cached checksums (based on $Conf{RsyncCsumCacheVerifyProb}).
 > I am missing an error check just prior to this line of code.   An
 > error will occur if there is some problem open/reading the cached
 > checksum information.  A possible cause might be some file system
 > corruption.
 > 
 > I'd be curious what the error is.  Just prior to this line
 > you could add this code:
 > 
 >     if ( $err ) {
 >         $fio->log("Can't get rsync digests from $attr->{fullPath}"
 >                 . " (err=$err, name=$f->{name})");
 >         $fio->{stats}{errorCnt}++;
 >         return -1;
 >     }
 > 
OK. I added this and will see what happens...
THANKS!

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>