You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Patrick West <pw...@ucar.edu> on 2003/08/26 22:46:36 UTC

Installation/test problems - mod_perl-1.27

I've installed apache_1.3.27 and mod_perl-1.27. When I go to run the 
tests in mod_perl-1.27/t (just running the first one), first it 
complains that it couldn't start the server. But the server is actually 
running. So I run modules/actions (commenting out the part of TEST that 
tries to start the server) and I get the following:

./TEST -v modules/actions
modules/actions....1..1
fetch: `'
not ok 1
FAILED test 1
        Failed 1/1 tests, 0.00% okay
Failed Test       Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
modules/actions.t                1    1 100.00%  1
Failed 1/1 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay.


OKAY ... this is actually different from what I was getting before hand. 
Before I would get the LoadClass.pm file dumped out on the screen 
between the ''

So ... I go to the browser and type in the followiung URL: 
http://localhost:8529/LoadClass.pm

I get the following:

OK /LoadClass.pm


What's going on here? Why can't I run the test programs. Most of them 
are failing, with a few exceptions. And a lot of them are being skipped 
with no explanation (saw an earlier post that didn't list any tests 
being skipped). Why are they being skipped?

modules/actions.......FAILED test 1
        Failed 1/1 tests, 0.00% okay
modules/cgi...........FAILED tests 2-5
        Failed 4/5 tests, 20.00% okay
modules/constants.....skipped
        all skipped: no reason given
modules/cookie........skipped
        all skipped: no reason given
modules/file..........skipped
        all skipped: no reason given
modules/httpdconf.....ok
modules/include.......skipped
        all skipped: no reason given
modules/log...........skipped
        all skipped: no reason given
modules/module........skipped
        all skipped: no reason given
modules/perlrun.......ok
modules/psections.....skipped
        all skipped: no reason given
modules/request.......skipped
        all skipped: no reason given
modules/src...........ok
modules/ssi...........skipped
        all skipped: no reason given
modules/stage.........skipped
        all skipped: no reason given
modules/status........ok
modules/symbol........skipped
        all skipped: no reason given
modules/uri...........skipped
        all skipped: no reason given
modules/util..........skipped
        all skipped: no reason given
internal/api..........skipped
        all skipped: no reason given
internal/auth.........FAILED test 1
        Failed 1/2 tests, 50.00% okay
internal/croak........FAILED tests 1, 3-4, 6-7, 9-10, 12
        Failed 8/12 tests, 33.33% okay
internal/dirmagic.....ok
internal/error........ok
internal/headers......FAILED tests 1-11, 13
        Failed 12/13 tests, 7.69% okay
internal/hooks........500 (Internal Server Error) Can't connect to 
localhost:8080 (connect: Connection refused)
Client-Date: Tue, 26 Aug 2003 20:44:54 GMT



dubious
        Test returned status 146 (wstat 37376, 0x9200)
internal/http-get.....Internal Server Error
dubious
        Test returned status 146 (wstat 37376, 0x9200)
DIED. FAILED tests 1-16
        Failed 16/16 tests, 0.00% okay
internal/http-post....Internal Server Error
dubious
        Test returned status 146 (wstat 37376, 0x9200)
DIED. FAILED tests 1-7
        Failed 7/7 tests, 0.00% okay
internal/proxy........ok
internal/redirect.....FAILED tests 1-4, 6
        Failed 5/6 tests, 16.67% okay
internal/rwrite.......ok
internal/stacked......can't open http://localhost:8080//perl/stacked
dubious
        Test returned status 146 (wstat 37376, 0x9200)
internal/table........ok
internal/taint........Internal Server Error
dubious
        Test returned status 146 (wstat 37376, 0x9200)
DIED. FAILED tests 1-3
        Failed 3/3 tests, 0.00% okay
Failed Test          Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
internal/auth.t                     2    1  50.00%  1
internal/croak.t                   12    8  66.67%  1 3-4 6-7 9-10 12
internal/headers.t                 13   12  92.31%  1-11 13
internal/hooks.t      146 37376    ??   ??       %  ??
internal/http-get.t   146 37376    16   16 100.00%  1-16
internal/http-post.t  146 37376     7    7 100.00%  1-7
internal/redirect.t                 6    5  83.33%  1-4 6
internal/stacked.t    146 37376    ??   ??       %  ??
internal/taint.t      146 37376     3    3 100.00%  1-3
modules/actions.t                   1    1 100.00%  1
modules/cgi.t                       5    4  80.00%  2-5
14 tests skipped.
httpd terminated
Failed 11/34 test scripts, 67.65% okay. 57/131 subtests failed, 56.49% okay.




-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: Installation/test problems - mod_perl-1.27

Posted by Ged Haywood <ge...@www2.jubileegroup.co.uk>.
Hi there,

On Tue, 26 Aug 2003, Patrick West wrote:

> I've installed apache_1.3.27 and mod_perl-1.27. When I go to run the
> tests in mod_perl-1.27/t (just running the first one), first it
> complains that it couldn't start the server. But the server is
> actually running.

Are you sure you have the right server running?  Did you check that
there were no httpd processes running before you started the test?
You might want to check which ports 80, 8080, 8259... are being used
as this might lead you to the answer.  Have you checked the error_log
files for the server(s)?  Pay particular attention to dates and times,
both when you give the commands to start servers, run tests etc.  and
also when you look in the log files.  This may help you to understand
what happened and when.

73,
Ged.



-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html