Hans-Ruodi Burch (EA/EAS) wrote:
First of all you need to make sure that Apache::Test works. And it will have probs if you run the test suite as root from a path unreadable by a non-root user.

e.g. you could cd to Apache-Test and check that its test suite works.


As you mentioned in your previous email I unpacked mod_perl in ~tms:

[EMAIL PROTECTED] su - tms
Password: Sun Microsystems Inc. SunOS 5.8 Generic February 2000
[EMAIL PROTECTED] cd mod_perl-1.99_09/
[EMAIL PROTECTED] perl Makefile.PL Configure mod_perl with /usr/local/apache? [y] Configuring Apache/2.0.45 mod_perl/1.99_09 Perl/v5.8.0

[...]


t/TEST -clean
APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE= APXS= \
/usr/local/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -verbose=0 !!! no test server configured, please specify an httpd or apxs or put either in your PATH. For example:
t/TEST -httpd /path/to/bin/httpd
make: *** [run_tests] Error 1

Hmm, why haven't it picked /usr/local/apache/bin/httpd? That's abnormal.


[EMAIL PROTECTED] t/TEST -httpd /usr/local/apache/bin/httpd /usr/local/apache/bin/httpd -d /home/tms/mod_perl-1.99_09/t -f /home/tms/mod_perl-1.99_09/t/conf/httpd.conf -DAPACHE2 using Apache/2.0.45 (prefork MPM)

waiting for server to start: .....[Mon Jul 21 07:45:27 2003] [info] 19 Apache:: modules loaded
[Mon Jul 21 07:45:27 2003] [info] 3 APR:: modules loaded
[Mon Jul 21 07:45:27 2003] [info] base server + 8 vhosts ready to run tests
.........................................................
waiting for server to start: giving up after 61 secs
!!! server failed to start! (please examine t/logs/error_log)
!!! oh dangnabit, server dumped core !!! for stacktrace, run: gdb -core /home/tms/mod_perl-1.99_09/t/core
[EMAIL PROTECTED] gdb -core /home/tms/mod_perl-1.99_09/t/core
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8".
Core was generated by `/usr/local/apache/bin/httpd -d /home/tms/mod_perl-1.99_09/t -f /home/tms/mod_pe'.
Program terminated with signal 9, Killed.
#0 0xfdbbbdd4 in ?? ()
(gdb) bt
#0 0xfdbbbdd4 in ?? ()
#1 0xfdbbbf94 in ?? ()
#2 0xfdbb3924 in ?? ()
#3 0x37328 in ?? ()
#4 0x40090 in ?? ()

It's impossible to know where has it failed from this trace. You need to rebuild apache, perl and mod_perl with debugging enabled. It's explained at:
http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems
http://perl.apache.org/docs/2.0/user/help/help.html#Resolving_Segmentation_Faults
may be you need only perl or apache to be rebuilt I can't tell where it segfaults.


The following lined were printed to /var/adm/messages:
[...]
I'm not sure if it is related...

Most likely unrelated. What you want to look at is t/logs/error_log.


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to