This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Apache mod_ssl fork problem
- From: Elfyn McBratney <elfyn at cygwin dot com>
- To: andrew brian clegg <a dot clegg at mail dot cryst dot bbk dot ac dot uk>
- Cc: cygwin at cygwin dot com
- Date: Sun, 6 Jul 2003 21:29:13 +0100
- Subject: Re: Apache mod_ssl fork problem
- References: <Pine.LNX.4.44.0307061619040.7795-200000@sark.cryst.bbk.ac.uk>
- Reply-to: cygwin at cygwin dot com
On Sun, 6 Jul 2003, andrew brian clegg wrote:
>
> Hi folks,
>
> I'm having problems connecting to Apache with mod_ssl (all latest
> versions) -- the output of error_log looks like this:
>
>
> D:\cygwin\usr\sbin\httpd.exe: *** unable to remap D:\cygwin\bin\cygssl.dll
> to same address as parent(0xB20000) != 0xB30000
> 65154432 [main] httpd 2956 sync_with_child: child 3048(0x684) died before
> initialization with status code 0x1
> 65200803 [main] httpd 2956 sync_with_child: *** child state child loading
> dlls
> [Sun Jul 6 16:17:14 2003] [error] (11)Resource temporarily unavailable:
> fork: Unable to fork new process
>
>
> over and over. I've tried rebasing everything as discussed in
>
> http://www.cygwin.com/ml/cygwin/2002-10/msg00698.html
>
> but with no joy, cygssl.dll still doesn't want to remap. I made sure I had
> nothing but bash running when I did the rebase, closed all services etc...
>
> Any suggestions gratefully received. Since this is for a low-volume
> private server, is there any way to kick off a pool of httpd processes in
> advance rather than forking to answer each request -- maybe with inetd?
> Would that help? Haven't used apache (or unix web servers at all) for ages
> so I'm a bit out of practice.
You need to rebase all of your CYgwin DLL's. If you don't already have the
'rebase' package installed, install it, and make sure there are *no* Cygwin
processes running (this includes cygrunsrv services. conform with `pw -e'). Then
you need to open up a command.com/cmd.exe bash shell (you cannot use rxvt) and
type
rebaseall -v
at the prompt. You should be fine after that.
Elfyn
--
--
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/