1. Problem Description: Apache server fails to start while running make test
Output from make test: /usr/local/apache2/bin/httpd -d /usr/local/src/mod_perl-1.99_11/t -f /usr/local/src/mod_perl-1.99_11/t/conf/httpd.conf -DAPACHE2 using Apache/2.0.48 (prefork MPM) waiting 60 seconds for server to start: ...........................[Wed Dec 10 00:04:16 2003] [info] 22 Apache:: modules loaded [Wed Dec 10 00:04:16 2003] [info] 5 APR:: modules loaded [Wed Dec 10 00:04:16 2003] [info] base server + 11 vhosts ready to run tests ............................. waiting 60 seconds for server to start: giving up after 61 secs !!! server failed to start! (please examine t/logs/error_log) Ouput from error_log [Wed Dec 10 00:10:04 2003] [info] Init: Initializing OpenSSL library [Wed Dec 10 00:10:04 2003] [info] Init: Seeding PRNG with 0 bytes of entropy [Wed Dec 10 00:10:04 2003] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Wed Dec 10 00:10:05 2003] [info] Init: Generating temporary DH parameters (512/1024 bits) [Wed Dec 10 00:10:05 2003] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Wed Dec 10 00:10:05 2003] [info] Init: Initializing (virtual) servers for SSL [Wed Dec 10 00:10:05 2003] [info] Server: Apache/2.0.48, Interface: mod_ssl/2.0.48, Library: OpenSSL/0.9.7c [Wed Dec 10 00:10:05 2003] [info] mod_unique_id: using ip addr 64.62.190.140 [Wed Dec 10 00:10:06 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/local/stow/apache-2.0.48/apache2/bin/suexec) END in modperl_extra.pl, pid=14675 [Wed Dec 10 00:10:07 2003] [info] Init: Initializing OpenSSL library [Wed Dec 10 00:10:07 2003] [info] Init: Seeding PRNG with 0 bytes of entropy [Wed Dec 10 00:10:07 2003] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Wed Dec 10 00:10:08 2003] [info] Init: Generating temporary DH parameters (512/1024 bits) [Wed Dec 10 00:10:08 2003] [info] Init: Initializing (virtual) servers for SSL [Wed Dec 10 00:10:08 2003] [info] Server: Apache/2.0.48, Interface: mod_ssl/2.0.48, Library: OpenSSL/0.9.7c [Wed Dec 10 00:10:08 2003] [notice] Digest: generating secret for digest authentication ... An output from ps -ef | grep httpd shows root 14681 1 0 02:44 ? 00:00:00 /usr/local/apache2/bin/httpd -d /usr/local/src/mod_perl-1.99_11/t -f /usr/local/src/mod_perl-1.99_11/t/conf/httpd.conf -DAPACHE2 It appears that apache does start to run. Could this be becuase the 60 second time out arrives before apache finished loading. 2. Used Components and their Configuration: *** mod_perl version 1.9911 *** using /usr/local/src/mod_perl-1.99_11/lib/Apache/BuildConfig.pm *** Makefile.PL options: MP_AP_PREFIX => /usr/local/apache2 MP_COMPAT_1X => 1 MP_GENERATE_XS => 1 MP_LIBNAME => mod_perl MP_USE_DSO => 1 *** /usr/local/apache2/bin/httpd -V Server version: Apache/2.0.48 Server built: Dec 9 2003 21:02:53 Server's Module Magic Number: 20020903:4 Architecture: 32-bit 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 HTTPD_ROOT="/usr/local/stow/apache-2.0.48/apache2" -D SUEXEC_BIN="/usr/local/stow/apache-2.0.48/apache2/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/local/stow/perl-5.8.2/bin/perl -V Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration: Platform: osname=linux, osvers=2.4.23-linode16-6um, archname=i686-linux uname='linux adhaero.hat-technologies.ltd.uk 2.4.23-linode16-6um #14 tue dec 2 15:32:09 est 2003 i686 unknown ' config_args='' 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='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFS ET_BITS=64', optimize='-O3', cppflags='-fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='2.95.4 20011002 (Debian prerelease)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under linux Compiled at Dec 4 2003 21:34:11 %ENV: PERL_LWP_USE_HTTP_10="1" @INC: /usr/local/stow/perl-5.8.2/lib/5.8.2/i686-linux /usr/local/stow/perl-5.8.2/lib/5.8.2 /usr/local/stow/perl-5.8.2/lib/site_perl/5.8.2/i686-linux /usr/local/stow/perl-5.8.2/lib/site_perl/5.8.2 /usr/local/stow/perl-5.8.2/lib/site_perl . 3. This is the core dump trace: (if you get a core dump): None available --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.548 / Virus Database: 341 - Release Date: 07/12/2003 -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html