Dear Monks,
I have discovered that there can be a problem restarting Apache 2.2.6 on Windows when mod_perl is installed. If you run "httpd -k restart", Apache can fail to start and produce the following type of errors in the Apache error.log:
In my case, line 53 (cited in the error above) was simply: "Listen 80", which was working fine prior to the attempted restart.[Wed Jan 02 10:26:41 2008] [crit] (OS 10106)The requested service prov +ider could not be loaded or initialized. : alloc_listener: failed to + get a socket for (null) Syntax error on line 53 of C:/Apache2/conf/httpd.conf: Listen setup failed [Wed Jan 02 14:06:25 2008] [crit] (OS 6)The handle is invalid. : mast +er_main: create child process failed. Exiting.
After consulting on www.apachelounge.com, I learned that this a recently reported mod_perl bug.
One workaround is to use "httpd –k stop" followed by "httpd –k start" rather than "httpd -k restart". This approach resolved the problem for me.
Hope this helps.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem restarting Apache 2.2.6 on Windows when mod_perl is installed
by Burak (Chaplain) on Jan 02, 2008 at 22:37 UTC |