You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Neil Gast <ne...@gmail.com> on 2007/05/22 17:39:06 UTC
bug report
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
Got the following output from 'make test':
still waiting for server to warm up:
.........................................................................................................................
the server is down, giving up after 121 secs
[ error] failed to start server! (please examine t/logs/error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
make: *** [run_tests] Error 1
A ps during that time showed three httpd processes running:
nobody 29962 1 0 10:28 ? 00:00:00 /opt/apache-2.2.0/bin/httpd
d /opt/install/mod_perl-2.0.3/t -f
/opt/install/mod_perl-2.0.3/t/conf/httpd.conf
-D APACHE2 -D PERL_USEITHREADS
nobody 29966 29962 0 10:28 ? 00:00:00 /opt/apache-2.2.0/bin/httpd
d /opt/install/mod_perl-2.0.3/t -f
/opt/install/mod_perl-2.0.3/t/conf/httpd.conf
-D APACHE2 -D PERL_USEITHREADS
nobody 29967 29962 0 10:28 ? 00:00:00 /opt/apache-2.2.0/bin/httpd
d /opt/install/mod_perl-2.0.3/t -f
/opt/install/mod_perl-2.0.3/t/conf/httpd.conf
-D APACHE2 -D PERL_USEITHREADS
Contents of t/logs/error_log:
[Tue May 22 10:28:34 2007] [notice] Apache/2.2.0 (Unix) world domination
series/2.0 mod_perl/2.0.3 Perl/v5.8.0 configured -- resuming normal
operations
[Tue May 22 10:28:34 2007] [info] Server built: May 22 2007 10:09:47
[Tue May 22 10:28:34 2007] [debug] prefork.c(991): AcceptMutex: sysvsem
(default: sysvsem)
2. Used Components and their Configuration:
*** mod_perl version 2.000003
*** using /opt/install/mod_perl-2.0.3/lib/Apache2/BuildConfig.pm
*** Makefile.PL options:
MP_APR_LIB => aprext
MP_APXS => /opt/apache-2.2.0/bin/apxs
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
*** /opt/apache-2.2.0/bin/httpd -V
Server version: Apache/2.2.0
Server built: May 22 2007 10:09:47
Server's Module Magic Number: 20051115:0
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/opt/apache-2.2.0"
-D SUEXEC_BIN="/opt/apache-2.2.0/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"
*** /usr/bin/ldd /opt/apache-2.2.0/bin/httpd
libm.so.6 => /lib/tls/libm.so.6 (0x40023000)
libaprutil-1.so.0 => /opt/apache-2.2.0/lib/libaprutil-1.so.0(0x40045000)
libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40059000)
libdb-4.0.so => /lib/libdb-4.0.so (0x40060000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40108000)
libapr-1.so.0 => /opt/apache-2.2.0/lib/libapr-1.so.0 (0x40128000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40149000)
librt.so.1 => /lib/librt.so.1 (0x40156000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40168000)
libdl.so.2 => /lib/libdl.so.2 (0x40195000)
libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
*** (apr|apu)-config linking info
-L/opt/apache-2.2.0/lib -laprutil-1 -lgdbm -ldb-4.0 -lexpat
-L/opt/apache-2.2.0/lib -lapr-1 -lrt -lcrypt -lpthread -ldl
*** /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.20-2.48smp, archname=i386-linux-thread-multi
uname='linux str'
config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -g
-Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat,
Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux
-Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0
-Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid
-Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog
-Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly
-Dpager=/usr/bin/less -isr'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef'
useithreads=define usemultiplicity=
useperlio= d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=un uselongdouble=
usemymalloc=, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.2.2 20030213 (Red Hat Linux 8.0 3.2.2-1)',
gccosandvers=''
gccversion='3.2.2 200302'
intsize=e, longsize= , ptrsize=p, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long'
k', ivsize=4'
ivtype='long'
known_ext, nvtype='double'
o_nonbl', nvsize=, Off_t='', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc'
l', ldflags =' -L/usr/local/lib'
ldf'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
perllibs=
libc=/lib/libc-2.3.1.so, so=so, useshrplib=true, libperl=libper
gnulibc_version='2.3.1'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
cccdlflags='-fPIC'
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', lddlflags='s
Unicode/Normalize XS/A'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Locally applied patches:
MAINT18379
Built under linux
Compiled at Feb 18 2003 22:19:53
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
.
*** Packages of interest status:
Apache2 : -
Apache2::Request : -
CGI : 3.05
ExtUtils::MakeMaker: 6.03
LWP : 5.65
mod_perl : 1.9907
mod_perl2 : -
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 May 22 15:33:29 2007 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: bug report
Posted by Fred Moyer <fr...@redhotpenguin.com>.
> LWP : 5.65
> mod_perl : 1.9907
It looks like you have a very old version of mod_perl2 installed in
addition to the one you just installed. I can't say whether that's the
cause of the server not starting during 'make test', but it might help
to remove it via rpm or whatever package manager you are using, and then
reinstall 2.0.3.