[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] rdiff-backup 1.2.5 and Python 2.5.2 CRC Check error
From: |
Brian C |
Subject: |
[rdiff-backup-users] rdiff-backup 1.2.5 and Python 2.5.2 CRC Check error |
Date: |
Tue, 1 Sep 2009 12:32:20 -0700 |
User-agent: |
SquirrelMail/1.4.18 |
Backup server (named 'tempe') cannot backup other server (named '1080amg'
and at 192.168.1.35) because of lengthy Python 2.5 error (pasted below).
Both servers run Debian Lenny. Thanks for any help. I have also seen
python segfault in syslog on this server, and reported that here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526029
Error:
tempe:/backup# /usr/bin/rdiff-backup --exclude /tmp --exclude /mnt
--exclude /proc --exclude /dev --exclude /cdrom --exclude /sys
192.168.1.35::/ /backup/1080amg
address@hidden's password:
Previous backup seems to have failed, regressing destination now.
Exception 'CRC check failed' raised of class '<type 'exceptions.IOError'>':
File "/var/lib/python-support/python2.5/rdiff_backup/robust.py", line
32, in check_common_error
try: return function(*args)
File "/var/lib/python-support/python2.5/rdiff_backup/restore.py", line
468, in get_fp
Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
File "/var/lib/python-support/python2.5/rdiff_backup/Rdiff.py", line 73,
in write_patched_fp
rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 62,
in copyfileobj
inbuf = inputfp.read(blocksize)
File "/var/lib/python-support/python2.5/rdiff_backup/librsync.py", line
77, in read
self._add_to_outbuf_once()
File "/var/lib/python-support/python2.5/rdiff_backup/librsync.py", line
86, in _add_to_outbuf_once
if not self.infile_eof: self._add_to_inbuf()
File "/var/lib/python-support/python2.5/rdiff_backup/librsync.py", line
96, in _add_to_inbuf
new_in = self.infile.read(blocksize)
File "/usr/lib/python2.5/gzip.py", line 227, in read
self._read(readsize)
File "/usr/lib/python2.5/gzip.py", line 292, in _read
self._read_eof()
File "/usr/lib/python2.5/gzip.py", line 311, in _read_eof
raise IOError, "CRC check failed"
Exception 'CRC check failed' raised of class '<type 'exceptions.IOError'>':
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 304,
in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 324,
in Main
take_action(rps)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 280,
in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 337,
in Backup
backup_final_init(rpout)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 497,
in backup_final_init
checkdest_if_necessary(rpout)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 905,
in checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/var/lib/python-support/python2.5/rdiff_backup/regress.py", line
71, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py", line
281, in __call__
last_branch.fast_process(*args)
File "/var/lib/python-support/python2.5/rdiff_backup/regress.py", line
268, in fast_process
if rf.metadata_rorp.isreg(): self.restore_orig_regfile(rf)
File "/var/lib/python-support/python2.5/rdiff_backup/regress.py", line
290, in restore_orig_regfile
tf.write_from_fileobj(rf.get_restore_fp())
File "/var/lib/python-support/python2.5/rdiff_backup/restore.py", line
488, in get_restore_fp
return robust.check_common_error(error_handler, get_fp)
File "/var/lib/python-support/python2.5/rdiff_backup/robust.py", line
32, in check_common_error
try: return function(*args)
File "/var/lib/python-support/python2.5/rdiff_backup/restore.py", line
468, in get_fp
Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
File "/var/lib/python-support/python2.5/rdiff_backup/Rdiff.py", line 73,
in write_patched_fp
rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 62,
in copyfileobj
inbuf = inputfp.read(blocksize)
File "/var/lib/python-support/python2.5/rdiff_backup/librsync.py", line
77, in read
self._add_to_outbuf_once()
File "/var/lib/python-support/python2.5/rdiff_backup/librsync.py", line
86, in _add_to_outbuf_once
if not self.infile_eof: self._add_to_inbuf()
File "/var/lib/python-support/python2.5/rdiff_backup/librsync.py", line
96, in _add_to_inbuf
new_in = self.infile.read(blocksize)
File "/usr/lib/python2.5/gzip.py", line 227, in read
self._read(readsize)
File "/usr/lib/python2.5/gzip.py", line 292, in _read
self._read_eof()
File "/usr/lib/python2.5/gzip.py", line 311, in _read_eof
raise IOError, "CRC check failed"
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 30, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 304,
in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 324,
in Main
take_action(rps)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 280,
in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 337,
in Backup
backup_final_init(rpout)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 497,
in backup_final_init
checkdest_if_necessary(rpout)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 905,
in checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/var/lib/python-support/python2.5/rdiff_backup/regress.py", line
71, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py", line
281, in __call__
last_branch.fast_process(*args)
File "/var/lib/python-support/python2.5/rdiff_backup/regress.py", line
268, in fast_process
if rf.metadata_rorp.isreg(): self.restore_orig_regfile(rf)
File "/var/lib/python-support/python2.5/rdiff_backup/regress.py", line
290, in restore_orig_regfile
tf.write_from_fileobj(rf.get_restore_fp())
File "/var/lib/python-support/python2.5/rdiff_backup/restore.py", line
488, in get_restore_fp
return robust.check_common_error(error_handler, get_fp)
File "/var/lib/python-support/python2.5/rdiff_backup/robust.py", line
32, in check_common_error
try: return function(*args)
File "/var/lib/python-support/python2.5/rdiff_backup/restore.py", line
468, in get_fp
Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
File "/var/lib/python-support/python2.5/rdiff_backup/Rdiff.py", line 73,
in write_patched_fp
rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 62,
in copyfileobj
inbuf = inputfp.read(blocksize)
File "/var/lib/python-support/python2.5/rdiff_backup/librsync.py", line
77, in read
self._add_to_outbuf_once()
File "/var/lib/python-support/python2.5/rdiff_backup/librsync.py", line
86, in _add_to_outbuf_once
if not self.infile_eof: self._add_to_inbuf()
File "/var/lib/python-support/python2.5/rdiff_backup/librsync.py", line
96, in _add_to_inbuf
new_in = self.infile.read(blocksize)
File "/usr/lib/python2.5/gzip.py", line 227, in read
self._read(readsize)
File "/usr/lib/python2.5/gzip.py", line 292, in _read
self._read_eof()
File "/usr/lib/python2.5/gzip.py", line 311, in _read_eof
raise IOError, "CRC check failed"
IOError: CRC check failed
Fatal Error: Lost connection to the remote system
On both servers:
# rdiff-backup -V
rdiff-backup 1.2.5
# python -V
Python 2.5.2
Any ideas?
--
Brian
- [rdiff-backup-users] rdiff-backup 1.2.5 and Python 2.5.2 CRC Check error,
Brian C <=