I was trying to take backup of some content from a Solaris machine to Linux machine using rsync. But it was giving a strange error
> /usr/bin/rsync -avuz --stats someuser@remote-solaris-machine:/export/CVS-xcert/* /export/HCL-CVS
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: remote command not found (code 127) at io.c(454) [sender=2.6.9]
Even though rsync installed in both local & remote machines, it is complaining about rsync unavailability in Solaris machine (Remote machine)
What happened here is that it was not able to find rsync in standard path in remote machine. The solution for this problem is
/usr/bin/rsync -avuz --stats --rsync-path=/usr/local/bin/rsync someuser@remote-solaris-machine:/export/CVS-xcert/* /export/HCL-CVS
In these type of problems we need to explicitly suggest the rsync path of remote machine through --rsync-path argument
Monday 16 February 2009
rsync: command not found error even though rsync installed in local & remote server (Solaris)
Posted on 04:13 by Unknown
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment