From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m0.truegem.net (m0.truegem.net [69.55.228.47]) by sourceware.org (Postfix) with ESMTPS id ECD0F3858412 for ; Fri, 15 Oct 2021 05:06:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org ECD0F3858412 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=maxrnd.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=maxrnd.com Received: (from daemon@localhost) by m0.truegem.net (8.12.11/8.12.11) id 19F55xsI059476 for ; Thu, 14 Oct 2021 22:05:59 -0700 (PDT) (envelope-from mark@maxrnd.com) Received: from 162-235-43-67.lightspeed.irvnca.sbcglobal.net(162.235.43.67), claiming to be "[192.168.1.100]" via SMTP by m0.truegem.net, id smtpdPz1p1S; Thu Oct 14 22:05:50 2021 Subject: Re: Apache Fork Errors - Found on Windows Server 2019 To: cygwin@cygwin.com References: From: Mark Geisert Message-ID: Date: Thu, 14 Oct 2021 22:05:51 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2021 05:06:03 -0000 Hi, OwN-3m-All via Cygwin wrote: > Hi All, > > I can't seem to get apache via cygwin to work on Windows Server 2019. > > Here is my error log: > > 0 [main] httpd 1360 child_info_fork::abort: > \??\C:\OGP64\bin\cygharfbuzz-0.dll: Loaded to different address: > parent(0x3FAF60000) != child(0xCD0000) > [Thu Oct 14 20:21:24.306514 2021] [mpm_prefork:error] [pid 3203] > (11)Resource temporarily unavailable: AH00159: fork: Unable to fork new > process > [Thu Oct 14 20:21:32.643467 2021] [mpm_prefork:notice] [pid 3203] AH00163: > Apache/2.4.39 (Unix) PHP/7.3.7 configured -- resuming normal operations > [Thu Oct 14 20:21:32.643698 2021] [core:notice] [pid 3203] AH00094: Command > line: '/usr/sbin/httpd -D NO_DETACH' > [Thu Oct 14 20:21:32.644325 2021] [mpm_prefork:notice] [pid 3203] AH00169: > caught SIGTERM, shutting down [etc etc etc] > > I issued the "rebase-trigger fullrebase" command and ran the cygwin setup > for it to rebase. I rebooted the server, and that didn't make a difference. Makes sense to have tried that; thanks for reporting outcome. > Any idea why this is happening or how to fix it? Been a long time since I've run Apache and that wasn't even on Cygwin, but... Apache had/has two run modes, pre-forking and threaded. It appears you're running it in pre-forking mode. Try running it in threaded mode. This might be controlled by httpd.conf or some other Apache config file. If somebody else on the list is successfully running Apache on Cygwin, maybe they can chime in on which mode they're using. HTH, ..mark