I have run 'perl Makefile.PL' and 'make' without error, following the mod_perl installation instructions, but when I run make test, the server is shown as 'failing to start' and the test sequence aborts. Further investigation shows that httpd has started successfully and the problem is in t/TEST, which tries to do a 'simple_fetch' of "/test.html" to demonstrate that the server is working, but this fails. I think the reason that it fails is that any attempt to GET a page using the server on port 8529 returns a 403 Forbidden code. A colleague wondered whether this port had to be included in /etc/services, but I can see no mention of this in the documentation.

Some context:
The server is running SunOS dusty 5.7 Generic sun4u sparc SUNW,Ultra-4
The server is also running a production version of Apache on port 80 (without mod_perl)
Perl is v5.8.0 built for sun4-solaris
I am attempting to install mod_perl-1.27

Here is the end of the transcript and what appears in the error_log

/opt/apache_1.3.20/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
done
/usr/bin/perl t/TEST 0
still waiting for server to warm up...............not ok
server failed to start! (please examine t/logs/error_log) at t/TEST line 95.
make: *** [run_tests] Error 29
{dusty:41} cat t/logs/error_log
[notice] Destruction->DESTROY called for $global_object
Subroutine fileparse_set_fstype redefined at /usr/local/lib/perl5/5.8.0/File/Bas
ename.pm line 154.
Subroutine fileparse redefined at /usr/local/lib/perl5/5.8.0/File/Basename.pm li
ne 168.
Subroutine basename redefined at /usr/local/lib/perl5/5.8.0/File/Basename.pm lin
e 235.
Subroutine dirname redefined at /usr/local/lib/perl5/5.8.0/File/Basename.pm line
248.
Constant subroutine CGI::XHTML_DTD redefined at /usr/local/lib/perl5/5.8.0/const
ant.pm line 108.
[Mon Dec 23 21:44:18 2002] [warn] [notice] child_init for process 15493, report
any problems to [no address given]

{dusty:42}

what's wrong?

Thanks

Nigel



________________________________________________________________________ __
Professor Nigel Gilbert, FREng, AcSS, Pro Vice-Chancellor and Professor of
Sociology, University of Surrey, Guildford GU2 7XH, UK. +44 (0)1483 689173

Reply via email to