Welcome to the Linux Foundation Forum!

rsync error

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

Comments

  • Posts: 2,177
    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.
  • Posts: 134
    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

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training