sol8 - rsync2.5.6 - cannot rsync at all

2003-12-05 Thread Wickram, Thushara
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 :
[EMAIL PROTECTED]:/apps/oracle/dba touch test
[EMAIL PROTECTED]:/apps/oracle/dba rcp test test2
[EMAIL PROTECTED]:/apps/oracle/dba rsync test test3
[EMAIL PROTECTED]:/apps/oracle/dba ls
test test2test3 

cannot rsync over network :
[EMAIL PROTECTED]:/oracle rcp nenxdba2:/apps/oracle/dba/test . ==
this works 
[EMAIL PROTECTED]:/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


-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: sol8 - rsync2.5.6 - cannot rsync at all

2003-12-05 Thread Wayne Davison
On Fri, Dec 05, 2003 at 03:16:45PM -0500, Wickram, Thushara wrote:
   ksh: rsync:  not found

This 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..
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: sol8 - rsync2.5.6 - cannot rsync at all

2003-12-05 Thread Ron DuFresne
Since the oracle users path is borked and you can't fix it proper, you 
could always just set a var to rsync and call that in the scripts;

mover=/usr/local/bin/rsync

then reference $mover in the commandline, but, you knew that smile.

Thanks,

Ron DuFresne

Wickram, Thushara wrote:

thanks for quick response. Yes it works ..
[EMAIL PROTECTED]:/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:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 3:26 PM
To: Wickram, Thushara
Cc: '[EMAIL PROTECTED]'
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 found
   

This 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..
 

--
Ron DuFresne
ITS Unix Group
919-871-6466
--
ITS policy requires the following notice: 
E-mail correspondence to and from this address may be subject to the North Carolina Public Records Law and may be disclosed to third parties by an authorized state official.

--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: sol8 - rsync2.5.6 - cannot rsync at all

2003-12-05 Thread Tomasz Ciolek
 Do both of your systems have /usr/local/lib in LD_LIBRARY_PATH ? if
 Rsync compiles any libs that go in there, sol8 might not find it. 

 Also make sure that the PATH definition is red into your environment -
 env command will tell you all ENV variables, PATH and LD_LIBRARY_PATH
 included...

 Tomasz

On Fri, Dec 05, 2003 at 03:39:34PM -0500, Wickram, Thushara wrote:
 thanks for quick response. Yes it works ..
 [EMAIL PROTECTED]:/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:[EMAIL PROTECTED]
 Sent: Friday, December 05, 2003 3:26 PM
 To: Wickram, Thushara
 Cc: '[EMAIL PROTECTED]'
 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 found
 
 This 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..
 -- 
 To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
 Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

-- 
Tomasz M. Ciolek
***
  email:  tmc at dreamcraft dot com dot au 
***
GPG Key ID: 0x41C4C2F0  Key available on www.pgp.net
***
  Everything falls under the law of change; 
  Like a dream, a phantom, a bubble, a shadow,
  like dew or flash of lightning.
  You should contemplate like this. 
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html