[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Can't even test server mode
From: |
Dr Aldo Medina |
Subject: |
[rdiff-backup-users] Can't even test server mode |
Date: |
26 Jun 2003 23:27:31 -0500 |
I'm trying to backup my server (linuxserver). It runs in Debian Woody
with rdiff-backup-0.6.0-1 package. My backup machine (linuxclient) runs
Debian Sarge with rdiff-backup-0.10.1-3. However, if I try to run
--test-server, I get this message from my sarge machine:
rdiff-backup --test-server linuxserver::/test
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 5099, in ?
Globals.Main.Main()
File "/usr/bin/rdiff-backup", line 4843, in Main
self.take_action(rps)
File "/usr/bin/rdiff-backup", line 4818, in take_action
PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/bin/rdiff-backup", line 1802, in Server
self.get_response(-1)
File "/usr/bin/rdiff-backup", line 1769, in get_response
try: req_num, object = self._get()
File "/usr/bin/rdiff-backup", line 1690, in _get
if format_string == "o": result = cPickle.loads(self._read(length))
ImportError: No module named rdiff_backup.connection
Fatal Error: Truncated header string (problem probably originated
remotely)
Couldn't start up the remote connection by executing
ssh -C linuxserver rdiff-backup --server
Remember that, under the default settings, rdiff-backup must be
installed in the PATH on the remote system. See the man page for more
information.
And if I try the same from the server to backup:
rdiff-backup --test-server linuxclient::/test
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File
"/build/buildd/rdiff-backup-0.10.1/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/Main.py",
line 229, in Main
File
"/build/buildd/rdiff-backup-0.10.1/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/Main.py",
line 204, in take_action
File
"/build/buildd/rdiff-backup-0.10.1/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 350, in Server
File
"/build/buildd/rdiff-backup-0.10.1/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 313, in get_response
File
"/build/buildd/rdiff-backup-0.10.1/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 229, in _get
AttributeError: 'module' object has no attribute 'ConnectionRequest'
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 5099, in ?
Globals.Main.Main()
File "/usr/bin/rdiff-backup", line 4841, in Main
self.remote_schema, self.remote_cmd)
File "/usr/bin/rdiff-backup", line 4540, in InitRPs
return map(cls.cmdpair2rp, cmd_pairs)
File "/usr/bin/rdiff-backup", line 4545, in cmdpair2rp
if cmd: conn = cls.init_connection(cmd)
File "/usr/bin/rdiff-backup", line 4608, in init_connection
cls.check_connection_version(conn)
File "/usr/bin/rdiff-backup", line 4616, in check_connection_version
remote_version = conn.Globals.get('version')
File "/usr/bin/rdiff-backup", line 1878, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/usr/bin/rdiff-backup", line 1815, in reval
result = self.get_response(req_num)
File "/usr/bin/rdiff-backup", line 1769, in get_response
try: req_num, object = self._get()
File "/usr/bin/rdiff-backup", line 1683, in _get
assert len(header_string) == 9, \
AssertionError: Error reading from pipe (problem probably originated
remotely)
Any ideas? TIA.
- [rdiff-backup-users] Can't even test server mode,
Dr Aldo Medina <=