delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/10/15/01:06:40

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
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
Subject: Re: Apache Fork Errors - Found on Windows Server 2019
To: cygwin AT cygwin DOT com
References: <CAK0ZC5W61MjdXxLwAaeRHK4u9ovW0BsLZ3RuZT+DPvcgte+X-g AT mail DOT gmail DOT com>
From: Mark Geisert <mark AT maxrnd DOT com>
Message-ID: <e9433bb2-2965-f167-d555-07bda7df260a@maxrnd.com>
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: <CAK0ZC5W61MjdXxLwAaeRHK4u9ovW0BsLZ3RuZT+DPvcgte+X-g@mail.gmail.com>
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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

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

- Raw text -


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