delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/07/11:33:06

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
Date: Tue, 7 Jun 2005 11:32:44 -0400 (EDT)
From: Joel Denny <jdenny AT hubcap DOT clemson DOT edu>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin 1.5.17-1: apache and rebaseall
In-Reply-To: <Pine.SOL.4.43.0506041028370.4402-400000@hubcap.clemson.edu>
Message-ID: <Pine.SOL.4.43.0506071120130.14455-100000@hubcap.clemson.edu>
MIME-Version: 1.0

Previously, I wrote:

> I am able to run apache on one XP SP2 system but not on another.
> When first installed on the bad system, apache reported:
>
>   D:\cygwin\usr\sbin\httpd.exe (2496): *** unable to remap D:\cygwin\lib\apache\mo
>   d_vhost_alias.dll to same address as parent(0x3F0000) != 0x960000
>   /usr/sbin/apachectl start: httpd could not be started

In trying to figure out why no one responded on this, I looked back
through the mailing list to see if I missed something.  I decided maybe it
was the fact that I didn't mention running apache using cygrunsrv.

I set up a Guest account in XP, gave appropriate permissions to all the
necessary files, and ran these commands:

  cygrunsrv -I httpd_cygwin -p /usr/sbin/httpd.exe
  cygrunsrv -S httpd_cygwin

It works great on what I've been calling the "good" system.  On the bad
system, cygrunsrv doesn't complain, but the browser times out trying to
load any page, and /var/log/apache/error_log has:

  [Tue Jun  7 11:03:13 2005] [notice] Accept mutex: pthread (Default: pthread)
  D:\cygwin\usr\sbin\httpd.exe (2256): *** unable to remap D:\cygwin\lib\apache\mo
  d_vhost_alias.dll to same address as parent(0x3F0000) != 0x186E0000
  11045493 [main] httpd 3980 fork_parent: child 2256 died waiting for dll loading
  [Tue Jun  7 11:03:14 2005] [error] (10)No child processes: fork: Unable to
  fork new process

I'm not sure I understand why cygrunsrv is preferred if you don't actually
want to run apache as a service.  I've always preferred
`/usr/sbin/apachectl start' for my work.  Moreover, cygrunsrv doesn't
solve my problem.

Joel Denny


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