X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=4.3 required=5.0 tests=AWL,BAYES_20,BOTNET X-Spam-Check-By: sourceware.org Message-ID: <4B593435.1020406@michevan.id.au> Date: Fri, 22 Jan 2010 16:14:29 +1100 From: E User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: RE: SOLVED 1.7.1 rsync handing with "Failed to dup/close" error message Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com > 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