[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] --restrict-read-only gives error message (0.12.4)
From: |
Maik Schreiber |
Subject: |
[rdiff-backup-users] --restrict-read-only gives error message (0.12.4) |
Date: |
Sun, 21 Sep 2003 15:29:09 +0200 |
User-agent: |
Mutt/1.4.1i |
Hi,
I'm running rdiff-backup (0.12.4 on both sides) to backup a remote server. The
destination rdiff-backup (running as non-root) connects to the source box
under a non-root user. The server box is then starting rdiff-backup as root
via sudo.
Unfortunately, I'm getting the following tracebacks when testing the
connection (--test-server) when running the source rdiff-backup with "-v0
--restrict-read-only / --server". When I'm not using "--restrict-read-only /"
the test would run fine.
Testing server started by: ssh address@hidden /BACKUP/DIR
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 246,
in Main
take_action(rps)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 222,
in take_action
elif action == "test-server": SetConnections.TestConnections()
File "/usr/lib/python2.2/site-packages/rdiff_backup/SetConnections.py",
line 222, in TestConnections
for i in range(1, len(Globals.connections)): test_connection(i)
File "/usr/lib/python2.2/site-packages/rdiff_backup/SetConnections.py",
line 233, in test_connection
sys.stderr.write("Server tests failed\n")
NameError: global name 'sys' is not defined
[Looks like there's another bug here, eh? ;)]
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 246,
in Main
take_action(rps)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 217,
in take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 331, in Server
self.get_response(-1)
File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 293, in get_response
try: req_num, object = self._get()
File "/usr/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)
--
Maik Schreiber * http://www.blizzy.de
GPG public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1F11D713
Key fingerprint: CF19 AFCE 6E3D 5443 9599 18B5 5640 1F11 D713
pgpJG697AB7zF.pgp
Description: PGP signature
- [rdiff-backup-users] --restrict-read-only gives error message (0.12.4),
Maik Schreiber <=