Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl

Problem installing mod_perl2 on Clarkconnect

 

 

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded


mike at acorg

Jun 15, 2009, 8:19 AM

Post #1 of 4 (393 views)
Permalink
Problem installing mod_perl2 on Clarkconnect

Hi

I am experiencing some trouble getting mod_perl installed using cpan. After
much research online, I have found a bug report that seems to match with the
following output generated after a test.

Test Summary Report
-------------------
t/hooks/authen_basic.t (Wstat: 0 Tests: 4 Failed: 1)
Failed test: 4
t/hooks/authz.t (Wstat: 0 Tests: 4 Failed: 1)
Failed test: 4
Files=238, Tests=2557, 193 wallclock secs ( 3.25 usr 0.91 sys + 151.19 cusr
26.60 csys = 181.95 CPU)
Result: FAIL
Failed 2/238 test programs. 2/2557 subtests failed.
[warning] server localhost.localdomain:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
make: *** [run_tests] Error 1
GOZER/mod_perl-2.0.4.tar.gz
/usr/bin/make test -- NOT OK

I ignored the error and forced an install as root anyway and my machine says
mod_perl2 is up to date. When I restart apache, I get no mod_perl enabled
message in error_log.

I have include the loadmodule line inside of httpd.conf.
LoadModule perl_module modules/mod_perl.so

/httpd/logs/error_log
[Sun Jun 14 22:43:41 2009] [notice] Apache configured -- resuming normal
operations
[Mon Jun 15 00:12:24 2009] [notice] caught SIGTERM, shutting down
[Mon Jun 15 00:12:24 2009] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Mon Jun 15 00:12:24 2009] [notice] Digest: generating secret for digest
authentication ...
[Mon Jun 15 00:12:24 2009] [notice] Digest: done
[Mon Jun 15 00:12:24 2009] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Mon Jun 15 00:12:24 2009] [notice] LDAP: SSL support unavailable
[Mon Jun 15 00:12:24 2009] [notice] Apache configured -- resuming normal
operations

Any help would be greatly appreciated
Thanks Mike


fred at redhotpenguin

Jun 15, 2009, 3:52 PM

Post #2 of 4 (364 views)
Permalink
Re: Problem installing mod_perl2 on Clarkconnect [In reply to]

On Mon, Jun 15, 2009 at 8:19 AM, Mike OK<mike[at]acorg.com> wrote:
> t/hooks/authen_basic.t (Wstat: 0 Tests: 4 Failed: 1)
> Failed test: 4
> t/hooks/authz.t (Wstat: 0 Tests: 4 Failed: 1)
> Failed test: 4
> Files=238, Tests=2557, 193 wallclock secs ( 3.25 usr 0.91 sys + 151.19 cusr
> 26.60 csys = 181.95 CPU)
> Result: FAIL
> Failed 2/238 test programs. 2/2557 subtests failed.

Pretty sure those are fixed in 2.0.5-dev

> I ignored the error and forced an install as root anyway and my machine says
> mod_perl2 is up to date. When I restart apache, I get no mod_perl enabled
> message in error_log.

You could try adding this after the LoadModule directive:

PerlModule Apache2::Const;
PerlChildInitHandler sub { say("process $$ is born to serve"); return
Apache2::Const::OK }

or some variation on that, and you'll see a message in the log for
each mod_perl enabled child process that starts up



>
> I have include the loadmodule line inside of httpd.conf.
> LoadModule perl_module modules/mod_perl.so
>
> /httpd/logs/error_log
> [Sun Jun 14 22:43:41 2009] [notice] Apache configured -- resuming normal
> operations
> [Mon Jun 15 00:12:24 2009] [notice] caught SIGTERM, shutting down
> [Mon Jun 15 00:12:24 2009] [notice] suEXEC mechanism enabled (wrapper:
> /usr/sbin/suexec)
> [Mon Jun 15 00:12:24 2009] [notice] Digest: generating secret for digest
> authentication ...
> [Mon Jun 15 00:12:24 2009] [notice] Digest: done
> [Mon Jun 15 00:12:24 2009] [notice] LDAP: Built with OpenLDAP LDAP SDK
> [Mon Jun 15 00:12:24 2009] [notice] LDAP: SSL support unavailable
> [Mon Jun 15 00:12:24 2009] [notice] Apache configured -- resuming normal
> operations
>
> Any help would be greatly appreciated
> Thanks Mike
>
>


mike at acorg

Jun 15, 2009, 4:04 PM

Post #3 of 4 (366 views)
Permalink
Re: Problem installing mod_perl2 on Clarkconnect [In reply to]

Thanks for the reply Fred. Today I upgraded from apache 2.0 to 2.2 and
still are having the test errors. I will continue through and install
without test to see what happens.

Any idea where I can find 2.0.5-dev?? Mike


----- Original Message -----
From: "Fred Moyer" <fred[at]redhotpenguin.com>
To: "Mike OK" <mike[at]acorg.com>
Cc: <modperl[at]perl.apache.org>
Sent: Monday, June 15, 2009 6:52 PM
Subject: Re: Problem installing mod_perl2 on Clarkconnect


> On Mon, Jun 15, 2009 at 8:19 AM, Mike OK<mike[at]acorg.com> wrote:
>> t/hooks/authen_basic.t (Wstat: 0 Tests: 4 Failed: 1)
>> Failed test: 4
>> t/hooks/authz.t (Wstat: 0 Tests: 4 Failed: 1)
>> Failed test: 4
>> Files=238, Tests=2557, 193 wallclock secs ( 3.25 usr 0.91 sys + 151.19
>> cusr
>> 26.60 csys = 181.95 CPU)
>> Result: FAIL
>> Failed 2/238 test programs. 2/2557 subtests failed.
>
> Pretty sure those are fixed in 2.0.5-dev
>
>> I ignored the error and forced an install as root anyway and my machine
>> says
>> mod_perl2 is up to date. When I restart apache, I get no mod_perl enabled
>> message in error_log.
>
> You could try adding this after the LoadModule directive:
>
> PerlModule Apache2::Const;
> PerlChildInitHandler sub { say("process $$ is born to serve"); return
> Apache2::Const::OK }
>
> or some variation on that, and you'll see a message in the log for
> each mod_perl enabled child process that starts up
>
>
>
>>
>> I have include the loadmodule line inside of httpd.conf.
>> LoadModule perl_module modules/mod_perl.so
>>
>> /httpd/logs/error_log
>> [Sun Jun 14 22:43:41 2009] [notice] Apache configured -- resuming normal
>> operations
>> [Mon Jun 15 00:12:24 2009] [notice] caught SIGTERM, shutting down
>> [Mon Jun 15 00:12:24 2009] [notice] suEXEC mechanism enabled (wrapper:
>> /usr/sbin/suexec)
>> [Mon Jun 15 00:12:24 2009] [notice] Digest: generating secret for digest
>> authentication ...
>> [Mon Jun 15 00:12:24 2009] [notice] Digest: done
>> [Mon Jun 15 00:12:24 2009] [notice] LDAP: Built with OpenLDAP LDAP SDK
>> [Mon Jun 15 00:12:24 2009] [notice] LDAP: SSL support unavailable
>> [Mon Jun 15 00:12:24 2009] [notice] Apache configured -- resuming normal
>> operations
>>
>> Any help would be greatly appreciated
>> Thanks Mike
>>
>>
>


fred at redhotpenguin

Jun 15, 2009, 4:15 PM

Post #4 of 4 (366 views)
Permalink
Re: Problem installing mod_perl2 on Clarkconnect [In reply to]

On Mon, Jun 15, 2009 at 4:04 PM, Mike OK<mike[at]acorg.com> wrote:
> Thanks for the reply Fred.  Today I upgraded from apache 2.0 to 2.2 and
> still are having the test errors.  I will continue through and install
> without test to see what happens.

You are probably fine unless you have some complex authentication code
that isn't working ok. My app uses some auth handlers and didn't have
any issues with those failures under 2.0.4.

> Any idea where I can find 2.0.5-dev?? Mike

You can pull it from subversion here:

http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution

>
>
> ----- Original Message ----- From: "Fred Moyer" <fred[at]redhotpenguin.com>
> To: "Mike OK" <mike[at]acorg.com>
> Cc: <modperl[at]perl.apache.org>
> Sent: Monday, June 15, 2009 6:52 PM
> Subject: Re: Problem installing mod_perl2 on Clarkconnect
>
>
>> On Mon, Jun 15, 2009 at 8:19 AM, Mike OK<mike[at]acorg.com> wrote:
>>>
>>> t/hooks/authen_basic.t (Wstat: 0 Tests: 4 Failed: 1)
>>> Failed test: 4
>>> t/hooks/authz.t (Wstat: 0 Tests: 4 Failed: 1)
>>> Failed test: 4
>>> Files=238, Tests=2557, 193 wallclock secs ( 3.25 usr 0.91 sys + 151.19
>>> cusr
>>> 26.60 csys = 181.95 CPU)
>>> Result: FAIL
>>> Failed 2/238 test programs. 2/2557 subtests failed.
>>
>> Pretty sure those are fixed in 2.0.5-dev
>>
>>> I ignored the error and forced an install as root anyway and my machine
>>> says
>>> mod_perl2 is up to date. When I restart apache, I get no mod_perl enabled
>>> message in error_log.
>>
>> You could try adding this after the LoadModule directive:
>>
>> PerlModule Apache2::Const;
>> PerlChildInitHandler  sub { say("process $$ is born to serve"); return
>> Apache2::Const::OK }
>>
>> or some variation on that, and you'll see a message in the log for
>> each mod_perl enabled child process that starts up
>>
>>
>>
>>>
>>> I have include the loadmodule line inside of httpd.conf.
>>> LoadModule perl_module modules/mod_perl.so
>>>
>>> /httpd/logs/error_log
>>> [Sun Jun 14 22:43:41 2009] [notice] Apache configured -- resuming normal
>>> operations
>>> [Mon Jun 15 00:12:24 2009] [notice] caught SIGTERM, shutting down
>>> [Mon Jun 15 00:12:24 2009] [notice] suEXEC mechanism enabled (wrapper:
>>> /usr/sbin/suexec)
>>> [Mon Jun 15 00:12:24 2009] [notice] Digest: generating secret for digest
>>> authentication ...
>>> [Mon Jun 15 00:12:24 2009] [notice] Digest: done
>>> [Mon Jun 15 00:12:24 2009] [notice] LDAP: Built with OpenLDAP LDAP SDK
>>> [Mon Jun 15 00:12:24 2009] [notice] LDAP: SSL support unavailable
>>> [Mon Jun 15 00:12:24 2009] [notice] Apache configured -- resuming normal
>>> operations
>>>
>>> Any help would be greatly appreciated
>>> Thanks Mike
>>>
>>>
>>
>
>
>

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.