LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rsync error (https://www.linuxquestions.org/questions/linux-newbie-8/rsync-error-741648/)

sohail0399 07-21-2009 05:42 AM

rsync error
 
hi
i am working on centOS

when i enter the command
/usr/bin/rsync -zaHlv -e /usr/bin/ssh /folder_name/ user@host:/export/home/user/folder_name/

I receive an error
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(463) [sender=2.6.8]

what is the reason and how can i solve it.

colucix 07-21-2009 05:47 AM

It simply states that the receiver has not rsync installed! Or the rsync executable is not in the PATH. In the latter case, you can pass the option --rsync-path=PROGRAM to specify the rsync to run on the remote machine.


All times are GMT -5. The time now is 09:13 PM.