William A. Rowe, Jr. wrote:
Many thanks to Ruediger for reviewing 2.0 and 2.2 so far, and to both
Jim and Jeff for their reviews of current/2.2 modern flavors. I could
use a set of eyeballs on the final log.c patch for 2.2, and the patch
set for our old 'n crusty 2.0.
I'm especially interested if any Win32 folks want to take a peek at my
suggested mpm_winnt change set before I commit it to 2.0. Holler if
you are.
re: mpm_winnt change 569541 for 2.2 -
This seems to cause "unable to replace stderr with error_log" CRIT
errors at startup.
No problem when started with -X, it happens only when there is a *real*
child process (which sure doesn't make debugging it any easier!)
I see this on w2k and XP. Maybe the child tries to set up stderr before
getting all the info from the parent?
-tom-
debug error.log from (Aug 27) 2.2.x tree running on win2k
====================================================
[Mon Aug 27 12:43:50 2007] [notice] Apache/2.2.6-dev (Win32) configured
-- resuming normal operations
[Mon Aug 27 12:43:50 2007] [notice] Server built: Aug 27 2007 12:39:13
[Mon Aug 27 12:43:50 2007] [notice] Parent: Created child process 2616
[Mon Aug 27 12:43:50 2007] [debug] mpm_winnt.c(487): Parent: Sent the
scoreboard to the child
[Mon Aug 27 12:43:50 2007] [crit] (OS 6)The handle is invalid. : unable
to replace stderr with error_log
[Mon Aug 27 12:43:50 2007] [crit] (2)No such file or directory: unable
to replace stderr with /dev/null
[Mon Aug 27 12:43:50 2007] [crit] (OS 6)The handle is invalid. : unable
to replace stderr with error_log
[Mon Aug 27 12:43:50 2007] [crit] (2)No such file or directory: unable
to replace stderr with /dev/null
[Mon Aug 27 12:43:50 2007] [notice] Child 2616: Child process is running
[Mon Aug 27 12:43:50 2007] [info] Parent: Duplicating socket 904 and
sending it to child process 2616
[Mon Aug 27 12:43:50 2007] [debug] mpm_winnt.c(408): Child 2616:
Retrieved our scoreboard from the parent.
[Mon Aug 27 12:43:50 2007] [debug] mpm_winnt.c(605): Parent: Sent 1
listeners to child 2616
[Mon Aug 27 12:43:50 2007] [debug] mpm_winnt.c(564): Child 2616:
retrieved 1 listeners from parent
[Mon Aug 27 12:43:50 2007] [notice] Child 2616: Acquired the start mutex.
[Mon Aug 27 12:43:50 2007] [notice] Child 2616: Starting 50 worker threads.
[Mon Aug 27 12:43:50 2007] [notice] Child 2616: Starting thread to
listen on port 80.
[