Bug 11854 - Unable to Start Apache2 (exits in 1/2 second after start, leaving [crit] errors in Log)
Summary: Unable to Start Apache2 (exits in 1/2 second after start, leaving [crit] erro...
Status: CLOSED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.0.40
Hardware: PC All
: P3 critical with 1 vote (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: FAQ
Depends on:
Blocks:
 
Reported: 2002-08-20 13:09 UTC by Moran Zaltsman
Modified: 2005-03-20 17:06 UTC (History)
0 users



Attachments
Patch to call apr_initialize prior to checking if utf-8 fixups are required (1.05 KB, patch)
2002-08-20 13:53 UTC, William A. Rowe Jr.
Details | Diff
Small problem, apr_app_init can be called multiple times, this patch also resets the initialized flag to prevent double-initialization. (1.17 KB, patch)
2002-08-20 14:03 UTC, William A. Rowe Jr.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Moran Zaltsman 2002-08-20 13:09:33 UTC
I'm Unable to Start Apache2 - It Exists in 1/2 Second after i Start it !
and this is What I've Found in the Log :

///
[Tue Aug 20 15:54:39 2002] [crit] (22)Invalid argument: Parent: Failed to 
create the child process.
[Tue Aug 20 15:54:39 2002] [crit] (22506)The handle is invalid.  : master_main: 
create child process failed. Exiting.
[Tue Aug 20 15:54:39 2002] [notice] Parent: Forcing termination of child 
process 3121056 
///

my Box is a 950Mhz Athlon w/256MB RAM, Running Win2K.Prof w/SP3 - and not any 
Firewall.

if you need my httpd.conf or any other Info. - just Ask !

P.S. : Apache2 (with the current config.) used to Run on my System just 2 days 
ago !
Comment 1 Moran Zaltsman 2002-08-20 13:13:16 UTC
P.S. II :
this is not the Downloadable Binary from httpd.apache.org - but a one that i've 
compiled myself (using VC++ 6 w/SP5)

this is FYI only : as i've tried the Binary also - but incurred with the Same 
result.
Comment 2 William A. Rowe Jr. 2002-08-20 13:53:34 UTC
Created attachment 2775 [details]
Patch to call apr_initialize prior to checking if utf-8 fixups are required
Comment 3 William A. Rowe Jr. 2002-08-20 13:54:15 UTC
  This is a bug.  You mention you can compile apache yourself, please try the
  attached patch.  Apache calls apr_app_initialize, which checks if it has
  started on a WinNT-flavor Unicode-enabled platform.  But it hadn't called
  apr_initialize to set up the oslevel flag before checking the platform.

  If you report this clears up your bug, I'll commit, fix will be in the 
  2.0.41 release.


  
Comment 4 William A. Rowe Jr. 2002-08-20 14:03:34 UTC
Created attachment 2776 [details]
Small problem, apr_app_init can be called multiple times, this patch also resets the initialized flag to prevent double-initialization.
Comment 5 Moran Zaltsman 2002-08-20 15:20:09 UTC
That was Fast man !

Thanks ! :]

It've Solved my Problem - Apache2 now Starts OK.

Thanks for your Dedication.
Comment 6 William A. Rowe Jr. 2002-08-20 18:32:51 UTC
  Yup... this will become an FAQ till .41 is in user's hands.  Fix committed.