SOLVED 1.7.1 rsync handing with "Failed to dup/close" error message

E evsub@michevan.id.au
Fri Jan 22 07:33:00 GMT 2010


> Since updating from cygwin 1.5 to 1.7, I've found rsync does not work 
> for me. Even when just trying to do a simple sync of two folders on 
> the same file system I get the error:
>
> rsync: Failed to dup/close: Socket operation on non-socket (108)
> rsync error: error in IPC code (code 14) at 
> /home/lapo/packaging/rsync-3.0.6-1/src/rsync-3.0.6/pipe.c(147) 
> [receiver=3.0.6]
>
> and then it just hangs. I have to ctrl-C to cancel it.

I've managed to track down what was causing this problem (as well as the 
ssh-agent hang, see "1.7.1 ssh-agent hangs with 100% cpu").

It is being caused by the installation of version 2.7 of ESET NOD32 
Anti-Virus software.  I've checked version 4 and it does not cause this 
problem, however if you are still using 2.7 the following work-around 
exists:

1. Open the NOD32 Control Center [sic] and then select "IMON" from the 
"Thread Protection Modules"
2. Click the "Setup" button.
3. Select the "Miscellaneous" tab.
4. Click the "Edit" button in the "Exclusion" group box.
5. Add c:\cygwin\bin\rsync.exe. (Add c:\cygwin\bin\ssh-agent.exe too 
while you're there.)
6. Click "OK" and then "OK" to save the changes and you're done.

E.

--
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



More information about the Cygwin mailing list