SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
rdiff-backup malfunction
Author Message
Post rdiff-backup malfunction 
Hi,

I have rdiff-backup deployed on several Gentoo boxes - it has been
working fine.
But lately I've been seeing a lot of similar error on several boxes -
---------------------------------------------------------------------------------------------------------

Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 250, in Main
take_action(rps)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 222, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 264, in Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 47, in Mirror_and_increment
DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 220, in patch_and_increment
ITR(diff.index, diff)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line 279, in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 589, in fast_process
inc = self.inc_with_checking(tf, rp, self.get_incrp(index))
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line 575, in inc_with_checking
try: inc = increment.Increment(new, old, inc_rp)
File "/usr/lib/python2.2/site-packages/rdiff_backup/increment.py", line 43, in Increment
incrp = makediff(new, mirror, incpref)
File "/usr/lib/python2.2/site-packages/rdiff_backup/increment.py", line 88, in makediff
else: Rdiff.write_delta(new, mirror, diff, compress)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Rdiff.py", line 61, in write_delta
delta.write_from_fileobj(deltafile, compress)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line 824, in write_from_fileobj
if fp.close() or outfp.close():
File "/usr/lib/python2.2/gzip.py", line 253, in close
write32(self.fileobj, self.size)
File "/usr/lib/python2.2/gzip.py", line 19, in write32
output.write(struct.pack("<l", value))
OverflowError: long int too large to convert to int
Exception zlib.error: 'Error -2 while flushing' in <bound method GzipFile.__del__ of <gzip open file '/mnt/disk/backup/rdiff-backup-data/increments/home/xxxx/.xsession-errors.2004-01-17T03:00:01+02:00.diff.gz', mode 'wb' at 0x86da490 0x86d874c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/mnt/disk/backup/rdiff-backup-data/error_log.2004-01-20T03:00:01+02:00.data.gz', mode 'wb' at 0x827f2d8 0x827eec4>> ignored

------------------------------------------------------------------------------------------------------------------------------------
Normally first backup finishes ok but as I start another one - it fails
somewhere.
Any ideas whats going on?

Regards,

Andres Toomsalu
frame at pfm dot ee

Post rdiff-backup malfunction 
Andres Toomsalu <andres < at > active.ee>
wrote the following on Tue, 20 Jan 2004 09:18:56 +0200

I have rdiff-backup deployed on several Gentoo boxes - it has been
working fine. But lately I've been seeing a lot of similar error on
several boxes -
...
File "/usr/lib/python2.2/gzip.py", line 19, in write32
output.write(struct.pack("<l", value))
OverflowError: long int too large to convert to int

Python 2.2 has a problem building large gzip files. It is fixed in at
least recent versions of python 2.3.

Normally first backup finishes ok but as I start another one - it
fails somewhere. Any ideas whats going on?

The first session rdiff-backup doesn't gzip anything big; the problem
happens when a large file changes, and the increment is larger than
2GB.


--
Ben Escoto

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB