mod_perl for bugzilla

mod_perl for bugzilla

am 06.03.2009 03:23:55 von Peter.Chen

This is a multi-part message in MIME format.

------_=_NextPart_001_01C99E02.99C777EF
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I'm trying to use mod_perl for bugzilla

=20

I inserted these lines (as per their config instructions):

PerlSwitches -I/home/Intranet/ssiweb/apache/htdocs/bugzilla
-I/home/Intranet/ssiweb/apache/htdocs/lib -w -T

PerlConfigRequire
/home/Intranet/ssiweb/apache/htdocs/bugzilla/mod_perl.pl

=20

=20

Restarted my apache server and got this error message:

Syntax error on line 437 of xxxx/httpd.conf:

Apache2::SizeLimit not implemented on solaris at
yyyy/Apache2/SizeLimit.pm line 95.\nBEGIN failed--compilation aborted at
/yyyy/Apache2/SizeLimit.pm line 98.\nCompilation failed in require at
xxxx/htdocs/bugzilla/mod_perl.pl line 32.\nBEGIN failed--compilation
aborted at xxxx/htdocs/bugzilla/mod_perl.pl line 32.\nCompilation failed
in require at (eval 2) line 1.\n

=20

Do I need to insert this directive somewhere?=20

PerlFixupHandler Apache::SizeLimit
=20
Thanks!
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -+-+-+-+-+-+-+-
This message is for the named person's use only. This communication is for
informational purposes only and has been obtained from sources believed to
be reliable, but it is not necessarily complete and its accuracy cannot be
guaranteed. It is not intended as an offer or solicitation for the purchase
or sale of any financial instrument or as an official confirmation of any
transaction. Moreover, this material should not be construed to contain any
recommendation regarding, or opinion concerning, any security. It may
contain confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorized to state them to be the views of any such entity.

Securities products and services provided to Canadian investors are offered
by ITG Canada Corp. (member CIPF and IDA), an affiliate of Investment
Technology Group, Inc.

ITG Inc. and/or its affiliates reserves the right to monitor and archive
all electronic communications through its network.

ITG Inc. Member FINRA, SIPC
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -+-+-+-+-+-+-+-

------_=_NextPart_001_01C99E02.99C777EF
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

hemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40">












0.0pt;
font-family:Arial'>I’m trying to use mod_perl for bugzilla=



0.0pt;
font-family:Arial'> 



0.0pt;
font-family:Arial'>I inserted these lines (as per their config instructions=
):



e:10.0pt;
font-family:Arial;font-weight:bold'>PerlSwitches
-I/home/Intranet/ssiweb/apache/htdocs/bugzilla
-I/home/Intranet/ssiweb/apache/htdocs/lib -w -T
>



e:10.0pt;
font-family:Arial;font-weight:bold'>PerlConfigRequire
/home/Intranet/ssiweb/apache/htdocs/bugzilla/mod_perl.pl
<=
/font>



0.0pt;
font-family:Arial'> 



0.0pt;
font-family:Arial'> 



0.0pt;
font-family:Arial'>Restarted my apache server and got this error message: :p>



e:10.0pt;
font-family:Arial;font-weight:bold'>Syntax error on line 437 of xxxx/httpd.=
conf:



e:10.0pt;
font-family:Arial;font-weight:bold'>Apache2::SizeLimit not implemented on
solaris at yyyy/Apache2/SizeLimit.pm line 95.\nBEGIN failed--compilation
aborted at /yyyy/Apache2/SizeLimit.pm line 98.\nCompilation failed in requi=
re
at xxxx/htdocs/bugzilla/mod_perl.pl line 32.\nBEGIN failed--compilation abo=
rted
at xxxx/htdocs/bugzilla/mod_perl.pl line 32.\nCompilation failed in require=
at
(eval 2) line 1.\n



e:10.0pt;
font-family:Arial;font-weight:bold'> 



0.0pt;
font-family:Arial'>Do I need to insert this directive somewhere? >




font-weight:bold'>PerlFixupHandler Apache::SizeLimit=

size=3D2 face=3D"Courier New"> <=
/o:p>

size=3D2 face=3D"Courier New">Thanks!=


-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+=
-+-+-
This message is for the named person's use only. This communication is for
informational purposes only and has been obtained from sources believed to
be reliable, but it is not necessarily complete and its accuracy cannot be
guaranteed. It is not intended as an offer or solicitation for the purchase
or sale of any financial instrument or as an official confirmation of any
transaction. Moreover, this material should not be construed to contain any
recommendation regarding, or opinion concerning, any security. It may
contain confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorized to state them to be the views of any such entity.

Securities products and services provided to Canadian investors are offered
by ITG Canada Corp. (member CIPF and IDA), an affiliate of Investment
Technology Group, Inc.

ITG Inc. and/or its affiliates reserves the right to monitor and archive
all electronic communications through its network.

ITG Inc. Member FINRA, SIPC
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-




------_=_NextPart_001_01C99E02.99C777EF--

Re: mod_perl for bugzilla

am 06.03.2009 03:30:50 von Adam Prime

Chen, Peter wrote:
>
> *Apache2::SizeLimit not implemented on solaris at
> yyyy/Apache2/SizeLimit.pm line 95.\nBEGIN failed--compilation aborted at
> /yyyy/Apache2/SizeLimit.pm line 98.\nCompilation failed in require at
> xxxx/htdocs/bugzilla/mod_perl.pl line 32.\nBEGIN failed--compilation
> aborted at xxxx/htdocs/bugzilla/mod_perl.pl line 32.\nCompilation failed
> in require at (eval 2) line 1.\n*
>
> * *
>
> Do I need to insert this directive somewhere?
>
> *PerlFixupHandler Apache::SizeLimit*

That sounds to me like SizeLimit just doesn't work on your platform, so
you probably need to remove it from your conf entirely. It looks like
it appears as a 'use Apache::SizeLimit;' at
xxxx/htdocs/bugzilla/mod_perl.pl line 32

adam

RE: mod_perl for bugzilla

am 06.03.2009 03:33:02 von Peter.Chen

Sorry, I forgot to mention I'm running on a sparc-solaris2.10 machine



-----Original Message-----
From: Adam Prime [mailto:adam.prime@utoronto.ca]=20
Sent: Thursday, March 05, 2009 6:31 PM
To: Chen, Peter
Cc: modperl@perl.apache.org
Subject: Re: mod_perl for bugzilla

Chen, Peter wrote:
>=20
> *Apache2::SizeLimit not implemented on solaris at=20
> yyyy/Apache2/SizeLimit.pm line 95.\nBEGIN failed--compilation aborted
at=20
> /yyyy/Apache2/SizeLimit.pm line 98.\nCompilation failed in require at=20
> xxxx/htdocs/bugzilla/mod_perl.pl line 32.\nBEGIN failed--compilation=20
> aborted at xxxx/htdocs/bugzilla/mod_perl.pl line 32.\nCompilation
failed=20
> in require at (eval 2) line 1.\n*
>=20
> * *
>=20
> Do I need to insert this directive somewhere?
>=20
> *PerlFixupHandler Apache::SizeLimit*

That sounds to me like SizeLimit just doesn't work on your platform, so=20
you probably need to remove it from your conf entirely. It looks like=20
it appears as a 'use Apache::SizeLimit;' at=20
xxxx/htdocs/bugzilla/mod_perl.pl line 32

adam
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -+-+-+-+-+-+-+-
This message is for the named person's use only. This communication is for
informational purposes only and has been obtained from sources believed to
be reliable, but it is not necessarily complete and its accuracy cannot be
guaranteed. It is not intended as an offer or solicitation for the purchase
or sale of any financial instrument or as an official confirmation of any
transaction. Moreover, this material should not be construed to contain any
recommendation regarding, or opinion concerning, any security. It may
contain confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorized to state them to be the views of any such entity.

Securities products and services provided to Canadian investors are offered
by ITG Canada Corp. (member CIPF and IDA), an affiliate of Investment
Technology Group, Inc.

ITG Inc. and/or its affiliates reserves the right to monitor and archive
all electronic communications through its network.

ITG Inc. Member FINRA, SIPC
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -+-+-+-+-+-+-+-

Re: mod_perl for bugzilla

am 06.03.2009 03:36:38 von Perrin Harkins

On Thu, Mar 5, 2009 at 9:23 PM, Chen, Peter wrote:
> Apache2::SizeLimit not implemented on solaris at yyyy/Apache2/SizeLimit.pm
> line 95.\nBEGIN failed--compilation aborted at /yyyy/Apache2/SizeLimit.pm
> line 98.\nCompilation failed in require at xxxx/htdocs/bugzilla/mod_perl.pl
> line 32.\nBEGIN failed--compilation aborted at
> xxxx/htdocs/bugzilla/mod_perl.pl line 32.\nCompilation failed in require at
> (eval 2) line 1.\n

SizeLimit works on Solaris versions after 2.6. Maybe this is just a
problem with the version check code:
$Config{'osname'} eq 'solaris'
$Config{'osvers'} >= 2.6

Can you see what your system has for those? perl -V will tell you.

- Perrin

RE: mod_perl for bugzilla

am 06.03.2009 03:49:22 von Peter.Chen

Sorry, sparc-solaris2.10

Perl version 5.8.8

Apache 2.2.10



-----Original Message-----
From: Perrin Harkins [mailto:pharkins@gmail.com]=20
Sent: Thursday, March 05, 2009 6:37 PM
To: Chen, Peter
Cc: modperl@perl.apache.org
Subject: Re: mod_perl for bugzilla

On Thu, Mar 5, 2009 at 9:23 PM, Chen, Peter wrote:
> Apache2::SizeLimit not implemented on solaris at
yyyy/Apache2/SizeLimit.pm
> line 95.\nBEGIN failed--compilation aborted at
/yyyy/Apache2/SizeLimit.pm
> line 98.\nCompilation failed in require at
xxxx/htdocs/bugzilla/mod_perl.pl
> line 32.\nBEGIN failed--compilation aborted at
> xxxx/htdocs/bugzilla/mod_perl.pl line 32.\nCompilation failed in
require at
> (eval 2) line 1.\n

SizeLimit works on Solaris versions after 2.6. Maybe this is just a
problem with the version check code:
$Config{'osname'} eq 'solaris'
$Config{'osvers'} >=3D 2.6

Can you see what your system has for those? perl -V will tell you.

- Perrin
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -+-+-+-+-+-+-+-
This message is for the named person's use only. This communication is for
informational purposes only and has been obtained from sources believed to
be reliable, but it is not necessarily complete and its accuracy cannot be
guaranteed. It is not intended as an offer or solicitation for the purchase
or sale of any financial instrument or as an official confirmation of any
transaction. Moreover, this material should not be construed to contain any
recommendation regarding, or opinion concerning, any security. It may
contain confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorized to state them to be the views of any such entity.

Securities products and services provided to Canadian investors are offered
by ITG Canada Corp. (member CIPF and IDA), an affiliate of Investment
Technology Group, Inc.

ITG Inc. and/or its affiliates reserves the right to monitor and archive
all electronic communications through its network.

ITG Inc. Member FINRA, SIPC
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -+-+-+-+-+-+-+-

Re: mod_perl for bugzilla

am 06.03.2009 04:06:29 von Adam Prime

Looks like sizelimit needs some love since 2.10 is < 2.6, but is
actually a newer version.

Adam

Chen, Peter wrote:
> Sorry, sparc-solaris2.10
>
> Perl version 5.8.8
>
> Apache 2.2.10
>
>
>
> -----Original Message-----
> From: Perrin Harkins [mailto:pharkins@gmail.com]
> Sent: Thursday, March 05, 2009 6:37 PM
> To: Chen, Peter
> Cc: modperl@perl.apache.org
> Subject: Re: mod_perl for bugzilla
>
> On Thu, Mar 5, 2009 at 9:23 PM, Chen, Peter wrote:
>> Apache2::SizeLimit not implemented on solaris at
> yyyy/Apache2/SizeLimit.pm
>> line 95.\nBEGIN failed--compilation aborted at
> /yyyy/Apache2/SizeLimit.pm
>> line 98.\nCompilation failed in require at
> xxxx/htdocs/bugzilla/mod_perl.pl
>> line 32.\nBEGIN failed--compilation aborted at
>> xxxx/htdocs/bugzilla/mod_perl.pl line 32.\nCompilation failed in
> require at
>> (eval 2) line 1.\n
>
> SizeLimit works on Solaris versions after 2.6. Maybe this is just a
> problem with the version check code:
> $Config{'osname'} eq 'solaris'
> $Config{'osvers'} >= 2.6
>
> Can you see what your system has for those? perl -V will tell you.
>
> - Perrin
> -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -+-+-+-+-+-+-+-
> This message is for the named person's use only. This communication is for
> informational purposes only and has been obtained from sources believed to
> be reliable, but it is not necessarily complete and its accuracy cannot be
> guaranteed. It is not intended as an offer or solicitation for the purchase
> or sale of any financial instrument or as an official confirmation of any
> transaction. Moreover, this material should not be construed to contain any
> recommendation regarding, or opinion concerning, any security. It may
> contain confidential, proprietary or legally privileged information. No
> confidentiality or privilege is waived or lost by any mistransmission. If
> you receive this message in error, please immediately delete it and all
> copies of it from your system, destroy any hard copies of it and notify the
> sender. You must not, directly or indirectly, use, disclose, distribute,
> print, or copy any part of this message if you are not the intended
> recipient. Any views expressed in this message are those of the individual
> sender, except where the message states otherwise and the sender is
> authorized to state them to be the views of any such entity.
>
> Securities products and services provided to Canadian investors are offered
> by ITG Canada Corp. (member CIPF and IDA), an affiliate of Investment
> Technology Group, Inc.
>
> ITG Inc. and/or its affiliates reserves the right to monitor and archive
> all electronic communications through its network.
>
> ITG Inc. Member FINRA, SIPC
> -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -+-+-+-+-+-+-+-
>

RE: mod_perl for bugzilla

am 06.03.2009 04:18:46 von Peter.Chen

Ok, so what do I do now?



-----Original Message-----
From: Adam Prime [mailto:adam.prime@utoronto.ca]=20
Sent: Thursday, March 05, 2009 7:06 PM
To: modperl
Subject: Re: mod_perl for bugzilla

Looks like sizelimit needs some love since 2.10 is < 2.6, but is=20
actually a newer version.

Adam

Chen, Peter wrote:
> Sorry, sparc-solaris2.10
>=20
> Perl version 5.8.8
>=20
> Apache 2.2.10
>=20
>=20
>=20
> -----Original Message-----
> From: Perrin Harkins [mailto:pharkins@gmail.com]=20
> Sent: Thursday, March 05, 2009 6:37 PM
> To: Chen, Peter
> Cc: modperl@perl.apache.org
> Subject: Re: mod_perl for bugzilla
>=20
> On Thu, Mar 5, 2009 at 9:23 PM, Chen, Peter
wrote:
>> Apache2::SizeLimit not implemented on solaris at
> yyyy/Apache2/SizeLimit.pm
>> line 95.\nBEGIN failed--compilation aborted at
> /yyyy/Apache2/SizeLimit.pm
>> line 98.\nCompilation failed in require at
> xxxx/htdocs/bugzilla/mod_perl.pl
>> line 32.\nBEGIN failed--compilation aborted at
>> xxxx/htdocs/bugzilla/mod_perl.pl line 32.\nCompilation failed in
> require at
>> (eval 2) line 1.\n
>=20
> SizeLimit works on Solaris versions after 2.6. Maybe this is just a
> problem with the version check code:
> $Config{'osname'} eq 'solaris'
> $Config{'osvers'} >=3D 2.6
>=20
> Can you see what your system has for those? perl -V will tell you.
>=20
> - Perrin
>
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -+-+-+-+-+-+
-+-
> This message is for the named person's use only. This communication is
for
> informational purposes only and has been obtained from sources
believed to
> be reliable, but it is not necessarily complete and its accuracy
cannot be
> guaranteed. It is not intended as an offer or solicitation for the
purchase
> or sale of any financial instrument or as an official confirmation of
any
> transaction. Moreover, this material should not be construed to
contain any
> recommendation regarding, or opinion concerning, any security. It may
> contain confidential, proprietary or legally privileged information.
No
> confidentiality or privilege is waived or lost by any mistransmission.
If
> you receive this message in error, please immediately delete it and
all
> copies of it from your system, destroy any hard copies of it and
notify the
> sender. You must not, directly or indirectly, use, disclose,
distribute,
> print, or copy any part of this message if you are not the intended
> recipient. Any views expressed in this message are those of the
individual
> sender, except where the message states otherwise and the sender is
> authorized to state them to be the views of any such entity.
>=20
> Securities products and services provided to Canadian investors are
offered
> by ITG Canada Corp. (member CIPF and IDA), an affiliate of Investment
> Technology Group, Inc.
>=20
> ITG Inc. and/or its affiliates reserves the right to monitor and
archive
> all electronic communications through its network.
>=20
> ITG Inc. Member FINRA, SIPC
>
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -+-+-+-+-+-+
-+-
>=20

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -+-+-+-+-+-+-+-
This message is for the named person's use only. This communication is for
informational purposes only and has been obtained from sources believed to
be reliable, but it is not necessarily complete and its accuracy cannot be
guaranteed. It is not intended as an offer or solicitation for the purchase
or sale of any financial instrument or as an official confirmation of any
transaction. Moreover, this material should not be construed to contain any
recommendation regarding, or opinion concerning, any security. It may
contain confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorized to state them to be the views of any such entity.

Securities products and services provided to Canadian investors are offered
by ITG Canada Corp. (member CIPF and IDA), an affiliate of Investment
Technology Group, Inc.

ITG Inc. and/or its affiliates reserves the right to monitor and archive
all electronic communications through its network.

ITG Inc. Member FINRA, SIPC
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -+-+-+-+-+-+-+-

Re: mod_perl for bugzilla

am 06.03.2009 05:06:58 von Perrin Harkins

On Thu, Mar 5, 2009 at 10:18 PM, Chen, Peter wrote:
> Ok, so what do I do now?

Just take out the version check in SizeLimit for now. In the version
you have it probably looks like this:
if (SOLARIS && $Config{'osvers'} >= 2.6) {

- Perrin