rsync connection problems since upgrading ubuntu 8.04 to 8.10

Ido Magal ido.magal at gmail.com
Mon Feb 9 16:04:58 GMT 2009


I believe I have an issue / incompatibility with rsync 3.x.  I'm hoping
someone can help shed some light and /or unblock me.

I had a reliable rsnapshot backup system in place with ubuntu 8.04 and my
windows desktop.  After fresh installing 8.10 I consistently got:


rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(794)
[receiver=3.0.3]
rsync: connection unexpectedly closed (356 bytes received so far)
[generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(635)
[generator=3.0.3]
----------------------------------------------------------------------------
ERROR: /usr/bin/rsync returned 12 while processing
napoleon.local::docsnsettings


in the Windows ( cwrsync 3.0.1 ) daemon's log it looked like this:

 2009/02/06 03:15:41 [4200] building file list

2009/02/06 03:16:09 [4200] rsync: writefd_unbuffered failed to write 5 bytes
[sender]: Connection reset by peer (104)

2009/02/06 03:16:09 [4200] rsync error: error in rsync protocol data stream
(code 12) at io.c(1518) [sender=3.0.5]




this is what rsnapshot executes:

 /usr/bin/rsync -aq --delete --relative --delete-excluded
--log-file=/storage/home/ido/rsync.ido.log
--exclude-from=/storage/home/rsnapshot.exclude.txt
napoleon.local::docsnsettings /storage/backup/ido/daily.0/docsnsettings

Before, when it worked, it was ubuntu 8.04's rsync 2.6.9-6 attaching to
cwRsyncServer v.2.1.5 ( which contains rsync 3.0.0 or 3.0.1 )

Ubuntu 8.10 ships with rsync 3.0.3.  Updating the Windows rsync to 3.0.5 did
not fix the issue. ( the above snippets are 3.0.3 <- 3.0.5 syncs )

Force-downgrading Ubuntu 8.10's rsync to 2.6.9 resolved the issue.  My
Windows machine ( sender ) is still using a 3.x rsync.  My syncs are
error-free again.

Does anyone have any idea what's going on?  i'd like to not have to lock my
rsync at 2.6.9.

TIA.
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list