RE: Rsync for 2.9.

From: Sethi, Samir (IDS DM&DS) (SSethi@exchange.ml.com)
Date: Tue Jun 24 2003 - 10:55:55 EDT


Thanks everyone for the replies. There were too many to list indiviually.

The issue was with the PATH on the remote system. Updated to include /usr/local/bin in the PATH, and also
Updated the .rhosts.

# RSYNC_RSH=rsh
# export RSYNC_RSH
# rsync -avz /tmp/tangram.tmp eq-cmp-d1.dev.etsd.ml.com:/tmp/.
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)

After updates -
# rsync -avz /tmp/tangram.tmp eq-cmp-d1.dev.etsd.ml.com:/tmp/.
building file list ... done
wrote 50 bytes read 16 bytes 132.00 bytes/sec
total size is 0 speedup is 0.00
#

The error message is misleading and would lead you to believe there were some compile errors.

Thanks.

Samir.

> -----Original Message-----
> From: Sethi, Samir (IDS DM&DS)
> Sent: Monday, June 23, 2003 2:23 PM
> To: 'sunmanagers@sunmanagers.org'
> Subject: Rsync for 2.9.
>
>
>
> Downloaded and compiled the rsync package for solaris 2.9 - having issues with rsync using rsh.
> [ Works ok with ssh ].
>
> Please review the messages -
>
>
> # pwd
> /usr/local/bin
> # RSYNC_RSH=ssh
> # export RSYNC_RSH
> # /usr/local/bin/rsync -avz /tmp/disktacct.0620 eq-cmp-d5.dev.etsd.ml.com:/var/tmp/.
> The authenticity of host 'eq-cmp-d5.dev.etsd.ml.com' can't be established.
> RSA1 key fingerprint in md5 is: 1f:4e:f8:f3:7b:ed:ee:3f:05:95:c1:44:ad:a5:33:9a
> Are you sure you want to continue connecting(yes/no)?yes
> Warning: Permanently added 'eq-cmp-d5.dev.etsd.ml.com,169.242.85.20' (RSA1) to the list of known hosts.
> root@eq-cmp-d5.dev.etsd.ml.com's password:
> building file list ... done
> disktacct.0620
> wrote 295 bytes read 32 bytes 34.42 bytes/sec
> total size is 988 speedup is 3.20
>
>
> -- THIS ONE WORKS OK.
>
> # RSYNC_RSH=rsh
> # export RSYNC_RSH
> # /usr/local/bin/rsync -avz /tmp/disktacct.0620 eq-cmp-d5.dev.etsd.ml.com:/var/tmp/.
> rsync: connection unexpectedly closed (0 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(165)
> # which rsync
> /usr/local/bin/rsync
>
> -- THIS ONE FAILS , WITH RSYNC RELYING ON rsh .
>
>
> Has anyone had these issues, and if so is there a resolution.
>
> The rsync version is 2.5.6.
>
> Let me know , will summarize.
>
> Thanks.
>
> Samir.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:38 EDT