<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 8/22/2010 1:56 AM, Rick Smith wrote:
<blockquote
cite="mid:AANLkTinp1Eh-Ly-T+OhvjYv6iHySJ8fHa3NAxMgD7aHB@mail.gmail.com"
type="cite">I downloaded rsync from <a moz-do-not-send="true"
href="http://sunfreeware.com">sunfreeware.com</a>, installed the
dependencies and installed rsync without error, however when I run it I
get errors, see:<br>
# /usr/local/bin/rsync -a -A -h -u -p -e rsh --progress
--rsh=/usr/bin/rsh <a class="moz-txt-link-abbreviated" href="mailto:root@192.168.0.160:/usr/include">root@192.168.0.160:/usr/include</a> .<br>
sh: /usr/local/bin/rsync: not found<br>
rsync: connection unexpectedly closed (0 bytes received so far)
[Receiver]<br>
rsync error: error in rsync protocol data stream (code 12) at io.c(601)
[Receiver=3.0.7]<br>
<br>
</blockquote>
<br>
Do you have rsync installed on the destination host?<br>
<br>
<blockquote
cite="mid:AANLkTinp1Eh-Ly-T+OhvjYv6iHySJ8fHa3NAxMgD7aHB@mail.gmail.com"
type="cite"># which rsync<br>
/usr/bin/rsync<br>
# ls -al /usr/bin/rsync<br>
lrwxrwxrwx 1 root root 20 Aug 22 01:31 /usr/bin/rsync
-> /usr/local/bin/rsync<br>
# echo $PATH<br>
/usr/sbin:/usr/bin:/usr/local/bin<br>
#<br>
<br>
rsh works:<br>
# rsh 192.168.0.160 date<br>
Sun Aug 22 01:46:05 EDT 2010<br>
<br>
<br>
and rsync seems good<br>
# rsync -e rsh -va /usr1<br>
sending incremental file list<br>
drwxr-xr-x 10 2010/08/21 13:38:17 usr1<br>
-rw-r--r-- 0 2010/08/21 11:56:03 usr1/2<br>
-rw-r--r-- 0 2010/08/18 15:10:32 usr1/fromzone1<br>
-rw-r--r-- 0 2010/08/18 15:12:17 usr1/fromzone2<br>
-rw-r--r-- 62718464 2010/08/21 13:37:56
usr1/gcc-2.95.3-sol26-sparc-local<br>
-rw-r--r-- 0 2010/08/21 13:11:38 usr1/testfileownded<br>
drwxr-xr-x 2 2010/08/21 13:29:20 usr1/kelly<br>
drwxr-xr-x 2 2010/08/21 13:29:20 usr1/kellysdir<br>
drwxr-xr-x 3 2010/08/21 12:04:12 usr1/mf<br>
drwxr-xr-x 3 2010/08/21 12:04:12 usr1/mf/nt<br>
drwxr-xr-x 2 2010/08/21 12:04:12 usr1/mf/nt/uv<br>
<br>
sent 289 bytes received 18 bytes 614.00 bytes/sec<br>
total size is 62718464 speedup is 204294.67<br>
<br>
</blockquote>
<br>
</body>
</html>