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.

    

No comments:

Post a Comment