You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Dan Horne <Da...@MeridianEnergy.co.nz> on 2008/05/27 06:04:07 UTC
Apache dies with mod_perl under Windows
Hi
I am unable to execute Perl scripts under a Windows mod_perl
environment. The installation versions:
Apache/2.0.61 (Win32) PHP/5.2.5 mod_perl/2.0.3 Perl/v5.8.8
The error I get is:
[Tue May 27 14:59:15 2008] [crit] (OS 10106)The requested service
provider could not be loaded or initialized. : alloc_listener: failed
to get a socket for 127.0.0.1
Syntax error on line 121 of C:/Apache/Apache2/conf/httpd.conf:
Listen setup failed
And Apache dies.
I'm just running the standard Apache printenv.pl script, and my config
is:
Alias /perl/ "C:/Apache/Apache2/cgi-bin/"
<Location /perl/>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Order allow,deny
Allow from all
</Location>
I've also tried the MyApache2::Rocks sample from
http://perl.apache.org/docs/2.0/user/intro/start_fast.html
<BLOCKED::http://perl.apache.org/docs/2.0/user/intro/start_fast.html>
with the same result.
However, querying standard Perl CGI scripts and PHP pages works fine
Any advice appreciated
regards
Dan Horne
Attention:
This email together with any attachments is confidential.
If you are not the intended recipient please delete the
message and notify the sender. Any views or opinions
presented are solely those of the author and will not
necessarily reflect the views of Meridian Energy.
************** PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING *************
RE: Apache dies with mod_perl under Windows
Posted by Dan Horne <Da...@MeridianEnergy.co.nz>.
> From: Octavian Rasnita
> What version of perl are you using?
> I know that ActivePerl 5.8.8 build 822 gives errors when using it with
Apache and mod_perl.
> So I use ActivePerl build 820.
> Octavian
Ah, well I'm running 822, so that might be the problem...
Attention:
This email together with any attachments is confidential.
If you are not the intended recipient please delete the
message and notify the sender. Any views or opinions
presented are solely those of the author and will not
necessarily reflect the views of Meridian Energy.
************** PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING *************
Re: Apache dies with mod_perl under Windows
Posted by Octavian Rasnita <or...@gmail.com>.
From: "Dan Horne" <Da...@MeridianEnergy.co.nz>
Hi
I am unable to execute Perl scripts under a Windows mod_perl
environment. The installation versions:
Apache/2.0.61 (Win32) PHP/5.2.5 mod_perl/2.0.3 Perl/v5.8.8
The error I get is:
[Tue May 27 14:59:15 2008] [crit] (OS 10106)The requested service
provider could not be loaded or initialized. : alloc_listener: failed
to get a socket for 127.0.0.1
Syntax error on line 121 of C:/Apache/Apache2/conf/httpd.conf:
Listen setup failed
What version of perl are you using?
I know that ActivePerl 5.8.8 build 822 gives errors when using it with Apache and mod_perl.
So I use ActivePerl build 820.
Octavian