Hi all,
recently I took over the admin-task for a solaris 10 x86 machine.
I would like to use rsync for backing up files via ssh to another machine. There are two machines I have tested with both without success. One is a ubuntu server 8.04, the other one is ubuntu 10.04 desktop.
Installed rsync from sunfreeware.com and also the dependencies. Tested locally, works fine. Two directories on the solaris machine are synced just fine.
When I try to backup to one of the other machines I get an error:
bash: /usr/local/bin/rsync: No such file or directory
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.7]
I can connect to the other machines from the solaris machine via ssh, so I am assuming ssh is not the problem.
Syncing between just the other two machines also works fine via ssh.
Any ideas what could be the problem?
---------- Post updated at 08:05 AM ---------- Previous update was at 07:58 AM ----------
Ok, problem solved. rsync needs to be in the same directory on both machines.
solaris was /usr/local/bin
while ubuntu is /usr/bin/
seems to work now