delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/14/15:24:02

X-Spam-Check-By: sourceware.org
Message-ID: <44E0CDB4.2030302@netbauds.net>
Date: Mon, 14 Aug 2006 20:23:32 +0100
From: Darryl Miles <darryl-mailinglists AT netbauds DOT net>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.0.5) Gecko/20060727 SeaMonkey/1.0.3
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: rsync + ssh crashes
References: <ebpq1j$ofk$3 AT sea DOT gmane DOT org> <ebq8b6$rn7$1 AT sea DOT gmane DOT org> <ebqfdb$ur5$1 AT sea DOT gmane DOT org>
In-Reply-To: <ebqfdb$ur5$1@sea.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Kai Schlichting wrote:
> Kai Schlichting schrieb:
>>> I try to use the following batch-script:
>>>   set CYGWIN=tty binmode nontsec
>>>   set TERM=ansi
>>>   set PATH=C:\rsync;%PATH%
>>>   set HOME=C:\rsync
>>>   set RSYNC_RSH=/cygdrive/c/rsync/ssh.exe
>>>   set USERNAME=backup
>>>   rsync --progress --verbose --stats --delete -a -e 'ssh -i identity'
>>>     /cygdrive/c/Test /cygdrive/c/Test2
>>>     XXXMyServerIPXXX:/home/backup/tmp >> log.txt
>>>
>>> My C:\rsync - Directory
>>>   cygcrypto-0.9.8.dll
>>>   cygminires.dll
>>>   cygpopt-0.dll
>>>   cygwin1.dll # 1005.21.0.0
>>>   cygz.dll
>>>   identity
>>>   log.txt
>>>   rsync.exe # 2.6.6
>>>   ssh.exe
>>>   rsyncGo.bat # my Batch-Script
>>>
>>> Do you have any ideas, why during the execution of the batch rsync 
>>> crashes?
>> I found out, if i change
>>   "rsync" into "C:\cygwin\bin\rsync"
>>   "ssh" into "C:\cygwin\bin\ssh"
>> so that not the "local" rsync.exe and ssh.exe, but the exe from the 
>> cygwin installation is used.
>> Does it help you to find a solution to use the exe in the directory 
>> C:\rsync?
> I found a message on command line:
> 24669 [main] rsync 3660 fork: child -1 - died waiting for longjmp before 
> initialization, retry 0, exit code 0xC0000005, errno 11
> 24669 [main] rsync 3660 fork: child -1 - died waiting for longjmp before 
> initialization, retry 0, exit code 0xC0000005, errno 11
> rsync: fork: Resource temporarily unavailable (11)
> rsync error: error in IPC code (code 14) at 
> /home/lapo/packaging/tmp/rsync-2.6.6/pipe.c(61)


<guess_mode>
Do you also need: cygcrypt-0.dll

I think SSHD.EXE needs that library as well as the others you have 
listed, so I'd presume SSH.EXE does too.

Have you tried from a MSDOS prompt, "set PATH=C:\RSYNC" followed by 
"C:\RSYNC\RSYNC.EXE --help" and then "C:\RSYNC\SSH.EXE --help", if there 
is a DLL problem you will get a GUI dialog box telling you which library 
is missing.

Given this problem is a fork() problem within rsync, its having a 
problem executing SSH.EXE.
</guess_mode>

Darryl

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

- Raw text -


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