Apache dies with mod_perl under Windows

Apache dies with mod_perl under Windows

am 27.05.2008 06:04:07 von Dan Horne

This is a multi-part message in MIME format.

------_=_NextPart_001_01C8BFAE.B606A5EB
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Hi
=20
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
=20
The error I get is:
=20
[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
=20
And Apache dies.
=20
I'm just running the standard Apache printenv.pl script, and my config
is:
=20
Alias /perl/ "C:/Apache/Apache2/cgi-bin/"

=20 SetHandler perl-script
=20 PerlResponseHandler ModPerl::Registry
=20 PerlOptions +ParseHeaders
=20 Options +ExecCGI
=20 Order allow,deny
=20 Allow from all=20


I've also tried the MyApache2::Rocks sample from
http://perl.apache.org/docs/2.0/user/intro/start_fast.html

with the same result.
=20
However, querying standard Perl CGI scripts and PHP pages works fine
=20
Any advice appreciated
=20
regards
=20
Dan Horne

Attention:

This email together with any attachments is confidential.=20
If you are not the intended recipient please delete the
=20message and notify the sender. Any views or opinions=20
presented are solely those of the author and will not=20
necessarily reflect the views of Meridian Energy.

************** PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING **********=
***

------_=_NextPart_001_01C8BFAE.B606A5EB
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable



>


class=3D974510803-27052008>Hi

class=3D974510803-27052008> 

I am un=
able to=20
execute Perl scripts under a Windows mod_perl environment. The installati=
on=20
versions:
class=3D974510803-27052008>

Apache/=
2.0.61=20
(Win32) PHP/5.2.5 mod_perl/2.0.3 Perl/v5.8.8

class=3D974510803-27052008> 

The err=
or I get=20
is:

class=3D974510803-27052008> 

[Tue Ma=
y 27 14:59:15=20
2008] [crit] (OS 10106)The requested service provider could not be loaded=
=20or=20
initialized.  : alloc_listener: failed to get a socket for=20
127.0.0.1
Syntax error on line 121 of=20
C:/Apache/Apache2/conf/httpd.conf:
Listen setup failed
DIV>
class=3D974510803-27052008> 

And Apa=
che=20
dies.

class=3D974510803-27052008> 

I'm jus=
t running the=20
standard Apache printenv.pl script, and my config is:
=

class=3D974510803-27052008> 

Alias /=
perl/=20
"C:/Apache/Apache2/cgi-bin/"
<Location /perl/>
  SetHand=
ler=20
perl-script
  PerlResponseHandler ModPerl::Registry
 =20
PerlOptions +ParseHeaders
  Options +ExecCGI
  Order=20
allow,deny
  Allow from all=20

</Location>

I've al=
so tried the=20
MyApache2::Rocks sample from title=3Dhttp://perl.apache.org/docs/2.0/user/intro/start_fas t.html=20
href=3D"BLOCKED::http://perl.apache.org/docs/2.0/user/intro/ start_fast.ht=
ml">http://perl.apache.org/docs/2.0/user/intro/start_fast.ht ml w=
ith=20
the same result.

class=3D974510803-27052008> 

However=
, querying=20
standard Perl CGI scripts and PHP pages works fine

class=3D974510803-27052008> 

Any adv=
ice=20
appreciated

class=3D974510803-27052008> 

class=3D974510803-27052008>regards

class=3D974510803-27052008> 

Dan=20
Horne

Attention:

 

This email together with any attachments is=20
confidential. If you are not the intended recipient please delete the mes=
sage=20
and notify the sender. Any views or opinions presented are solely those o=
f the=20
author and will not necessarily reflect the views of Meridian Energy.=20

 

 
*******=
*******=20
PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING ************* >
 

 




------_=_NextPart_001_01C8BFAE.B606A5EB--

Re: Apache dies with mod_perl under Windows

am 27.05.2008 07:55:39 von Octavian Rasnita

From: "Dan Horne"
Hi
=20
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
=20
The error I get is:
=20
[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
=20
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

RE: Apache dies with mod_perl under Windows

am 27.05.2008 23:07:13 von Dan Horne

> 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.=20
If you are not the intended recipient please delete the
=20message and notify the sender. Any views or opinions=20
presented are solely those of the author and will not=20
necessarily reflect the views of Meridian Energy.

************** PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING **********=
***