Crash whilst regressing file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Crash whilst regressing file

Olly Stephens-2
Hi,

I've been running rdiff-backup for a while now to backup a remote server
to a local NFS mounted disk.  It's all been working fine.

But recently a backup failed and any subsequent attempts result in the
crash detailed below.

I've upgraded both servers to the latest version now but at the time of
the failure they were running the default versions that came with debian
(which was something like 0.13 on the remote host, 1.0.3 on the local)

Anyone have any idea what's wrong?

Thanks in advance

Olly


LOG FOLLOWS:
...
Previous backup seems to have failed, regressing destination now.
Regressing to Sat Nov  5 13:18:36 2005
Regressing file bin/dbmmanage
Traceback (most recent call last):
   File "/usr/local/bin/rdiff-backup", line 23, in ?
     rdiff_backup.Main.Main(sys.argv[1:])
   File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 284, in Main
     take_action(rps)
   File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 254, in take_action
     elif action == "backup": Backup(rps[0], rps[1])
   File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 298, in Backup
     backup_final_init(rpout)
   File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 395, in backup_final_init
     checkdest_if_necessary(rpout)
   File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 893, in checkdest_if_necessary
     dest_rp.conn.regress.Regress(dest_rp)
   File
"/usr/local/lib/python2.3/site-packages/rdiff_backup/regress.py", line
70, in Regress
     for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
   File
"/usr/local/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line
285, in __call__
     last_branch.fast_process(*args)
   File
"/usr/local/lib/python2.3/site-packages/rdiff_backup/regress.py", line
232, in fast_process
     if rf.metadata_rorp.isreg(): self.restore_orig_regfile(rf)
   File
"/usr/local/lib/python2.3/site-packages/rdiff_backup/regress.py", line
262, in restore_orig_regfile
     rf.mirror_rp.get_parent_rp().fsync() # require move before inc delete
   File "/usr/local/lib/python2.3/site-packages/rdiff_backup/rpath.py",
line 1068, in fsync
     if not fp: self.conn.rpath.RPath.fsync_local(self)
   File "/usr/local/lib/python2.3/site-packages/rdiff_backup/rpath.py",
line 1075, in fsync_local
     os.fsync(fd)
OSError: [Errno 22] Invalid argument
oars:/backup/linux11472# Traceback (most recent call last):
   File "/usr/bin/rdiff-backup", line 23, in ?
     rdiff_backup.Main.Main(sys.argv[1:])
   File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 284, in Main
     take_action(rps)
   File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py",
line 252, in take_action
     connection.PipeConnection(sys.stdin, sys.stdout).Server()
   File
"/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
line 352, in Server
     self.get_response(-1)
   File
"/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
line 314, in get_response
     try: req_num, object = self._get()
   File
"/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
line 230, in _get
     raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string
(problem probably originated remotely)



_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Crash whilst regressing file

Ben Escoto
>>>>> Olly Stephens <[hidden email]>
>>>>> wrote the following on Mon, 14 Nov 2005 22:02:30 +0000
>
> I've been running rdiff-backup for a while now to backup a remote server
> to a local NFS mounted disk.  It's all been working fine.
>
> But recently a backup failed and any subsequent attempts result in the
> crash detailed below.
...

Some people have reported problems with rdiff-backup over NFS (not
this particular problem though).  Can you try running

   rdiff-backup --check-destination-dir repository-path

on a machine local to the repository (so it's not NFS mounted)?  Also
NFS problems are often inconsistent, if you run it again it may work
the second time.


--
Ben Escoto

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

attachment0 (196 bytes) Download Attachment