RE: Apache crashing
My virtual host:
Allow from all=20
<Files ~ "\.(cgi)$">
Earlier in the conf, I'm doing:
From: Foo JH [mailto:firstname.lastname@example.org]=20
Sent: Tuesday, October 09, 2007 12:43 PM
To: Ian G. Tyndall
Subject: Re: Apache crashing
What's your modperl config like?
Ian G. Tyndall wrote:[color=blue]
> Ok, I decided to upgrade my Apache to see if that would fix things.
> I installed 2.2.4, and I was getting the same error as originally=20
> reported... but more often.
> Then, I upgraded to 2.2.6 from the Apachelounge... and now I'm getting[/color]
> an error.
> The error is as follows:
> [Tue Oct 09 08:50:20 2007] [error] [client 192.168.3.28] failed to=20
> resolve handler `ModPerl::Registry': Can't load=20
> 'X:/perl/5.8.8/site/lib/auto/Apache2/RequestRec/RequestRec.dll' for=20
> module Apache2::RequestRec: load_file:The specified procedure could=20
> not be found at X:/perl/5.8.8/lib/XSLoader.pm line 64.\n at=20
> X:/perl/5.8.8/site/lib/Apache2/XSLoader.pm line 31\nCompilation failed[/color]
> in require at X:/perl/5.8.8/site/lib/ModPerl/RegistryCooker.pm line=20
> 32.\nBEGIN failed--compilation aborted at=20
> X:/perl/5.8.8/site/lib/ModPerl/RegistryCooker.pm line 32.\nCompilation[/color]
> failed in require at (eval 5) line 3.\n\t...propagated at=20
> X:/perl/5.8.8/lib/base.pm line 91.\nBEGIN failed--compilation aborted=20
> at X:/perl/5.8.8/site/lib/ModPerl/Registry.pm line 26.\nCompilation=20
> failed in require at (eval 4) line 3.\n
> I did do a fresh install of ModPerl 2.0.3, and I've seen similar=20
> "failed to resolve handler" messages on the web... but nothing like[/color]
> Any suggestions/thoughts!
> Thanks again,
> -----Original Message-----
> From: Randy Kobes [mailto:email@example.com]
> Sent: Thursday, October 04, 2007 3:40 PM
> To: Ian G. Tyndall
> Cc: [email]firstname.lastname@example.org[/email]
> Subject: Re: Apache crashing
> On Thu, 4 Oct 2007, Ian G. Tyndall wrote:
>> Oh the problems come and go so quickly!
>> I've got one cgi script that always crashes apache. The error log=20
>> gives the following message:
>> [Thu Oct 04 11:38:29 2007] [crit] (22)Invalid argument: Parent:=20
>> to create the child process.
>> [Thu Oct 04 11:38:29 2007] [crit] (OS 6)The handle is invalid. :
>> master_main: create child process failed. Exiting.
>> [Thu Oct 04 11:38:29 2007] [notice] Parent: Forcing termination of=20
>> child process 2474288
>> Other scripts run fine... so what would be the best way of debugging=20
>> I'm in the process of commenting out modules/code, but no luck so
>> any recommendations?
>> I'm using mod_perl 2.0.3, perl 5.8.8, apache 2.0.59 on a Windows 2003[/color][/color]
> Is this a cgi script, or a mod_perl registry script?
> Although the log messages are generic, similar messages appear when=20
> one tries to restart apache with mod_perl enabled - if it's a cgi=20
> script, does commenting out the loading of mod_perl.so help?
> As for tracking down the problem, reducing it to a minimal version=20
> will help. If you can do this, and don't see the problem, try posting=20
> it to the list here. Also, trying some of the debugging tips suggested[/color]
> in the thread
> may help, along with installing
> to help in the crash analysis.
> best regards,