On Tue, Jan 28, 2003 at 05:37:34PM +0500, Eduard A. Ivanov
wrote:> Hi rsync@lists.samba.org,
>
> when trying to use rsync there's an error message:
> 10.80.12.6: Connection refused
> rsync: connection unexpectedly closed (0 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(151)
>
> there are 2 servers, both have RedHat 7.3 installed
> rsync version 2.5.4 is used, protocol version 26
>
> rsync is run on one of them as a demon through xinetd with the config
> file rsyncd.conf:
> [projects]
> comment = projects dir
> path = /var/local/projects/
> uid = nobody
> gid = nobody
> log file = /var/log/rsyncd.log
> syslog facility = security
> pid file = /var/run/rsyncd.pid
> max connections = 5
> transfer logging
>
> I execute the following command on another mashine:
> $ rsync -av 10.80.12.6:projects/lib lib/
> and get the following error message:
> 10.80.12.6: Connection refused
> rsync: connection unexpectedly closed (0 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(151)
>
> firewall is off everywhere.
>
> What can be the problem here?
You are trying to connect using rsh. The manpage is
abundantly clear how to do this.
--
________________________________________________________________
J.W. Schultz Pegasystems Technologies
email address: jw@pegasys.ws
Remember Cernan and Schmitt