[Catalyst] Can't start Apache when using Catalyst

Octavian Rasnita orasnita at gmail.com
Sun Sep 23 11:31:00 GMT 2007


Hello,

I am using Windows XP SP2, Apache 2.2.4, Active perl 5.8.8 build 822,
mod_perl 2.03, and Catalyst 5.7010.

If I want to start apache and if I have a virtualhost that uses Catalyst,
most of the times it gives the following errors and doesn't want to start:

[Sun Sep 23 00:35:36 2007] [crit] master_main: create child process failed.
Exiting.
[Sun Sep 23 00:36:06 2007] [notice] Parent: Forcing termination of child
process 36
[Sun Sep 23 00:36:06 2007] [info] removed PID file E:/apache/logs/httpd.pid
(pid=3840)

It is strange because sometimes even if I use Catalyst, the server starts,
but very seldom.
If I used just a virtualhost without Catalyst, but only with mod_perl
handlers, the server starts fine.

I've searched very much on the web these days about this issue, and I heard
that this error can be caused by some antiviruses or antispyware programs,
and I've uninstalled Nod32, however these errors still appear.
I have a new computer and I haven't used Apache with Catalyst on it until
now (Core 2 Duo).
I've tried many things, like resetting the TCP/IP settings and configuring
them again, changing some settings for the network card, closing some
programs that run permanently, however nothing changes. Very rarely Apache
starts, but most of the times it gives the errors above.

Yesterday I convinced it to start and it worked with a Catalyst app, but I
added the plugin I18N to the application, and it didn't want to start
anymore even after I remove that module call from the app.

Do you have any idea if Catalyst can do something that could make Apache
give those errors?
I think some modules from Catalyst have a kind of incompatibility with
something else from my computer, because without Catalyst, the web server
always start.

I've also reinstalled perl and installed Catalyst using ppm (a version a 
little older), and Apache still doesn't want to start. It gives the 
following errors this time:

[Sun Sep 23 12:31:23 2007] [crit] master_main: create child process failed. 
Exiting.
[Sun Sep 23 12:31:53 2007] [notice] Parent: Forcing termination of child 
process 36
[Sun Sep 23 12:31:53 2007] [info] removed PID file E:/apache/logs/httpd.pid 
(pid=3712)
[Sun Sep 23 12:32:23 2007] [notice] Apache/2.2.4 (Win32) 
mod_apreq2-20051231/2.6.2-dev mod_perl/2.0.3 Perl/v5.8.8 configured --  
resuming normal operations
[Sun Sep 23 12:32:23 2007] [notice] Server built: Jan  9 2007 23:17:20
[Sun Sep 23 12:32:23 2007] [notice] Parent: Created child process 2116
[Sun Sep 23 12:32:23 2007] [debug] mpm_winnt.c(481): Parent: Sent the 
scoreboard to the child
[Sun Sep 23 12:32:23 2007] [notice] Child 2116: Child process is running
[Sun Sep 23 12:32:23 2007] [info] Parent: Duplicating socket 184 and sending 
it to child process 2116
[Sun Sep 23 12:32:23 2007] [debug] mpm_winnt.c(402): Child 2116: Retrieved 
our scoreboard from the parent.
[Sun Sep 23 12:32:23 2007] [debug] mpm_winnt.c(599): Parent: Sent 1 
listeners to child 2116
[Sun Sep 23 12:32:23 2007] [debug] mpm_winnt.c(558): Child 2116: retrieved 1 
listeners from parent
[Sun Sep 23 12:32:23 2007] [notice] Child 2116: Acquired the start mutex.
[Sun Sep 23 12:32:23 2007] [notice] Child 2116: Starting 250 worker threads.
[Sun Sep 23 12:32:23 2007] [notice] Child 2116: Starting thread to listen on 
port 80.
[Sun Sep 23 13:18:48 2007] [notice] Parent: Received shutdown signal --  
Shutting down the server.
[Sun Sep 23 13:18:48 2007] [notice] Child 2116: Exit event signaled. Child 
process is ending.
[Sun Sep 23 13:18:49 2007] [info] Child 2116: Accept thread exiting.
[Sun Sep 23 13:18:49 2007] [notice] Child 2116: Released the start mutex
[Sun Sep 23 13:18:49 2007] [info] Child 2116: 250 threads blocked on the 
completion port
[Sun Sep 23 13:18:50 2007] [notice] Child 2116: Waiting for 250 worker 
threads to exit.
[Sun Sep 23 13:18:50 2007] [notice] Child 2116: All worker threads have 
exited.
[Sun Sep 23 13:18:50 2007] [notice] Child 2116: Child process is exiting
[Sun Sep 23 13:18:50 2007] [notice] Parent: Child process exited 
successfully.
[Sun Sep 23 13:18:50 2007] [info] removed PID file E:/apache/logs/httpd.pid 
(pid=2092)


Thank you very much for any helpful idea.

Octavian




More information about the Catalyst mailing list