[Bug 2328] New: cygwin rsync hangs when initiated remotely after
transfering some files
samba-bugs at samba.org
samba-bugs at samba.org
Wed Feb 9 03:31:54 GMT 2005
https://bugzilla.samba.org/show_bug.cgi?id=2328
Summary: cygwin rsync hangs when initiated remotely after
transfering some files
Product: rsync
Version: 2.6.3
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: cfinley at u.washington.edu
QAContact: rsync-qa at samba.org
I am trying to backup a Windows XP SP2 workstation to a Debian GNU/Linux server
using ssh, cygwin and rsync.
It appears the XP rsync locks up after transferring some files (it transfers a
few more files each time it is attempted) but hangs every time. The XP rsync
process must be killed manually, even if I cancel the rsync on the Linux side.
The Linux account can ssh into XP using client keys.
I can scp the entire source data without any trouble.
No XP event log entries (except key authentication & service start-up).
The Linux initiated rsync command:
rsync -vrte ssh --stats --progress xpuser at xpsource:/cygdrive/c/Data/
/home/usershare/xpuser/
I can initiate the rsync from the XP machine and it runs smoothly:
rsync -vrte ssh --stats --progress /cygdrive/c/Data/
debuser at destin:/home/usershare/xpuser/
Debian Sarge Destination:
Linux 2.4.26-1-686
rsync version 2.6.3 protocol version 28
OpenSSH_3.8.1p1 Debian-8.sarge.4, OpenSSL 0.9.7e 25 Oct 2004
Windows XP Pro SP2 Source:
Athlon 64 3200+
cygwin 1.5.12-1
cygrunsrv 1.0-1
rsync 2.6.3-1
openssh 3.9p1-2
The rsync-debug script dies immediately without transferring any files:
protocol version mismatch - is your shell clean?
(see the rsync man page for an explanation)
rsync error: protocol incompatibility (code 2) at compat.c(60)
The log file on XP contains:
rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" [sender]:
Broken pipe (32)
rsync error: error in rsync protocol data stream (code 12) at
/home/lapo/packaging/tmp/rsync-2.6.3/io.c(909)
This created a zero length out.dat file:
ssh xpuser at xpsource /bin/true > out.dat
Searching Google, this seemed to be the closest match:
http://www.linuxquestions.org/questions/history/265520
any help?
Your time and expertise are greatly appreciated. Please forgive my newb-ness.
Let me know if I should try anything else.
Chris
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the rsync
mailing list