This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin 1.5.17-1: apache and rebaseall
- From: Joel Denny <jdenny at hubcap dot clemson dot edu>
- To: cygwin at cygwin dot com
- Date: Tue, 7 Jun 2005 11:32:44 -0400 (EDT)
- Subject: Re: cygwin 1.5.17-1: apache and rebaseall
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/