[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Problem with 0.12.2
From: |
Alvin Gunkel |
Subject: |
[rdiff-backup-users] Problem with 0.12.2 |
Date: |
Sun, 27 Jul 2003 16:19:25 -0400 (EDT) |
User-agent: |
SquirrelMail/1.4.1 |
Hello,
I've been using various versions of rdiff-backup for a while now and
periodically they would stop working, usually after I upgraded some suid
binary. My fix until now has been to move the old backup directory aside
and start afresh. However, when I try to do that now I get the following:
-su-2.05b$ /usr/local/bin/rdiff-backup -v 6 --exclude-device-files
--exclude-filelist /usr/home/backup/bin/excludes.dns address@hidden::/
/usr/home/backup/backup/dns
Executing ssh -C address@hidden rdiff-backup --server
Reading filelist /usr/home/backup/bin/excludes.dns
Sorting filelist /usr/home/backup/bin/excludes.dns
Making directory /usr/home/backup/backup/dns
Making directory /usr/home/backup/backup/dns/rdiff-backup-data
Making directory /usr/home/backup/backup/dns/rdiff-backup-data/increments
Processing changed file .
Processing changed file COPYRIGHT
Regular copying ('COPYRIGHT',) to
/usr/home/backup/backup/dns/rdiff-backup.tmp.0
<snip>
...
<snip>
Processing changed file etc/shells
Regular copying ('etc', 'shells') to
/usr/home/backup/backup/dns/etc/rdiff-backup.tmp.172
Processing changed file etc/skel
Making directory /usr/home/backup/backup/dns/etc/skel
Processing changed file etc/skeykeys
Regular copying ('etc', 'skeykeys') to
/usr/home/backup/backup/dns/etc/rdiff-backup.tmp.173
Processing changed file etc/spwd.db
Regular copying ('etc', 'spwd.db') to
/usr/home/backup/backup/dns/etc/rdiff-backup.tmp.174
Processing changed file etc/ssh
Making directory /usr/home/backup/backup/dns/etc/ssh
Processing changed file etc/ssh/moduli
Regular copying ('etc', 'ssh', 'moduli') to
/usr/home/backup/backup/dns/etc/ssh/rdiff-backup.tmp.175
Exception '[Errno 45] Operation not supported' raised of class
'exceptions.IOError':
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/robust.py",
line 32, in check_common_error
try: return function(*args)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/rpath.py",
line 939, in read
def read(self, length = -1): return self.file.read(length)
Exception '[Errno 45] Operation not supported' raised of class
'exceptions.IOError':
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/robust.py",
line 32, in check_common_error
try: return function(*args)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/rpath.py",
line 96, in copy
if rpin.isreg(): copy_reg_file(rpin, rpout, compress)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/rpath.py",
line 118, in copy_reg_file
rpout.write_from_fileobj(rpin.open("rb"), compress = compress)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/rpath.py",
line 826, in write_from_fileobj
copyfileobj(fp, outfp)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/rpath.py",
line 58, in copyfileobj
inbuf = inputfp.read(blocksize)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/rpath.py",
line 939, in read
def read(self, length = -1): return self.file.read(length)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/iterfile.py",
line 1Sending back exception [Errno 45] Operation not supported of type
exceptions.IOError:
File
"/usr/local/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 313, in answer_request
result = apply(eval(request.function_string), argument_list)
File
"/usr/local/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 459, in readfromid
if length is None: return cls.vfiles[id].read()
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/iterfile.py",
line 285, in read
if not self.addtobuffer(): break
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/iterfile.py",
line 315, in addtobuffer
self.addfromfile("f")
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/iterfile.py",
line 214, in addfromfile
[Globals.blocksize])
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/robust.py",
line 32, in check_common_error
try: return function(*args)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/rpath.py",
line 939, in read
def read(self, length = -1): return self.file.read(length)
17, in read
if not self.addtobuffer(): break
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/iterfile.py",
line 132, in addtobuffer
type, data = self.iwf._get()
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/iterfile.py",
line 401, in _get
if not self.buf: self.buf += self.file.read()
File
"/usr/local/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 492, in read
return self.connection.VirtualFile.readfromid(self.id, length)
File
"/usr/local/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 424, in __call__
return apply(self.connection.reval, (self.name,) + args)
File
"/usr/local/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 346, in reval
if isinstance(result, Exception): raise result
Traceback (most recent call last):
File "/usr/local/bin/rdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/Main.py", line
246, in Main
take_action(rps)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/Main.py", line
219, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/Main.py", line
263, in Backup
backup.Mirror(rpin, rpout)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/backup.py",
line 36, in Mirror
DestS.patch(dest_rpath, source_diffiter)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/backup.py",
line 198, in patch
ITR(diff.index, diff)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/rorpiter.py",
line 279, in __call__
last_branch.fast_process(*args)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/backup.py",
line 404, in fast_process
if self.patch_to_temp(rp, diff_rorp, tf):
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/backup.py",
line 425, in patch_to_temp
(diff_rorp, new)) == 0: return 0
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/robust.py",
line 32, in check_common_error
try: return function(*args)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/rpath.py",
line 96, in copy
if rpin.isreg(): copy_reg_file(rpin, rpout, compress)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/rpath.py",
line 118, in copy_reg_file
rpout.write_from_fileobj(rpin.open("rb"), compress = compress)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/rpath.py",
line 826, in write_from_fileobj
copyfileobj(fp, outfp)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/rpath.py",
line 58, in copyfileobj
inbuf = inputfp.read(blocksize)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/rpath.py",
line 939, in read
def read(self, length = -1): return self.file.read(length)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/iterfile.py",
line 117, in read
if not self.addtobuffer(): break
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/iterfile.py",
line 132, in addtobuffer
type, data = self.iwf._get()
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/iterfile.py",
line 401, in _get
if not self.buf: self.buf += self.file.read()
File
"/usr/local/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 492, in read
return self.connection.VirtualFile.readfromid(self.id, length)
File
"/usr/local/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 424, in __call__
return apply(self.connection.reval, (self.name,) + args)
File
"/usr/local/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 346, in reval
if isinstance(result, Exception): raise result
IOError: [Errno 45] Operation not supported
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/usr/home/backup/backup/dns/rdiff-backup-data/error_log.2003-07-27T16:04:42-04:00.data.gz',
mode 'wb' at 0x82d1020 0x82c4fec>> ignored
-su-2.05b$ Traceback (most recent call last):
File "/usr/local/bin/rdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/Main.py", line
246, in Main
take_action(rps)
File "/usr/local/lib/python2.2/site-packages/rdiff_backup/Main.py", line
217, in take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File
"/usr/local/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 331, in Server
self.get_response(-1)
File
"/usr/local/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 293, in get_response
try: req_num, object = self._get()
File
"/usr/local/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 216, in _get
raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string
(problem probably originated remotely)
My excludes.dns files looks like this (though I get the same error if I
leave off the excludes):
/proc
/tmp
/usr/local/bin/sudo
/usr/local/man
/usr/local/sbin/visudo
/usr/ports
/usr/share/man
/usr/X11R6/man
/var/msgs
/var/run
/var/spool
/var/tmp
On the server and several clients I am running rdiff-backup-0.12.2,
FreeBSD 4.7, librsync-0.9.5.1, and python 2.2.1.
Thanks for any insight you can give on this problem.
Alvin
- [rdiff-backup-users] Problem with 0.12.2,
Alvin Gunkel <=