Linux.com

rsync error

Link to this post 11 Nov 10

Hi guys,

I have this situation, 2 servers (local and remote).

I have rsync installed on local server only. I'm trying to copy some files using this article

http://www.linux.com/community/blogs/one-shot-rsync-between-two-hosts-without-installing-services.html

but I got this error

bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: remote command not found (code 127) at io.c(463) [receiver=2.6.8]

Any ideas?

tks

Link to this post 11 Nov 10

it looks like rsync could not find the ssh command on the remote machine, I recommend changing the ssh portion of the command to reference the absolute location such as /usr/bin/ssh.

Link to this post 02 Dec 10

I'm glad you've solved your problems, it was quite a joke to write that blog, when it happens again just drop me a note and I'll help you if possible.
Also take a look to other blogs related to rsync and you'll find even something more.

Ben

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board