Constant subroutine redefined at Apache/PerlRun.pm line 360

Constant subroutine redefined at Apache/PerlRun.pm line 360

am 29.12.2010 01:56:58 von Sudhakara.Peram

This is a multi-part message in MIME format.

------_=_NextPart_001_01CBA6F3.50052750
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi All

=20

I am migrating Perl 5.005 to 5.12.2, Apache 1.3.9 to 1.3.42 and mod_perl
1.21 to 1.31. But I am getting following warnings in error_log file.=20

=20

Message in error_log:

=20

Constant subroutine Apache::ROOT::xxxxxx redefined at
~/lib/perl5/site_perl/5.12.2/sun4-solaris-64int/Apache/PerlR un.pm line
360.

=20

Can anyone let me know how to get rid of above warning messages.

=20

Thanks in advance for your help!

=20

=20

=20

Regards

Sudhakar

=20


------_=_NextPart_001_01CBA6F3.50052750
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" =
xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" =
xmlns:a=3D"urn:schemas-microsoft-com:office:access" =
xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" =
xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" =
xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" =
xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" =
xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" =
xmlns:c=3D"urn:schemas-microsoft-com:office:component:spread sheet" =
xmlns:odc=3D"urn:schemas-microsoft-com:office:odc" =
xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" =
xmlns:html=3D"http://www.w3.org/TR/REC-html40" =
xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" =
xmlns:rtc=3D"http://microsoft.com/officenet/conferencing" =
xmlns:D=3D"DAV:" xmlns:Repl=3D"http://schemas.microsoft.com/repl/" =
xmlns:mt=3D"http://schemas.microsoft.com/sharepoint/soap/mee tings/" =
xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/x ml" =
xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" =
xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/oi s/" =
xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/di rectory/" =
xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" =
xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" =
xmlns:udc=3D"http://schemas.microsoft.com/data/udc" =
xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" =
xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/20 02/1/alerts/"=
xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" =
xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" =
xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" =
xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" =
xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/soap" =
xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile " =
xmlns:udcp2p=3D"http://schemas.microsoft.com/data/udc/partto part" =
xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/wor kflow/" =
xmlns:dsss=3D"http://schemas.microsoft.com/office/2006/digsi g-setup" =
xmlns:dssi=3D"http://schemas.microsoft.com/office/2006/digsi g" =
xmlns:mdssi=3D"http://schemas.openxmlformats.org/package/200 6/digital-sig=
nature" =
xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compa tibility/2006=
" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns:mrels=3D"http://schemas.openxmlformats.org/package/200 6/relationshi=
ps" xmlns:spwp=3D"http://microsoft.com/sharepoint/webpartpages" =
xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/service s/2006/types"=
=
xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/service s/2006/messag=
es" =
xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/ SlideLibrary/=
" =
xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPor talServer/Pub=
lishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" =
xmlns:st=3D"" xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Hi All



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'> 



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>I am migrating Perl 5.005 to 5.12.2, Apache 1.3.9 to 1.3.42 =
and
mod_perl 1.21 to 1.31. But I am getting following warnings in error_log =
file.



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'> 



style=3D'font-size:10.0pt;
font-family:"Arial","sans-serif";color:#00B050'>Message in =
error_log:



style=3D'font-size:10.0pt;
font-family:"Arial","sans-serif";color:#00B050'> 
<=
/b>



style=3D'font-size:10.0pt;
font-family:"Arial","sans-serif";color:#00B050'>Constant subroutine
Apache::ROOT::xxxxxx redefined at =
~/lib/perl5/site_perl/5.12.2/sun4-solaris-64int/Apache/PerlR un.pm
line 360.



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'> 



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Can anyone let me know how to get rid of above warning =
messages.



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'> 



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Thanks in advance for your help!



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'> 



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'> 



style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'> 



style=3D'color:blue'>Regards



style=3D'color:blue'>Sudhakar



 









------_=_NextPart_001_01CBA6F3.50052750--

Re: Constant subroutine redefined at Apache/PerlRun.pm line 360

am 29.12.2010 02:14:37 von Fred Moyer

On Tue, Dec 28, 2010 at 4:56 PM, Peram, Sudhakara
wrote:
> Hi All
>
>
>
> I am migrating Perl 5.005 to 5.12.2, Apache 1.3.9 to 1.3.42 and mod_perl
> 1.21 to 1.31. But I am getting following warnings in error_log file.

For what it is worth, you may want to upgrade to Apache 2.2.x and
mod_perl 2.0.4 instead. The Apache 1.xx version line has been end of
lifed for almost a year now. This doesn't mean you won't get help
from this list for mod_perl1, but if you are going to upgrade now,
consider mod_perl2 instead.

http://httpd.apache.org/

"Apache httpd 1.3.42 is the final stable version of the 1.3 series,
which was released and declared end of life on February 2nd, 2010. No
further development or maintenance will occur for the 1.3 series."

>
>
>
> Message in error_log:
>
>
>
> Constant subroutine Apache::ROOT::xxxxxx redefined at
> ~/lib/perl5/site_perl/5.12.2/sun4-solaris-64int/Apache/PerlR un.pm line 360.
>
>
>
> Can anyone let me know how to get rid of above warning messages.
>
>
>
> Thanks in advance for your help!
>
>
>
>
>
>
>
> Regards
>
> Sudhakar
>
>

RE: Constant subroutine redefined at Apache/PerlRun.pm line 360

am 29.12.2010 02:19:16 von Sudhakara.Peram

This is a multi-part message in MIME format.

------_=_NextPart_001_01CBA6F6.6EC276B8
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Thank you Fred Moyer for your response.

=20

As per our application architecture we need to ENV variables from perl
script to another perl script and the same feature is disabled in
Apache2 & mod_perl2. Because of this reason we are stick to mod_perl1.
Before sticking to mod_per1, I tried with mod_perl2 also and I am
getting same messages in error_log.

=20

Can you please help me to get rid of this.

=20

=20

Regards

Sudhakar

=20

-----Original Message-----
From: Fred Moyer [mailto:fred@redhotpenguin.com]=20
Sent: Tuesday, December 28, 2010 8:15 PM
To: Peram, Sudhakara
Cc: modperl@perl.apache.org
Subject: Re: Constant subroutine redefined at Apache/PerlRun.pm line 360

=20

On Tue, Dec 28, 2010 at 4:56 PM, Peram, Sudhakara

wrote:

> Hi All

>=20

>=20

>=20

> I am migrating Perl 5.005 to 5.12.2, Apache 1.3.9 to 1.3.42 and
mod_perl

> 1.21 to 1.31. But I am getting following warnings in error_log file.

=20

For what it is worth, you may want to upgrade to Apache 2.2.x and

mod_perl 2.0.4 instead. The Apache 1.xx version line has been end of

lifed for almost a year now. This doesn't mean you won't get help

from this list for mod_perl1, but if you are going to upgrade now,

consider mod_perl2 instead.

=20

http://httpd.apache.org/

=20

"Apache httpd 1.3.42 is the final stable version of the 1.3 series,

which was released and declared end of life on February 2nd, 2010. No

further development or maintenance will occur for the 1.3 series."

=20

>=20

>=20

>=20

> Message in error_log:

>=20

>=20

>=20

> Constant subroutine Apache::ROOT::xxxxxx redefined at

> ~/lib/perl5/site_perl/5.12.2/sun4-solaris-64int/Apache/PerlR un.pm line
360.

>=20

>=20

>=20

> Can anyone let me know how to get rid of above warning messages.

>=20

>=20

>=20

> Thanks in advance for your help!

>=20

>=20

>=20

>=20

>=20

>=20

>=20

> Regards

>=20

> Sudhakar

>=20

>=20


------_=_NextPart_001_01CBA6F6.6EC276B8
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" =
xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" =
xmlns:a=3D"urn:schemas-microsoft-com:office:access" =
xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" =
xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" =
xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" =
xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" =
xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" =
xmlns:c=3D"urn:schemas-microsoft-com:office:component:spread sheet" =
xmlns:odc=3D"urn:schemas-microsoft-com:office:odc" =
xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" =
xmlns:html=3D"http://www.w3.org/TR/REC-html40" =
xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" =
xmlns:rtc=3D"http://microsoft.com/officenet/conferencing" =
xmlns:D=3D"DAV:" xmlns:Repl=3D"http://schemas.microsoft.com/repl/" =
xmlns:mt=3D"http://schemas.microsoft.com/sharepoint/soap/mee tings/" =
xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/x ml" =
xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" =
xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/oi s/" =
xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/di rectory/" =
xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" =
xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" =
xmlns:udc=3D"http://schemas.microsoft.com/data/udc" =
xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" =
xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/20 02/1/alerts/"=
xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" =
xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" =
xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" =
xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" =
xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/soap" =
xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile " =
xmlns:udcp2p=3D"http://schemas.microsoft.com/data/udc/partto part" =
xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/wor kflow/" =
xmlns:dsss=3D"http://schemas.microsoft.com/office/2006/digsi g-setup" =
xmlns:dssi=3D"http://schemas.microsoft.com/office/2006/digsi g" =
xmlns:mdssi=3D"http://schemas.openxmlformats.org/package/200 6/digital-sig=
nature" =
xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compa tibility/2006=
" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns:mrels=3D"http://schemas.openxmlformats.org/package/200 6/relationshi=
ps" xmlns:spwp=3D"http://microsoft.com/sharepoint/webpartpages" =
xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/service s/2006/types"=
=
xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/service s/2006/messag=
es" =
xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/ SlideLibrary/=
" =
xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPor talServer/Pub=
lishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" =
xmlns:st=3D"" xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









Thank you Fred Moyer =
for your
response.



style=3D'color:blue'> 



As per our =
application
architecture we need to ENV variables from perl script to another perl =
script
and the same feature is disabled in Apache2 & mod_perl2. Because of =
this
reason we are stick to mod_perl1. Before sticking to mod_per1, I tried =
with
mod_perl2 also and I am getting same messages in =
error_log.



style=3D'color:blue'> 



Can you please help =
me to get
rid of this.



style=3D'color:blue'> 



style=3D'color:blue'> 



style=3D'color:blue'>Regards



style=3D'color:blue'>Sudhakar



 



-----Original Message-----

From: Fred Moyer [mailto:fred@redhotpenguin.com]

Sent: Tuesday, December 28, 2010 8:15 PM

To: Peram, Sudhakara

Cc: modperl@perl.apache.org

Subject: Re: Constant subroutine redefined at Apache/PerlRun.pm line =
360



 



On Tue, Dec 28, 2010 at 4:56 PM, Peram, =
Sudhakara



<Sudhakara.Peram@pfizer.com> =
wrote:



> Hi All



> 



> 



> 



> I am migrating Perl 5.005 to 5.12.2, Apache =
1.3.9 to
1.3.42 and mod_perl



> 1.21 to 1.31. But I am getting following =
warnings in
error_log file.



 



For what it is worth, you may want to upgrade to =
Apache
2.2.x and



mod_perl 2.0.4 instead.  The Apache 1.xx =
version line has
been end of



lifed for almost a year now.  This doesn't =
mean you won't
get help



from this list for mod_perl1, but if you are =
going to
upgrade now,



consider mod_perl2 instead.



 



http://httpd.apache.org/



 



"Apache httpd 1.3.42 is the final stable =
version of
the 1.3 series,



which was released and declared end of life on =
February
2nd, 2010. No



further development or maintenance will occur =
for the 1.3
series."



 



> 



> 



> 



> Message in error_log:



> 



> 



> 



> Constant subroutine Apache::ROOT::xxxxxx =
redefined
at



>
~/lib/perl5/site_perl/5.12.2/sun4-solaris-64int/Apache/PerlR un.pm line =
360.



> 



> 



> 



> Can anyone let me know how to get rid of =
above
warning messages.



> 



> 



> 



> Thanks in advance for your =
help!



> 



> 



> 



> 



> 



> 



> 



> Regards



> 



> Sudhakar



> 



> 









------_=_NextPart_001_01CBA6F6.6EC276B8--

Re: Constant subroutine redefined at Apache/PerlRun.pm line 360

am 29.12.2010 02:25:27 von Fred Moyer

On Tue, Dec 28, 2010 at 5:19 PM, Peram, Sudhakara
wrote:
> As per our application architecture we need to ENV variables from perl
> script to another perl script and the same feature is disabled in Apache2=
&
> mod_perl2. Because of this reason we are stick to mod_perl1. Before stick=
ing
> to mod_per1, I tried with mod_perl2 also and I am getting same messages i=
n
> error_log.

The warning itself looks fairly harmless, it is probably occurring
because the interpreter is reloading your script.

I'm not that knowledgeable on using PerlRun, but this presentation has
some examples you may find helpful:

http://ectoplasm.org/Talks/mod_perl-2.0-from-cgi-fast.pdf

You can probably also put the following statement at the top of your
script after use warnings:

no warnings 'undefined';

I would need to see the relevant code and httpd.conf sections to be of
any more help.

>
>
>
> Can you please help me to get rid of this.
>
>
>
>
>
> Regards
>
> Sudhakar
>
>
>
> -----Original Message-----
> From: Fred Moyer [mailto:fred@redhotpenguin.com]
> Sent: Tuesday, December 28, 2010 8:15 PM
> To: Peram, Sudhakara
> Cc: modperl@perl.apache.org
> Subject: Re: Constant subroutine redefined at Apache/PerlRun.pm line 360
>
>
>
> On Tue, Dec 28, 2010 at 4:56 PM, Peram, Sudhakara
>
> wrote:
>
>> Hi All
>
>>
>
>>
>
>>
>
>> I am migrating Perl 5.005 to 5.12.2, Apache 1.3.9 to 1.3.42 and mod_perl
>
>> 1.21 to 1.31. But I am getting following warnings in error_log file.
>
>
>
> For what it is worth, you may want to upgrade to Apache 2.2.x and
>
> mod_perl 2.0.4 instead.=A0 The Apache 1.xx version line has been end of
>
> lifed for almost a year now.=A0 This doesn't mean you won't get help
>
> from this list for mod_perl1, but if you are going to upgrade now,
>
> consider mod_perl2 instead.
>
>
>
> http://httpd.apache.org/
>
>
>
> "Apache httpd 1.3.42 is the final stable version of the 1.3 series,
>
> which was released and declared end of life on February 2nd, 2010. No
>
> further development or maintenance will occur for the 1.3 series."
>
>
>
>>
>
>>
>
>>
>
>> Message in error_log:
>
>>
>
>>
>
>>
>
>> Constant subroutine Apache::ROOT::xxxxxx redefined at
>
>> ~/lib/perl5/site_perl/5.12.2/sun4-solaris-64int/Apache/PerlR un.pm line
>> 360.
>
>>
>
>>
>
>>
>
>> Can anyone let me know how to get rid of above warning messages.
>
>>
>
>>
>
>>
>
>> Thanks in advance for your help!
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>> Regards
>
>>
>
>> Sudhakar
>
>>
>
>>

RE: Constant subroutine redefined at Apache/PerlRun.pm line 360

am 29.12.2010 03:05:59 von Sudhakara.Peram

Thank you Fred Moyer!



-----Original Message-----
From: Fred Moyer [mailto:fred@redhotpenguin.com]=20
Sent: Tuesday, December 28, 2010 8:25 PM
To: Peram, Sudhakara
Cc: modperl@perl.apache.org
Subject: Re: Constant subroutine redefined at Apache/PerlRun.pm line 360

On Tue, Dec 28, 2010 at 5:19 PM, Peram, Sudhakara
wrote:
> As per our application architecture we need to ENV variables from perl
> script to another perl script and the same feature is disabled in =
Apache2 &
> mod_perl2. Because of this reason we are stick to mod_perl1. Before =
sticking
> to mod_per1, I tried with mod_perl2 also and I am getting same =
messages in
> error_log.

The warning itself looks fairly harmless, it is probably occurring
because the interpreter is reloading your script.

I'm not that knowledgeable on using PerlRun, but this presentation has
some examples you may find helpful:

http://ectoplasm.org/Talks/mod_perl-2.0-from-cgi-fast.pdf

You can probably also put the following statement at the top of your
script after use warnings:

no warnings 'undefined';

I would need to see the relevant code and httpd.conf sections to be of
any more help.

>
>
>
> Can you please help me to get rid of this.
>
>
>
>
>
> Regards
>
> Sudhakar
>
>
>
> -----Original Message-----
> From: Fred Moyer [mailto:fred@redhotpenguin.com]
> Sent: Tuesday, December 28, 2010 8:15 PM
> To: Peram, Sudhakara
> Cc: modperl@perl.apache.org
> Subject: Re: Constant subroutine redefined at Apache/PerlRun.pm line =
360
>
>
>
> On Tue, Dec 28, 2010 at 4:56 PM, Peram, Sudhakara
>
> wrote:
>
>> Hi All
>
>>
>
>>
>
>>
>
>> I am migrating Perl 5.005 to 5.12.2, Apache 1.3.9 to 1.3.42 and =
mod_perl
>
>> 1.21 to 1.31. But I am getting following warnings in error_log file.
>
>
>
> For what it is worth, you may want to upgrade to Apache 2.2.x and
>
> mod_perl 2.0.4 instead.=A0 The Apache 1.xx version line has been end =
of
>
> lifed for almost a year now.=A0 This doesn't mean you won't get help
>
> from this list for mod_perl1, but if you are going to upgrade now,
>
> consider mod_perl2 instead.
>
>
>
> http://httpd.apache.org/
>
>
>
> "Apache httpd 1.3.42 is the final stable version of the 1.3 series,
>
> which was released and declared end of life on February 2nd, 2010. No
>
> further development or maintenance will occur for the 1.3 series."
>
>
>
>>
>
>>
>
>>
>
>> Message in error_log:
>
>>
>
>>
>
>>
>
>> Constant subroutine Apache::ROOT::xxxxxx redefined at
>
>> ~/lib/perl5/site_perl/5.12.2/sun4-solaris-64int/Apache/PerlR un.pm =
line
>> 360.
>
>>
>
>>
>
>>
>
>> Can anyone let me know how to get rid of above warning messages.
>
>>
>
>>
>
>>
>
>> Thanks in advance for your help!
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>>
>
>> Regards
>
>>
>
>> Sudhakar
>
>>
>
>>