Hi,
I am also using modperl 2.03 with Apache 2.2 under Windows XP, and I have
very often problems when trying to restart the web server.
I use the following command:
net stop apache2.2
It tries to stop and after a few tens of seconds it reports that the server
cannot be stopped.
If I try to start the web server immediately after this, using
net start apache2.2
it complains that the server cannot start because the port is used.
If I use again the command
net stop apache2.2
it gives a strange error telling that this command is not available for the
specified service, or something like that.
But I have discovered that the OS keeps trying to stop the service, and
after some more time it stoppes the web server, and I can start it again
fine.
Maybe my experience helps.
Octavian
----- Original Message -----
From: "Raymond Wan" <[EMAIL PROTECTED]>
To: "Foo JH" <[EMAIL PROTECTED]>
Cc: <modperl@perl.apache.org>
Sent: Friday, June 15, 2007 1:15 PM
Subject: Re: modperl2 + apache2.2 unable to restart
Hi,
Foo JH wrote:
What's the actual error from the error_log?
Below shows apache shutting and and restarting...and failed.
[Thu Jun 14 17:30:19 2007] [notice] Parent: Received restart signal --
Restarting the server.
[Thu Jun 14 17:30:19 2007] [notice] Child 5780: Exit event signaled.
Child process is ending.
[Thu Jun 14 17:30:20 2007] [notice] Apache/2.2.4 (Win32)
mod_apreq2-20051231/2.6.0-dev mod_perl/2.0.3 Perl/v5.8.8 configured --
resuming normal operations
I'm actually new to both Apache and mod_perl (a few weeks!), but if I were
in your situation, one thing I would try is to remove apreq2 and mod_perl
and try starting Apache 2.2 without them. I'd even re-install Apache 2.2
or try running with an empty httpd.conf...
But, just random guessing here...even if they don't work, their error logs
might prove useful.
Ray