[rescue] rsync--argh!
Derrick D. Daugherty
rescue at sunhelp.org
Tue Jan 8 13:29:12 CST 2002
It's rumored that around Mon, Jan 07, 2002 at 11:26:12PM -0600
Scott Newell <newell at cei.net> wrote:
> Now this part must be partially working, 'cause when I try and do an rsync
> (lots of verbosity, dry run mode):
> rsync -v -v -n newell at cascode.dynodns.net:/home/newell/ ./
>
> I get the ssh password prompt, then:
> cascode.dynodns.net: Command not found.
> rsync: connection unexpectedly closed (0 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(139)
>
> I'm pretty sure the ssh login is ok, as it's showing up in /var/log/authlog
> on the remote machine. The rsync FAQ mentions that the 'Command not found'
> error messages means the rsync was not found in the path on the remote
> machine, but it's there, and it works from inside ssh! (I've also tried
> the --rsync-path option, but it didn't make any diff.)
dunno if you fixed this yet or not..but a shot in the dark... if it's in
/usr/local/[s]bin try linking it to /usr/bin/ sshd has the path to scp
hard-coded to /usr/bin/ and scp would fail on me until i symlinked it.
maybe it's doing something similar.
if not...truss/ktrace/strace the daemon process on the remote side to
see what's up.
HTH,
^D
More information about the rescue
mailing list