hi, using sol8 sparc platform with recommended patch set from sun. dloaded/installed rsync and popt(prerequsite) from sunfreeware.com (bin for sol8 sparc) # pkgadd -d ./popt-1.7-sol8-sparc-local all # pkgadd -d ./rsync-2.5.6-sol8-sparc-local all Problem : can rsync locally but cannot rsync over network ; can rcp over network can rsync locally : oracle@sys2:/apps/oracle/dba> touch test oracle@sys2:/apps/oracle/dba> rcp test test2 oracle@sys2:/apps/oracle/dba> rsync test test3 oracle@sys2:/apps/oracle/dba> ls test test2 test3 cannot rsync over network : oracle@sys1:/oracle> rcp nenxdba2:/apps/oracle/dba/test . <=this works oracle@sys1:/oracle> rsync nenxdba2:/apps/oracle/dba/test . ksh: rsync: not found rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165) ==> this error happens for both normal user and root Trying from/to sys1/sys2 ; does not work either way. downloading source and compiling creates another set of errors/problems ! Any idea ? thanks Thushara
On Fri, Dec 05, 2003 at 03:16:45PM -0500, Wickram, Thushara wrote:> ksh: rsync: not foundThis is the key information that the remote ksh is telling you: rsync isn't on the default PATH. You should either fix this, or use the --rsync-path option. ..wayne..
thanks for quick response. Yes it works .. oracle@sys1:/oracle> rsync --rsync-path=/usr/local/bin/rsync sys2:/apps/oracle/dba/test . In both systems I have /usr/local/bin in $PATH for the user(oracle). Wondering whether there is a way not to use "--rsync-path" cmdline. thanks again T -----Original Message----- From: Wayne Davison [mailto:wayned@samba.org] Sent: Friday, December 05, 2003 3:26 PM To: Wickram, Thushara Cc: 'rsync@lists.samba.org' Subject: Re: sol8 - rsync2.5.6 - cannot rsync at all On Fri, Dec 05, 2003 at 03:16:45PM -0500, Wickram, Thushara wrote:> ksh: rsync: not foundThis is the key information that the remote ksh is telling you: rsync isn't on the default PATH. You should either fix this, or use the --rsync-path option. ..wayne..