delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/04/18:18:25

X-Spam-Check-By: sourceware.org
Message-ID: <44835C24.30802@cygwin.com>
Date: Sun, 04 Jun 2006 18:18:12 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051223 Fedora/1.5-0.2.fc4.remi Thunderbird/1.5 Mnenhy/0.7.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: sshd: fork of unprivileged child failed
References: <BEA70E0A3FEDAAAA547BDE99 AT qjunbur DOT quns DOT cam DOT ac DOT uk>
In-Reply-To: <BEA70E0A3FEDAAAA547BDE99@qjunbur.quns.cam.ac.uk>
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

Robin Walker wrote:
> I have a system with Cygwin sshd installed that refuses to accept 
> connections.  sshd is running and listening on port 22.
> 
> In the Windows Application Log there are, for each failed connection 
> attempt, entries of the form:
> 
> sshd: PID xxxx: fatal: fork of unprivileged child failed.
> 
> In sshd.log there are entries of the form:
> 
>   1893 [main] sshd 7720 C:\cygwin\usr\sbin\sshd.exe: *** fatal error - 
> recreate_mmaps_after_fork_failed
>      9 [main] sshd 6788 child_copy: stack write copy failed, 
> 0x23DDA0..0x240000, done 0, windows pid 2350292, Win32 error 5
>      7 [main] sshd 6344 fhandler_dev_zero::fixup_mmap_after_fork: 
> requested 0x3F0000 != 0x0 mem alloc base 0x3F0000, state 0x1000, size 
> 4096, Win32 error 487
>   2029 [main] sshd 6344 C:\cygwin\usr\sbin\sshd.exe: *** fatal error - 
> recreate_mmaps_after_fork_failed
>      8 [main] sshd 7868 child_copy: stack write copy failed, 
> 0x23DDA0..0x240000, done 0, windows pid 2350292, Win32 error 5
>      6 [main] sshd 6872 fhandler_dev_zero::fixup_mmap_after_fork: 
> requested 0x3F0000 != 0x0 mem alloc base 0x3F0000, state 0x1000, size 
> 4096, Win32 error 487
>   2487 [main] sshd 6872 C:\cygwin\usr\sbin\sshd.exe: *** fatal error - 
> recreate_mmaps_after_fork_failed
>     10 [main] sshd 6336 child_copy: stack write copy failed, 
> 0x23DDA0..0x240000, done 0, windows pid 2350292, Win32 error 5
> 
> 
> Attempts by client ssh programs to connect are given:
> Read from socket failed: Connection reset by peer
> 
> This happens even for ssh 127.0.0.1 on the server itself.
> 
> What do I need to do to get this sshd working?
> 
> The first time this fault ever occurred on this system, a "rebaseall" 
> cured it.  But the fault has returned some months later, and a 
> "rebaseall" no longer fixes it.
> 


Did you try a recent snapshot?  Otherwise, let's start back at the beginning.
Please read and follow the problem reporting guidelines found at:

<http://cygwin.com/problems.html>

Think about things that have changed about the time things stopped working
for you.  This includes things both a part of and external to Cygwin.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

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