SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
raise ConnectionReadError
Author Message
Post raise ConnectionReadError 
I'm running debian sarge and am trying to get a first backup done but even
that fails after some time.
The command I'm running is

rdiff-backup --exclude-filelist ~rdiff/exclude_list --print-statistics
--remote-schema 'ssh -i ~rdiff/.ssh/id_rsa \%s sudo rdiff-backup --server'
rdiff < at > 123.456.789.123::/ ~rdiff/data/

Does the following tell anybody something concrete?

--manfred

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 281,
in Backup
backup.Mirror(rpin, rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 38,
in Mirror
DestS.patch(dest_rpath, source_diffiter)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line
215, 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
473, in fast_process
if self.patch_to_temp(rp, diff_rorp, tf):
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line
487, in patch_to_temp
Hardlink.link_rp(diff_rorp, new, self.basis_root_rp)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Hardlink.py", line
116, in link_rp
dest_rpath.hardlink(dest_link_rpath.path)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 797,
in hardlink
self.conn.os.link(linkpath, self.path)
OSError: [Errno 2] No such file or directory
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/var/shares/backup_mislikinfo/data/rdiff-backup-data/file_statistics.2004-11-03T14:43:32+01:00.data.gz',
mode 'wb' at 0x40606120 0x406081cc>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/var/shares/backup_mislikinfo/data/rdiff-backup-data/error_log.2004-11-03T14:43:32+01:00.data.gz',
mode 'wb' at 0x403904e0 0x406082ec>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/var/shares/backup_mislikinfo/data/rdiff-backup-data/mirror_metadata.2004-11-03T14:43:32+01:00.snapshot.gz',
mode 'wb' at 0x40606160 0x40608f0c>> ignored
main:/var/shares/backup_mislikinfo# 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 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)


--
http://glassdoc.org
http://glassdoc.de

Post raise ConnectionReadError 
I just did a backup on that machine like
# rdiff-backup --exclude-filelist some-file / /backup/data
and it worked without problems.
So what's making troubles?

--manfred

Am Wed, 03 Nov 2004 19:27:49 +0100 hat tic < at > tictric.net <tic < at > tictric.net>
geschrieben:

I'm running debian sarge and am trying to get a first backup done but
even that fails after some time.
The command I'm running is

rdiff-backup --exclude-filelist ~rdiff/exclude_list --print-statistics
--remote-schema 'ssh -i ~rdiff/.ssh/id_rsa \%s sudo rdiff-backup
--server' rdiff < at > 123.456.789.123::/ ~rdiff/data/

Does the following tell anybody something concrete?

--manfred

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
281, in Backup
backup.Mirror(rpin, rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line
38, in Mirror
DestS.patch(dest_rpath, source_diffiter)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line
215, 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
473, in fast_process
if self.patch_to_temp(rp, diff_rorp, tf):
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line
487, in patch_to_temp
Hardlink.link_rp(diff_rorp, new, self.basis_root_rp)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Hardlink.py",
line 116, in link_rp
dest_rpath.hardlink(dest_link_rpath.path)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line
797, in hardlink
self.conn.os.link(linkpath, self.path)
OSError: [Errno 2] No such file or directory
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/var/shares/backup_mislikinfo/data/rdiff-backup-data/file_statistics.2004-11-03T14:43:32+01:00.data.gz',
mode 'wb' at 0x40606120 0x406081cc>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/var/shares/backup_mislikinfo/data/rdiff-backup-data/error_log.2004-11-03T14:43:32+01:00.data.gz',
mode 'wb' at 0x403904e0 0x406082ec>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/var/shares/backup_mislikinfo/data/rdiff-backup-data/mirror_metadata.2004-11-03T14:43:32+01:00.snapshot.gz',
mode 'wb' at 0x40606160 0x40608f0c>> ignored
main:/var/shares/backup_mislikinfo# 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
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)





--
http://glassdoc.org
http://glassdoc.de

Post raise ConnectionReadError 
"tic < at > tictric.net" <tic < at > tictric.net>
wrote the following on Wed, 03 Nov 2004 20:26:01 +0100

I just did a backup on that machine like
# rdiff-backup --exclude-filelist some-file / /backup/data
and it worked without problems.
So what's making troubles?

Looks like rdiff-backup is not starting on the remote side. Probably
some problem with your remote schema. For instance you didn't need to
escape the % inside '' with a \.


--
Ben Escoto

Post raise ConnectionReadError 
Am Thu, 4 Nov 2004 09:18:51 -0800 hat Ben Escoto <ben < at > emerose.org>
geschrieben:

"tic < at > tictric.net" <tic < at > tictric.net>
wrote the following on Wed, 03 Nov 2004 20:26:01 +0100

I just did a backup on that machine like
# rdiff-backup --exclude-filelist some-file / /backup/data
and it worked without problems.
So what's making troubles?

Looks like rdiff-backup is not starting on the remote side. Probably
some problem with your remote schema. For instance you didn't need to
escape the % inside '' with a \.

Oh, it does start on the remote side and works for quite some time as I
watched processes with top and logs with tail -f
But then it terminates with the error from my first post.

The same remote schema worked fine on another server just until recently
when I replaced that server with the current one though it was another
version as the old machine ran on woody and now I'm using the standard
installation from sarge. But that's no big difference it seems.

Old server: ii rdiff-backup 0.13.4-0.backp Backup program to use deltas
for history
New server: ii rdiff-backup 0.13.4-3 Backup program to use deltas
for history

--manfred



--
http://glassdoc.org
http://glassdoc.de

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