From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 109582 invoked by alias); 25 May 2017 16:05:04 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 109552 invoked by uid 89); 25 May 2017 16:05:04 -0000 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 Received: from forward4j.cmail.yandex.net (HELO forward4j.cmail.yandex.net) (5.255.227.22) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 25 May 2017 16:05:02 +0000 Received: from smtp2m.mail.yandex.net (smtp2m.mail.yandex.net [IPv6:2a02:6b8:0:2519::122]) by forward4j.cmail.yandex.net (Yandex) with ESMTP id 37CF22033A; Thu, 25 May 2017 19:05:04 +0300 (MSK) Received: from smtp2m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2m.mail.yandex.net (Yandex) with ESMTP id 903B02300DE8; Thu, 25 May 2017 19:05:03 +0300 (MSK) Received: by smtp2m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Pt0uISonCo-52au1M4W; Thu, 25 May 2017 19:05:02 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Authentication-Results: smtp2m.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Thu, 25 May 2017 15:59:37 -0000 Date: Thu, 25 May 2017 16:05:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <1362259325.20170525185937@yandex.ru> To: Houder , cygwin@cygwin.com Subject: Re: Clueless! sshd ONLY fails at system startup (XP/SP3) ... In-Reply-To: <20c9be1102ad4e7590b837c068d3f0ba@xs4all.nl> References: <20c9be1102ad4e7590b837c068d3f0ba@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg00410.txt.bz2 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