BackupPC-users

[BackupPC-users] weird smörgåsbord of errors

2011-12-09 02:53:39
Subject: [BackupPC-users] weird smörgåsbord of errors
From: Michel <forerunnert AT gmail DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Fri, 9 Dec 2011 08:51:32 +0100
I am running a server with Debian Squeeze installed. It runs basic
stuff like Samba, Transmission, Apache2, nfsv4.

I use the nfs server to mount /raid/home/user on the server to
/home/user on my desktop. I use Backuppc to make a backup every night.
This has run for ages successfully until I tried to restore a backup
of /raid/home/user with Backuppc. After this I got the weirdest errors
from services like Apache2, backuppc, Munin, etc. about permissions
denied, libraries missing etc.
After some hours of hunting what was wrong I assumed that maybe my
filesystem was corrupted and decided to re-install the whole thing.

So I did that, got my little usb stick, reformatted the whole OS
partition, followed the Debian installer, mounted my /raid and
configured all my services etc.
It was great, just like I wanted it to be.

Then, still having the warm fuzzy content feeling of a perfectly
running system, I decided to do the same restore of a backup to
/raid/home/user with Backuppc (you can see it coming huh?) and guess
what: CRASH!

This was very disappointing as you can imagine...

So this is a selection of what I am seeing in some logs, most apps
don't even run any more:
/var/log/apache2/error.log:
    libgcc_s.so.1 must be installed for pthread_cancel to work
/var/log/squid/cache.log:
   2011/12/08 20:28:36| storeDirClean: /var/spool/squid/08/8C: (13)
Permission denied
/var/log/messages:
   Dec 8 20:15:43 shuttle kernel: [74184.367948] nfsd: last server has
exited, flushing export cache
   Dec 8 20:15:45 shuttle kernel: [74185.544398] svc: failed to
register lockdv1 RPC service (errno 97).
   Dec 8 20:15:45 shuttle kernel: [74185.547937] NFSD: Using
/var/lib/nfs/v4recovery as the NFSv4 state recovery directory
   Dec 8 20:15:45 shuttle kernel: [74185.559908] NFSD: starting
90-second grace period
   Dec 8 20:16:46 shuttle kernel: [74247.454903] nfsd: last server has
exited, flushing export cache
   Dec 8 20:16:48 shuttle kernel: [74248.536972] svc: failed to
register lockdv1 RPC service (errno 97).
   Dec 8 20:16:48 shuttle kernel: [74248.540423] NFSD: Using
/var/lib/nfs/v4recovery as the NFSv4 state recovery directory
   Dec 8 20:16:48 shuttle kernel: [74248.540471] NFSD: starting
90-second grace period

service transmission-daemon restart:
    Restarting bittorrent daemon:
transmission-daemonstart-stop-daemon: unable to start
/usr/bin/transmission-daemon (Permission denied)

etc....


service backuppc restart:
   Restarting backuppc...No process in pidfile
'/var/run/backuppc/BackupPC.pid' found running; none killed.
   start-stop-daemon: unable to start /usr/share/backuppc/bin/BackupPC
(Permission denied)

The Backuppc log says:

2011-12-08 20:17:36 User backuppc requested restore to localhost (localhost)
2011-12-08 20:17:37 Started restore on localhost (pid=11576)
2011-12-08 19:28:11 localhost: Can't locate Carp/Heavy.pm in @INC
(@INC contains: /usr/share/backuppc/lib /etc/perl
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at /usr/share/perl/5.10/Carp.pm line 39.
Exec of /bin/df /backup failed
2011-12-08 19:38:18 Got signal TERM... cleaning up
Can't locate Carp/Heavy.pm in @INC (@INC contains:
/usr/share/backuppc/lib /etc/perl /usr/local/lib/perl/5.10.1
/usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at
/usr/share/perl/5.10/Carp.pm line 39.
root@shuttle:/backup/log# Can't locate Carp/Heavy.pm in @INC (@INC
contains: /usr/share/backuppc/lib /etc/perl /usr/local/lib/perl/5.10.1
/usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at
/usr/share/perl/5.10/Carp.pm line 39.


Does anyone have a clue what is going on here, and possibly a way to
fix my system?
Any help very much appreciated,

Michel

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
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/