I assume Carlos has figured this out by now, been helped, or given up,
but just so search engines will help out anyone else with this problem,
I'm answering to the list.
The error messages below, in particular "/bin/bash: rdiff-backup: command not found"
indicate that rdiff-backup is not in root's default path on the machine powerfull.
Change root's path on the server so it can find rdiff-backup when the
client logs in and tries to run it.
Carlos Costa Portela <ccosta < at > smartec.es> writes:
Hello all!
I've installed rdiff-backup in a Debian machine (I've installed
the debian package), but I cannot use it between machines. This is
the output:
gollum:/tmp# rdiff-backup root < at > powerfull::www test
root < at > powerfull's password:
/bin/bash: rdiff-backup: command not found
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)
For your information, I'll say that:
- I can use rsync from gollum to powerfull without problems.
- I use rdiff-backup without problems in the same machine.
- The first line of /usr/bin/rdiff-backup is #!/usr/bin/env
python2.2 (so I am using the last version)
Any idea to solve this?. Thanks in advance,
Carlos.
_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://mail.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
