rsync: connection unexpectedly closed

beers at xs4all.nl beers at xs4all.nl
Tue Oct 14 20:38:25 EST 2003


Hi rsync list,

Im trying to use rsync to sync about 23GB over a local LAN.
I use 2.5.6 compiled on SCO OpenServer 5.0.6, this is the command I use:

rsync --verbose --stats --recursive --times --perms --links --delete
eurux02::user2

(I have tried it with and without --compress, as the archive hinted this
may be a problem with -z, but same result)

on the source machine rsync --daemon is running and this is the user2 area
block from rsyncd.conf:

motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log
pid file = /var/spool/rsyncd.pid
lock file = /var/spool/rsyncd.lock

[user2]
path = /user2
comment = path for real
uid = root
gid = sys
read only = yes
list = yes

Unfortunatly, it stops with an error (from rsyncd.log):

2003/10/14 10:59:13 [11256] rsync on user2 from eurux03 (192.168.100.3)
2003/10/14 11:22:49 [11256] wrote 12129660 bytes  read 225836 bytes  total
size -2005091632
2003/10/14 11:25:07 [11256] rsync: connection unexpectedly closed (225836
bytes read so far)
2003/10/14 11:25:07 [11256] rsync error: error in rsync protocol data
stream (code 12) at io.c(165)

2003/10/14 12:01:28 [11693] rsync on user2 from eurux03 (192.168.100.3)
2003/10/14 12:22:31 [11693] wrote 12564617 bytes  read 130771 bytes  total
size -2005090220
2003/10/14 12:24:26 [11693] rsync: connection unexpectedly closed (130771
bytes read so far)
2003/10/14 12:24:26 [11693] rsync error: error in rsync protocol data
stream (code 12) at io.c(165)


These are just 2 tries, but every time,on slightly different places, when
syncing a large area, it stops with this error.

How can I continue to trace _why_ it is unexpectedly closing the
connection? Im somewhat out of ideas.

Whenever I try smaller areas, the rsync command works fine.


Thanks for any help

Richard van Beers



More information about the rsync mailing list