Welcome! » Log In » Create A New Profile

Problems with 0.12.6 and 0.13.4

Posted by Anonymous 
Problems with 0.12.6 and 0.13.4
March 20, 2004 12:36PM
I have been using rdiff-backup to backup a bunch of Linux servers for quite
some time now. I had been running version 0.12.3 on variety of machines
running Slackware 8.1, 9.0, and 9.1. However, it stopped working on my main
fileserver about a week ago. To try and better characterize the problem I
setup two machines with Slackware 9.1, kernel 2.6.4, librdiff 0.9.6, Python
2.3.1, and rdiff-backup 0.12.6 and 0.13.4. The on-disk filesystems are
reiserfs. Depressingly enough neither 0.12.6 or 0.13.4 worked between these
two computers. Below are the tracebacks, any suggestions would be greatly
appreciated.

Thanks,
Dan

----------------------------------------------------------------------------
--------------------------------

0.12.6

# rdiff-backup --force --print-statistics --exclude-other-filesystems
XXX.XXX.XXX.XXX:/ /home/wrkspace/
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 250, in
Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 222, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 259, in
Backup
backup_set_select(rpin)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 272, in
backup_set_select
rpin.conn.backup.SourceStruct.set_source_select(rpin, select_opts,
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 66,
in set_source_select
sel.ParseArgs(tuplelist, filelists)
File "/usr/lib/python2.3/site-packages/rdiff_backup/selection.py", line
246, in ParseArgs
self.add_selection_func(self.other_filesystems_get_sf(0))
File "/usr/lib/python2.3/site-packages/rdiff_backup/selection.py", line
433, in other_filesystems_get_sf
root_devloc = self.rpath.getdevloc()
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 434,
in getdevloc
return self.data['devloc']
KeyError: 'devloc'

----------------------------------------------------------------------------
-------------------------------

0.12.6

# rdiff-backup --force --print-statistics XXX.XXX.XXX.XXX::/ /home/wrkspace/
root < at > XXX.XXX.XXX.XXX's password:
UpdateError boot/2.6.4 [Errno 5] Input/output error:
'/home/wrkspace/boot/rdiff-backup.tmp.0'
SpecialFileError boot/System.map [Errno 5] Input/output error
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 250, in
Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 222, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 267, in
Backup
backup.Mirror(rpin, rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 36,
in Mirror
DestS.patch(dest_rpath, source_diffiter)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 209,
in patch
ITR(diff.index, diff)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line
279, in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 455,
in fast_process
if self.patch_to_temp(rp, diff_rorp, tf):
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 472,
in patch_to_temp
self.write_special(diff_rorp, new)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 506,
in write_special
new.touch()
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 691,
in touch
self.conn.open(self.path, "w").close()
IOError: [Errno 5] Input/output error:
'/home/wrkspace/boot/rdiff-backup.tmp.1'
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/home/wrkspace/rdiff-backup-data/file_statistics.2004-03-20T12:09:25-08:00.
data.gz', mode 'wb' at 0x405ac8e0 0x405b4b0c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/home/wrkspace/rdiff-backup-data/error_log.2004-03-20T12:09:25-08:00.data.g
z', mode 'wb' at 0x40374de0 0x405b474c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/home/wrkspace/rdiff-backup-data/mirror_metadata.2004-03-20T12:09:25-08:00.
snapshot.gz', mode 'wb' at 0x405acc60 0x405b4c6c>> ignored
Traceback (most recent call last):
root < at > epimetheus:~# File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 250, in
Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 220, in
take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line
347, in Server
self.get_response(-1)
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line
309, in get_response
try: req_num, object = self._get()
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line
225, in _get
raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string
(problem probably originated remotely)

----------------------------------------------------------------------------
---------------------------------

0.13.4

# rdiff-backup --force --print-statistics --exclude-other-filesystems
XXX.XXX.XXX.XXX::/ /home/wrkspace/
root < at > XXX.XXX.XXX.XXX's password:
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
Access control lists Off
Extended attributes Off
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 259, in
Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 229, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 270, in
Backup
backup_set_fs_globals(rpin, rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 388, in
backup_set_fs_globals
dest_fsa = rpout.conn.fs_abilities.get_fsabilities_readwrite(
File "/usr/lib/python2.3/site-packages/rdiff_backup/fs_abilities.py", line
402, in get_fsabilities_readwrite
return FSAbilities(desc_string).init_readwrite(
File "/usr/lib/python2.3/site-packages/rdiff_backup/fs_abilities.py", line
146, in init_readwrite
self.set_fsync_dirs(subdir)
File "/usr/lib/python2.3/site-packages/rdiff_backup/fs_abilities.py", line
222, in set_fsync_dirs
try: testdir.fsync()
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 1029,
in fsync
if not fp: self.conn.rpath.RPath.fsync_local(self)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 1036,
in fsync_local
os.fsync(fd)
AttributeError: 'module' object has no attribute 'fsync'
Traceback (most recent call last):
root < at > epimetheus:~# File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 259, in
Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 227, in
take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line
352, in Server
self.get_response(-1)
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line
314, in get_response
try: req_num, object = self._get()
File "/usr/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)
Sorry, only registered users may post in this forum.

Click here to login