Re: cwRsync 2.0.2 hangs under XP

25 posts / 0 new
Last post
itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

Sorry gents, I guess I was expecting to get an e-mail notifying me of updates to this thread..  :-)

I'm not having any luck with the 265 zip file either.
Regarding the second part, do you want the 265 exe file, or the original 2.0.2/3 exe file with the dll?

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

I run a couple of tests from an XP SP2+ machine as cwrsync client to a 2003 Server without any problems. I am not so sure that 2.0.2 or 2.0.3 have bugs affecting every single installation.

To be able to help and say something more meaningful, I need to know the exact configuration you use at both sides.

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
cwRsync 2.0.2 hangs under XP

We use cwRsync for backing up Windows PCs over SSH, and it's been working great. However, the latest release (2.0.2) doesn't work properly. I was able to get it to back up some test directories, but when thrown at a full Quickbooks directory, it hung at the first file. I wasn't able to Ctrl-C out of it, I had to close the entire cmd window. Downgrading to 2.0.1, it works fine.
-=Russ=-

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

I tested v2.0.2 on 2003 and NT servers with success. Almost all components are updated and a new gcc compiler is used for rsync compiling. The problem can be anywhere.

I will make a couple of tests on XP to see if this problem is a permanent one.

Rgrds Tev

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

I am experiencing the same problem with it hanging under Windows XP. I have SP2 and all patches and updates. It will start fine and build the file list but then it gets to about 5 files and completely hangs. I must click on the X to close it. Subsequent runs continue where the previous stopped but only about 5 files will copy before hanging.

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP
itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

I tested v2.0.2 on 2003 and NT servers with success. Almost all components are updated and a new gcc compiler is used for rsync compiling. The problem can be anywhere.

I will make a couple of tests on XP to see if this problem is a permanent one.

Rgrds Tev

I tested following scenario:

- cwRsync Server: version 2.0.2 w/openssh on Windows XP SP1
- cwRsync Client: version 2.0.2 w/sec.ch. on Windows XP SP1
- Data: about 18 500 files with over 4 GB in total size
- Test 1: Run rsync directly from client to server - OK
- Test 2: Remove about 5 000 files on server and run rsync via ssh tunnel - OK
- Test 3: Remove about 5 000 files on server and run rsync via plink tunnel - OK
- Test 4: removed 14 000 files on server and run rsync via ssh tunnel - OK

I observed that rsync via secure tunnels stopped a couple of times longer than expected (1-2 min.), but it continued without problems.

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

I note that you only tried XP SP1 whereas these people (and myself as I am having the same problem) are SP2+. SP2 broke a lot of other things, perhaps our problem lies there. Running with -v I left it sit for ~15 minutes and it would get to a file (small files even, 50k) and then sit there doing nothing. The rsync/sshd process on the linux server (I'm backing up to a linux server running ssh) was almost totally idle so I don't think it was just a cache issue.
Also interesting and perhaps related - the windows firewall did not ask me if I wanted to keep blocking/unblock 2.0.2, however once I uninstalled 2.0.2 and installed 2.0.1 it asked me to unblock 2.0.1.

I must add though that this is beautiful software regardless of ther version I have to use, it's a great benefit to have an intelligent backup for windows instead of blindly copying all the files. Thank you!

-Josh

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

Then we have a problem. I will test some scenarios on XP SP2 and publish results here.

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

I have noticed the same behavior. It will build file list and then hang on the first file. I am also running XPSP2 w/ all updates. Has anyone tested with Win2003 server? I was trying to do some initial testing and writing of scripts before installing for a client.
Thanks

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

Hi,
noticed the same with latest cwrsync 2.0.3. Running a french XP SP1. The building list is ok, but then stops at a file (not always the same one).
Is it possible to publish 2.0.1 in the meantime? (haven't tried with that version yet)

Thanks

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

Note on my last post. I found cwrsync 2.0.1 and downgraded my client. Works perfect now. I think there IS a problem with the last two versions (2.0.2 and 2.0.3) on XP.

Bests

mr

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

Same problems unter W2K Server (as rsync-client) to a linux server.
It starts and a short time later it hangs ....

greetings

Mike

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

same problem here with cwRsync V2.0.3 on WIn2K Server and WinXP / SP2 client.

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

Ok, let's try to find the source of the problem. You can download a copy of rsync.exe from cwrsync 2.0.1 here. Replace rsync.exe in bin directory with this file (applies only to cwrsync 2.0.2 and 2.0.3 packages).

Checksums:
MD5 - b7a7bc58d84a8c9aa8aae57c2e6640e4 *rsync-265.zip
SHA1 - cd03270fb64c659675b4ead5e6aa0693255d5bdf *rsync-265.zip

If your problems disappear, then we have two candidates: rsync 2.6.6 or gcc compiler 3.4.4. If you have still problems, your problems may arise due to changes in cygwin dll or openssl.

I appreciate if some of you test this scenario and report results back.

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

Ok, let's try to find the source of the problem. You can download a copy of rsync.exe from cwrsync 2.0.1 here. Replace rsync.exe in bin directory with this file (applies only to cwrsync 2.0.2 and 2.0.3 packages).

Checksums:

MD5 - b7a7bc58d84a8c9aa8aae57c2e6640e4 *rsync-265.zip

SHA1 - cd03270fb64c659675b4ead5e6aa0693255d5bdf *rsync-265.zip

If your problems disappear, then we have two candidates: rsync 2.6.6 or gcc compiler 3.4.4. If you have still problems, your problems may arise due to changes in cygwin dll or openssl.

I appreciate if some of you test this scenario and report results back.

OK I did that. Now here's my test setup:

cwRsync server: Win2000 with Rsync V2.0.3 (but with the v2.0.1 rsync.exe from above)
cwRsync clients: 1x WinXP SP2 (cwRsync same config as above), 1x Win2003 Webserver Edition (CwRsync 2.0.1)
the WinXP SP2 client hangs, the Win2003 Webserver Edition has CwRsync 1.2.8 (yup.. the machine is running and old backup for testing purposes...)

The Win2003 machine works perfectly. Ok this test is not too much scientific, but this is what I got for now. Seems the problem is with cwrsync in clientmode on WinXP SP2.

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

Thanks for your report. What if you put rsync 2.6.6 back and replace only cygwin1.dll in 2.0.2/3 with the one from 2.0.1 ? Do you still get the problem ?

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

Not sure if my experience is tied to this particular problem or not.  I am a first time user of cwRsync.  I need to sync directories between Windows machines.  My test setup has the client running on Windows XP SP2 with all the patches, and the server (called "boyle" in the examples below) also running on a Windows XP SP2 machine. 

I started out trying version 2.0.3 and didn't have any luck.  When I encountered this thread, I downgraded both machines to version 2.0.1, but the same problem persists.  Here's what happens:

1) I have a module like this configured on the server machine:

path = /cygdrive/c/media
read only = false
transfer logging = yes

2) I have the Openssh SSHD service and the RsyncServer service running on the server machine.  I've copied the .ssh/cwrsync key file from the server to a location on the client machine, but I don't believe the test I am running should be making any use of the ssh functionality.

3) I'm using a batch script based on the sample.  The rsync command line itself is:

rsync -v /cygdrive/c/test boyle::media

What happens when I run this command is that on the client, nothing happens -- the program basically freezes up and just sits there.  However, I'm watching the Task Manager on the server when I do this and I see a new "rsync.exe" process start.  Nothing happens no matter how long I wait. 

If I kill the rsyncserver service on the server, then the client comes back with "rsync: read error: Connection reset by peer (104)" and "rsync error: error in rsync protocol data stream (code 12) at io.c(584)".

Do you suppose this is related to the Windows XP SP2 problems, or is this a different problem?

Thanks in advance for any information,

David Brewer

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

3) I'm using a batch script based on the sample.  The rsync command line itself is:

rsync -v /cygdrive/c/test boyle::media

If test is a directory, your command will do nothing. I recommend to use rsync -rv /cygdrive/c/test boyle::media and see if it helps.

What happens when I run this command is that on the client, nothing happens -- the program basically freezes up and just sits there.  However, I'm watching the Task Manager on the server when I do this and I see a new "rsync.exe" process start.  Nothing happens no matter how long I wait.

Second rsync process is forked by the parent process to serve your rsync request. It is normal.

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

I've just noticed that the same problem occurs for one of my SP4 Win2K clients - downgrading them to 2.0.1 fixed the problem as well.

I'm backing up to a linux machine running openssh server using command:
rsync -ra --delete --delete-excluded -e "ssh -i /cygdrive/c/Docume~1/username/.ssh/cwrsync" /cygdrive/c/Docume~1/username/ servername:/home/username/backup/

I've left out my --exclude for simplicity.

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

Got equivalent problems with 2.0.3. Rsync freezes when syncing a certain file (always the same). After removing that specific file, it hangs up some files later in row. Maybe some kind of buffer issue?
Backporting to 2.0.1 seems to solve it.

Hope it helps...
Fili

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

Tried 2.0.3 on client and server, both Win2K AS with latest SP.
And it hangs at random.

Went back to 2.0.1 and it hangs right after Building file list... done. For about 5+ minutes, this isnt normal right?

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

My case:
1 PC with Windows XP Sp2, 512 MB Mem, Pentium 2 3 Ghz
1 PC with Linux Fedora Core 4, 1 GB Mem, Pentium 3 Ghz

The XP is the Server, the Linux the client.

XP: cwRsync_Server 2.0.3
Linux: rsync client version 2.6.6 installed fromsmall files Fedora Core RPM.

1st try:

Transfering about 7000 small files (650 MB) from Linix --> XP:

transfer hangs after 5 to 50 files, no feedback.
interrupting and restarting from the beginning, rsync continues copying at the place it hanged, and copies again 5 to 50 files until it hangs again.
This can be repeated several times.

2nd try:

In XP, uninstalled cwRsync_Server 2.0.3 and installed cwRsync_Server 2.0.1.
Start transfering yhe smae files:

No problems, transfer complete.

regards, Mektub

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

Hi all,

There are now 23 postings in this thread and I decided to lock it. I've got a good number of feedback about this issue. However, there are many scenarios out there. I remind that using ssh built in rsync is error-prone on cygwin. It is strongly recommended that you use rsync daemon at one side and establish an external ssh tunnel. Check relevant FAQs:

How can I use rsync to pull files from windows to linux/unix within a secure network ?

How can I secure connections between windows rsync clients and cwRsync servers ?

How can I use cwRsync between two windows machines within a secure network ?

How can I secure connections between linux/unix rsync clients and cwRsync servers ?

How can I secure connections between cwrsync clients and unix/linux servers ?

Please check if the scenarios above can solve your problem. If they don't, feel free to open a new thread about the issue. As I pointed out before, it is important to specify exact configurations at both sides. Thanks for your contributions !!

itefix
Offline
Last seen: 2 weeks 1 hour ago
Joined: 01.05.2008 - 21:33
Re: cwRsync 2.0.2 hangs under XP

I have updated cwRsync 2.0.3 packages with a newly compiled rsync 2.6.6, which seems to solve hang problems.
Download 2.0.3a packages from Link Manager at right side and check if your problem disappear.

This topis is locked. Feel free to open a new topic if you still experience same problems.

Topic locked

Release announcements