delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/29/05:20:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Richard Ivarson <RiIvarson AT gmail DOT com>
Subject: Rsync stops inmid of synchronisation
Date: Wed, 29 Feb 2012 11:19:42 +0100
Lines: 50
Message-ID: <jiku3n$fg6$1@dough.gmane.org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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.

-Richard


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019