Cygwin rsync to RH rsync server

Jason Staudenmayer jasons at adventureaquarium.com
Tue Jun 20 12:55:26 GMT 2006


Ok, so it's a Cygwin issue. Might I ask if anyone on the list has a
working cygwin/rsync combo they might be able to share. I've tried
downloading some old cygwin versions but so far nothing has been
working.

Thanks

Jason

-----Original Message-----
From: Matt McCutchen [mailto:hashproduct at gmail.com] On Behalf Of Matt
McCutchen
Sent: Monday, June 19, 2006 2:03 PM
To: Jason Staudenmayer
Cc: rsync at lists.samba.org
Subject: RE: Cygwin rsync to RH rsync server


On Thu, 2006-06-15 at 13:09 -0400, Jason Staudenmayer wrote:
> Ok I updated both systems to rsync-2.6.8 and found the info on setting
> strace on the server. Here are the trace logs, there are two calls the
> first is just the module list which finishes normally the second is
the
> file list in the test module which fails after the list.

I'm sure Wayne is better at analyzing straces than I am (and he
certainly knows more about the rsync protocol), but here's what I see
for the second connection.  The daemon sends the list (second line) and
expects some kind of confirmation from the client, but it gets an EOF
(return code of 0 on the last line) instead of the confirmation.

> [pid 26647] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left
{60,
> 0})
> [pid 26647] write(3,
> "7\0\0\7\1\1.\0\20\0\0RJ\220D\370A\0\0\200\10tst2.txtV\0"..., 59) = 59
> [pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {58,
> 872000})
> [pid 26647] read(3, "\377\377\377\377", 8184) = 4
> [pid 26647] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left
{60,
> 0})
> [pid 26647] write(3, "\4\0\0\7\377\377\377\377", 8) = 8
> [pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {59,
> 928000})
> [pid 26647] read(3, "", 8184)           = 0

I suspect that there's some aspect of the way the client closes down the
connection that Cygwin is not handling properly.  I don't know what to
recommend.

Matt



More information about the rsync mailing list