httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dwayne Miller" <>
Subject Re: 2.0.31 on Windows
Date Mon, 04 Feb 2002 21:57:26 GMT
I tracked down my problem with not being able to run Apache as a 
service.  The ServerRoot param was not set correctly.  It was /Apache2 
instead of D:/Apache2.  
This configuration file error was never logged anywhere.  Not only that, 
even with this setting, Apache would run fine from the command line.

But trying to start as a server, the ap_walk_config() routine, called in 
server/config.c returned the error  and called exit(1).

Somewhere, this error should be presented to the user.  I'm just not 
sure where, or how to do it.

Dwayne Miller wrote:

> I'm not familiar with the -n apache2 option, but I was just trying to 
> figure out why I can't get apache to run as a service.  I'm using the 
> -k start option, a message that it's starting the service appears, but 
> nothing happens.  In the service.c file, I added a line to print the 
> 'Failed to start the service' message as I was not seeing this message 
> in any of my log files.  It in fact fails to start the service.
> Bill Stoddard wrote:
>> Couple of problems noticed in a few minutes of testing
>> 1. apache -k restart -n apache2 is broken. hangs forever and a new 
>> child process is never
>> started.
>> 2. If I kill off the child process (by attaching and detaching a 
>> debugger for instance),
>> the parent should detect the child process exit and start a new child 
>> process. Instead,
>> the parent goes belly up.
>> Beta killers (for Windows at least).
>> Bill

View raw message