X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=U6BVh/lWSbOrUc9V 00KadEevnHoIPrho8aavQzl4usdazENTNMRh2LOWYPNQqetmv0Mt/c9Pkp1CY8NL jkXMDt/lAAbaWY/cSAL/DWFbiF8ZbV24dHRyHFYysG8xGTx83lJLxrB4h2ClwPwm 1qVQqjeVtHWrBf8EBWY3YVFAIvw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=DUP1zZjZQRtokVHrBZjJTg XTOWU=; b=N5wKYWAWct97S8xL3iFlocjK2NcQ2GDqBjgvyVDhlKAqhnlnhSYuQQ wdH4vSI2BamQIhdAI0TYxHeQEVynT8PhfpBQNkGuapMCZWdQoKufHUBYi+hVlk3q XX5JmAVK0IdQ9NJ+WxexAX9eHk2DBQN3lhHHBbwUkhMD40uZyLej4= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*Ad:D*xs4all.nl, H*Ad:D*nl, Hx-languages-length:2139, houder X-HELO: forward4j.cmail.yandex.net Authentication-Results: smtp2m.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Date: Thu, 25 May 2017 18:59:37 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1362259325.20170525185937@yandex.ru> To: Houder , cygwin AT cygwin DOT com Subject: Re: Clueless! sshd ONLY fails at system startup (XP/SP3) ... In-Reply-To: <20c9be1102ad4e7590b837c068d3f0ba@xs4all.nl> References: <20c9be1102ad4e7590b837c068d3f0ba AT xs4all DOT nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Houder! > Hi, > YES, I know, XP is NOT supported anymore ... However, I started > out on XP ... and it has sshd running as a Window service, > installed and configured (as approved by Corinna :-) > ... some time ago I may have upgraded openssh over there (yes, I > am now running W7) ... I cannot really remember. Yes, sometimes I > visit (ssh) the "old station" (XP) for info that I am missing. > (both machines are behind a firewall - rest assured) > "Suddenly" (yesterday?) I noticed that the "sshd daemon" fails; > it is started at system startup (i.e. an automatic service). > When the service is restarted after system startup, i.c. > cygrunsrv -E sshd; cygrunsrv -S sshd > it then works flawlessly (which amazes me, given the error in > the sshd.log) What if you `net start "Cygwin sshad"` ? > ... tried several things ... in the end, I reinstalled Cygwin + > openssh (a minimal installation) -- using the time machine. > However this new, minimal installation of Cywin fails in the exact > same way! > Again tried some things ... Finally, I decided to post my problem. > Any suggestions? (Yes, XP has F-Secure as anti-virus) > The message in the sshd.log: > Server listening on 0.0.0.0 port .^M # X = some port, but not 22 > 1 [main] sshd 3152 E:\Cygwin25\usr\sbin\sshd.exe: *** fatal error > in forked process - fork: can't reserve memory for parent stack 0x30000 > - 0x230000, (child has 0x40000 - 0x240000), Win32 error 487 > 395874 [main] sshd 3152 cygwin_exception::open_stackdumpfile: Dumping > stack trace to sshd.exe.stackdump > 3 [main] sshd 536 fork: child -1 - forked process 3152 died > unexpectedly, retry 0, exit code 0x100, errno 11 > fork: Resource temporarily unavailable^M > Do I interpret this correctly? The child (sshd) fails to "allocate > stack for the parent (sshd)" ... > WHY does this only happen at system STARTUP ????? Any "antivirus" running on that system? Did you try to fully rebase your installation? -- With best regards, Andrey Repin Thursday, May 25, 2017 18:57:22 Sorry for my terrible english... -- 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