This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Rsync stops inmid of synchronisation

Good day,

I've successfully used Cygwin and in particular it's RSYNC for many years, for example to sync a Windows XP computer named Sendi to another XP computer named Desti in a local network.

Since a few months however rsync is causing me endless trouble. I regularly upgrade to new versions of Cygwin, so I'm up to date with all Cygwin programs.
Now I don't know if my network is the problem (it works fine for all other purposes except rsync) or the rsync program (or its configuration).

Maybe somebody knows how I could encircle the problem. Here's the details:
- Sendi and Desti are connected via a Ethernet cable to a Router
- On Desti rsync runs via "rsync --daemon"
- On Sendi the rsync task is started with "rsync foldername/ Desti::modulename/" (and module name is configured as described in Cygwin's or rsync's manual)

When the rsync tasks start, at first everything runs fine. I see this by following to Desti's rsync log file and Sendi's verbose output, and at the files being synchronisised. Ie the two rsync programs exchange the files which are out of sync -- but unfortunately just up to a certain point.
After a number of files have been transmitted -- and this number varies every time I re-start the task (sometimes it's some 1000 files, sometimes less) -- the two rsync programs stop to talk to each other. Sendi's not continuing to send file names anymore. But why? I've increased Sendi's rsync verbose level to maximum but it just stops to print the file names it wants to send to Desti.

So I've started Wireshark to see the network traffic, and next to good RSYNC packages there are also some bad ones named "Malformed RSYNC packet" in Wireshark. For example Sendi's Wireshark log looks like this:
[Malformed Packet: RSYNC]
Expert Info (Error/Malformed): Malformed Packet (Exception occurred)
Message: Malformed Packet (Exception occurred)
Severity level: Error
Group: Malformed

Since I'm no network expert (I can just start Wireshark and watch the many log entries), does anybody of you Cygwin users know what's happening?

To sum up the problem: rsync worked well on Sendi & Desti, when suddenly a started rsync task just partly works but then stops. And depending on how many times I re-start the task or the computers, I can get smaller or bigger parts of the whole sync task. Usually not the entire however, because it stops long before the end...

Thanks for any hints.


-- Problem reports: FAQ: Documentation: Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]