You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Reed, Jonathan" <JR...@ptc.com> on 2005/03/24 21:04:22 UTC

[mp2] Make test Fatal error

-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
Make Test fails with the following
This is the last "ok" line from the output

~~snip~~  

server localhost:8560 listening (TestDirective::perlloadmodule6)

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/ |
+--------------------------------------------------------+

*** Error code 1
make: Fatal error: Command failed for target `run_tests'

###################
Here is the output of t/logs/error_log
####
# cat error_log
END in modperl_extra.pl, pid=17415
[Thu Mar 24 14:35:10 2005] [notice] Apache/2.0.50 (Unix) world domination series/2.0 mod_perl/1.999.21 Perl/v5.8.6 configured -- resuming normal operations
[Thu Mar 24 14:35:10 2005] [info] Server built: Mar 24 2005 14:21:20
[Thu Mar 24 14:35:10 2005] [debug] prefork.c(955): AcceptMutex: pthread (default: pthread)
####


2. Used Components and their Configuration:

*** mod_perl version 1.999021

*** using /opt/d00/install.d/mod_perl.d/mod_perl-2.0.0-RC4/lib/Apache/BuildConfig.pm

*** Makefile.PL options:
  MP_APR_LIB     => aprext
  MP_AP_PREFIX   => /d00/apache/external
  MP_COMPAT_1X   => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1


*** /d00/apache/external/bin/httpd -V
Server version: Apache/2.0.50
Server built:   Mar 24 2005 14:21:20
Server's Module Magic Number: 20020903:8
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_USE_PROC_PTHREAD_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="/d00/apache/external"
 -D SUEXEC_BIN="/d00/apache/external/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/d00/apache/external/lib -lapr-0 -lsendfile -lrt -lm -lsocket -lnsl -lresolv  -lpthread -ldl
 -L/d00/apache/external/lib -laprutil-0 -lexpat



*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris
    uname='sunos www-1 5.8 generic_117350-14 sun4u sparc sunw,sun-fire-v210 '
    config_args='-des -Dcc=gcc -B/usr/ccs/bin/'
    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 -D_LARGEFILE_SOURCE -D_FILE_OF
FSET_BITS=64',
    optimize='-O',
    cppflags='-fno-strict-aliasing -pipe'
    ccversion='', gccversion='3.1', 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 =' -L/usr/local/lib -L/opt/local/lib '
    libpth=/usr/local/lib /opt/local/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -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=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib -L/opt/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under solaris
  Compiled at Mar 24 2005 13:49:48
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/local/lib/perl5/5.8.6/sun4-solaris
    /usr/local/lib/perl5/5.8.6
    /usr/local/lib/perl5/site_perl/5.8.6/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.8.6
    /usr/local/lib/perl5/site_perl
    .

*** Packages of interest status:

Apache::Request: -
CGI            : 3.05
LWP            : -
mod_perl       : -


3. This is the core dump trace: (if you get a core dump):

I did not get a core dump

This report was generated by ./REPORT on Thu Mar 24 19:43:19 2005 GMT.

-------------8<---------- End Bug Report --------------8<----------

Thanks in advance for any help or ideas you have.

Jon Reed

Re: [mp2] Make test Fatal error

Posted by Stas Bekman <st...@stason.org>.
Reed, Jonathan wrote:
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
> Make Test fails with the following
> This is the last "ok" line from the output
> 
> ~~snip~~  
> 
> server localhost:8560 listening (TestDirective::perlloadmodule6)
> 
> 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/ |
> +--------------------------------------------------------+
> 
> *** Error code 1
> make: Fatal error: Command failed for target `run_tests'
> 
> ###################
> Here is the output of t/logs/error_log
> ####
> # cat error_log
> END in modperl_extra.pl, pid=17415
> [Thu Mar 24 14:35:10 2005] [notice] Apache/2.0.50 (Unix) world domination series/2.0 mod_perl/1.999.21 Perl/v5.8.6 configured -- resuming normal operations
> [Thu Mar 24 14:35:10 2005] [info] Server built: Mar 24 2005 14:21:20
> [Thu Mar 24 14:35:10 2005] [debug] prefork.c(955): AcceptMutex: pthread (default: pthread)
> ####

Jonathan, it's not clear why the client can't connect. Please try to 
diagnose the problem as explained at:
http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html#Server_Hanging_at_the_Startup

Also did you try to set APACHE_TEST_STARTUP_TIMEOUT=240 or something like 
this to give more time to startup (though I doubt your machine is that 
slow, it must be something else).

-- 
__________________________________________________________________
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