X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.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@cygwin.com
References: <CAK0ZC5W61MjdXxLwAaeRHK4u9ovW0BsLZ3RuZT+DPvcgte+X-g@mail.gmail.com>
From: Mark Geisert <mark@maxrnd.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@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.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
