You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by tw...@lucent.com on 2005/01/11 20:34:27 UTC
make test failed on solaris 8
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
I have tried the httpd-2.0.49 with mod_perl 1.9913 dev version and
the make test ran ok. However, the httpd-2.0.52 with the current
mod_perl RC3 cannot start when I did "make test".
This problem has been happened on and off when I tried with different
versions of mod_perl 2.0. I have tried 1.999021 snapshoot and it got
the same problem. I have tried perl 5.8.6 too.
2. Used Components and their Configuration:
*** mod_perl version 1.999020
*** using /s5/twh/papache/httpd-2.0.52/mod_perl-2.0.0-RC3/lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_APR_LIB => aprext
MP_APXS => /s5/twh/apache252/bin/apxs
MP_COMPAT_1X => 1
MP_DEBUG => 1
MP_GENERATE_XS => 1
MP_INST_APACHE2 => 1
MP_LIBNAME => mod_perl
MP_TRACE => 1
MP_USE_DSO => 1
*** /s5/twh/apache252/bin/httpd -V
Server version: Apache/2.0.52
Server built: Jan 7 2005 15:33:40
Server's Module Magic Number: 20020903:9
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/s5/twh/apache252"
-D SUEXEC_BIN="/s5/twh/apache252/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
*** (apr|apu)-config linking info
-L/s5/twh/apache252/lib -lapr-0 -lrt -lm -lsocket -lnsl -lresolv -lpthread
-L/s5/twh/apache252/lib -laprutil-0 -lexpat
*** /opt1/perl580/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris
uname='sunos ln 5.8 generic_117350-01 sun4u sparc '
config_args='-Dcc=gcc -B/usr/ccs/bin/ -Dprefix=/opt1/perl580'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing -pipe -I/opt/exp/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-fno-strict-aliasing -pipe -I/opt/exp/gnu/include'
ccversion='', gccversion='3.4.2', gccosandvers='solaris2.8'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc -B/usr/ccs/bin/', ldflags =' '
libpth=/opt/exp/gnu/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldb -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-E'
cccdlflags='-fPIC', lddlflags=' -Wl,-E -G'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Oct 21 2004 07:28:54
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/opt1/perl580/lib/5.8.5/sun4-solaris
/opt1/perl580/lib/5.8.5
/opt1/perl580/lib/site_perl/5.8.5/sun4-solaris
/opt1/perl580/lib/site_perl/5.8.5
/opt1/perl580/lib/site_perl/5.8.2/sun4-solaris
/opt1/perl580/lib/site_perl/5.8.2
/opt1/perl580/lib/site_perl/5.6.0
/opt1/perl580/lib/site_perl
.
*** Packages of interest status:
Apache::Request: -
CGI : 3.05
LWP : 5.50, 5.800
mod_perl : 1.29, 1.29, 1.9913
3. This is the core dump trace: (if you get a core dump):
[CORE TRACE COMES HERE]
This report was generated by ./t/REPORT on Tue Jan 11 19:15:57 2005 GMT.
-------------8<---------- End Bug Report --------------8<----------
Note: Complete the rest of the details and post this bug report to
modperl <at> perl.apache.org. To subscribe to the list send an empty
email to modperl-subscribe@perl.apache.org.
Re: make test failed on solaris 8
Posted by Stas Bekman <st...@stason.org>.
Tulan W. Hu wrote:
>>From: "Stas Bekman" <st...@stason.org>
>>
>>>twhu@lucent.com wrote:
>>>-------------8<---------- Start Bug Report ------------8<----------
>>>1. Problem Description:
>>>
>>> I have tried the httpd-2.0.49 with mod_perl 1.9913 dev version and
>>> the make test ran ok. However, the httpd-2.0.52 with the current
>>> mod_perl RC3 cannot start when I did "make test".
>>>
>>> This problem has been happened on and off when I tried with different
>>> versions of mod_perl 2.0. I have tried 1.999021 snapshoot and it got
>>> the same problem. I have tried perl 5.8.6 too.
>>
>>But how do we know what the symptoms are? Please post the output of 'make
>>test' and the contents of t/logs/error_log.
>
>
> There was nothing under the t/logs directory because it was time-out.
> It failed to start the httpd.
> I had installed a version like this situation before and I got a core dump
> when I tried to start it.
In which case start the server under strace(1)/truss(1) or whatever the
equivalent is under solaris and see why it bails out. It could be blocking
due to an insufficient entropy in your /dev/random device.
http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html#Server_Hanging_at_the_Startup
some example of how to work with strace(1) can be found here:
http://perl.apache.org/docs/1.0/guide/debug.html#Using_the_System_Calls_Trace
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: make test failed on solaris 8
Posted by "Tulan W. Hu" <tw...@lucent.com>.
>From: "Stas Bekman" <st...@stason.org>
>> twhu@lucent.com wrote:
> > -------------8<---------- Start Bug Report ------------8<----------
> > 1. Problem Description:
> >
> > I have tried the httpd-2.0.49 with mod_perl 1.9913 dev version and
> > the make test ran ok. However, the httpd-2.0.52 with the current
> > mod_perl RC3 cannot start when I did "make test".
> >
> > This problem has been happened on and off when I tried with different
> > versions of mod_perl 2.0. I have tried 1.999021 snapshoot and it got
> > the same problem. I have tried perl 5.8.6 too.
>
> But how do we know what the symptoms are? Please post the output of 'make
> test' and the contents of t/logs/error_log.
There was nothing under the t/logs directory because it was time-out.
It failed to start the httpd.
I had installed a version like this situation before and I got a core dump
when I tried to start it.
Tulan
Re: make test failed on solaris 8
Posted by Stas Bekman <st...@stason.org>.
twhu@lucent.com wrote:
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
>
> I have tried the httpd-2.0.49 with mod_perl 1.9913 dev version and
> the make test ran ok. However, the httpd-2.0.52 with the current
> mod_perl RC3 cannot start when I did "make test".
>
> This problem has been happened on and off when I tried with different
> versions of mod_perl 2.0. I have tried 1.999021 snapshoot and it got
> the same problem. I have tried perl 5.8.6 too.
But how do we know what the symptoms are? Please post the output of 'make
test' and the contents of t/logs/error_log.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com