I downloaded rsync from sunfreeware.com, installed the dependencies and installed rsync without error, however when I run it I get errors, see: # /usr/local/bin/rsync -a -A -h -u -p -e rsh --progress --rsh=/usr/bin/rsh root at 192.168.0.160:/usr/include . sh: /usr/local/bin/rsync: not found rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [Receiver=3.0.7] # which rsync /usr/bin/rsync # ls -al /usr/bin/rsync lrwxrwxrwx 1 root root 20 Aug 22 01:31 /usr/bin/rsync -> /usr/local/bin/rsync # echo $PATH /usr/sbin:/usr/bin:/usr/local/bin # rsh works: # rsh 192.168.0.160 date Sun Aug 22 01:46:05 EDT 2010 and rsync seems good # rsync -e rsh -va /usr1 sending incremental file list drwxr-xr-x 10 2010/08/21 13:38:17 usr1 -rw-r--r-- 0 2010/08/21 11:56:03 usr1/2 -rw-r--r-- 0 2010/08/18 15:10:32 usr1/fromzone1 -rw-r--r-- 0 2010/08/18 15:12:17 usr1/fromzone2 -rw-r--r-- 62718464 2010/08/21 13:37:56 usr1/gcc-2.95.3-sol26-sparc-local -rw-r--r-- 0 2010/08/21 13:11:38 usr1/testfileownded drwxr-xr-x 2 2010/08/21 13:29:20 usr1/kelly drwxr-xr-x 2 2010/08/21 13:29:20 usr1/kellysdir drwxr-xr-x 3 2010/08/21 12:04:12 usr1/mf drwxr-xr-x 3 2010/08/21 12:04:12 usr1/mf/nt drwxr-xr-x 2 2010/08/21 12:04:12 usr1/mf/nt/uv sent 289 bytes received 18 bytes 614.00 bytes/sec total size is 62718464 speedup is 204294.67 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20100822/b842d4f3/attachment.html>
On 8/22/2010 1:56 AM, Rick Smith wrote:> I downloaded rsync from sunfreeware.com <http://sunfreeware.com>, > installed the dependencies and installed rsync without error, however > when I run it I get errors, see: > # /usr/local/bin/rsync -a -A -h -u -p -e rsh --progress > --rsh=/usr/bin/rsh root at 192.168.0.160:/usr/include . > sh: /usr/local/bin/rsync: not found > rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] > rsync error: error in rsync protocol data stream (code 12) at > io.c(601) [Receiver=3.0.7] >Do you have rsync installed on the destination host?> # which rsync > /usr/bin/rsync > # ls -al /usr/bin/rsync > lrwxrwxrwx 1 root root 20 Aug 22 01:31 /usr/bin/rsync > -> /usr/local/bin/rsync > # echo $PATH > /usr/sbin:/usr/bin:/usr/local/bin > # > > rsh works: > # rsh 192.168.0.160 date > Sun Aug 22 01:46:05 EDT 2010 > > > and rsync seems good > # rsync -e rsh -va /usr1 > sending incremental file list > drwxr-xr-x 10 2010/08/21 13:38:17 usr1 > -rw-r--r-- 0 2010/08/21 11:56:03 usr1/2 > -rw-r--r-- 0 2010/08/18 15:10:32 usr1/fromzone1 > -rw-r--r-- 0 2010/08/18 15:12:17 usr1/fromzone2 > -rw-r--r-- 62718464 2010/08/21 13:37:56 > usr1/gcc-2.95.3-sol26-sparc-local > -rw-r--r-- 0 2010/08/21 13:11:38 usr1/testfileownded > drwxr-xr-x 2 2010/08/21 13:29:20 usr1/kelly > drwxr-xr-x 2 2010/08/21 13:29:20 usr1/kellysdir > drwxr-xr-x 3 2010/08/21 12:04:12 usr1/mf > drwxr-xr-x 3 2010/08/21 12:04:12 usr1/mf/nt > drwxr-xr-x 2 2010/08/21 12:04:12 usr1/mf/nt/uv > > sent 289 bytes received 18 bytes 614.00 bytes/sec > total size is 62718464 speedup is 204294.67 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20100822/dbd69517/attachment.html>
Reasonably Related Threads
- Problem with softlinks under samba on RHEL
- RBD volume not made available to Xen virtual guest on openSUSE 15.2 (with libvirt 6.0.0)
- Re: RBD volume not made available to Xen virtual guest on openSUSE 15.2 (with libvirt 6.0.0)
- Unable to map the group
- Problems with 2 DCs.