Friday, June 4, 2010

bash: rsync: command not found

problem: 
bash: rsync: command not found
          rsync: connection unexpectedly closed.......
          rsync error: remote command not found code (127) at ioc

solution: 
rsync should be installed on both the local and remote computer
To install rsync:
yum install rsync

if rsync installed in both local and remote machines it is complaining about rsync unavailability. What happened here is that it was not able to find rsync in standard path in remote machine. The solution for this problem is:
         --rsync-path=/path/to/rsync
In this type of problem we need to explicitly suggest the rsync path of remote machine through  --rsync-path argument.

    

1 comment:

  1. GSCopy Pro v6.0 (RoboCopy Alternative) with Open File Agent
    GSCopyPro is a single command-line tool (CLI) that can copy, replicate and move files from one folder to another. This folder can be on the same machine/ server or another server elsewhere. What makes GSCopyPro stand out from other competitors is the fact it works on 32-bit as well as 64-bit systems and has no restrictions. It can easily be scheduled to run as a scheduled task and fully automated. GSCopyPro also comes with an open file agent which can copy files that are locked/ opened by other processes. This feature is supported in all windows versions from widows XP/ 2003 and later.
    Go To:>> http://www.gurusquad.com/GSCOPYPRO

    ReplyDelete

There was an error in this gadget