-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

  A. Apache 2.0.43:

  ./configure --enable-layout=SuSE --with-mpm=worker
  make
  make install
  <-- hokie-dokie -->

  B. mod_perl 1.99_07

  perl Makefile.pl MP_AP_PREFIX=/usr/include/apache MP_INST_APACHE2=1

  (that funny include directory is _real_: it's specified in
  the apache config.layout under SuSE. I cleared it before the apache
  configure/build, and it reappeared - looks OK to me).

  C. Apache/Const not found:

  Can't locate Apache/Const.pm in @INC (@INC contains:
    Apache-Test/lib /usr/local/addons/mod_perl-1.99_07/Apache-Test/lib
    /usr/local/addons/mod_perl-1.99_07/lib
    /usr/local/addons/mod_perl-1.99_07/blib/lib
    /usr/local/addons/mod_perl-1.99_07/blib/arch
    /usr/local/addons/mod_perl-1.99_07/t/../Apache-Test/lib
    /usr/local/addons/mod_perl-1.99_07/t/../lib
    /usr/local/addons/mod_perl-1.99_07/t/../../lib
    /usr/lib/perl5/5.8.0/i586-linux-thread-multi
    /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
   .) at
/usr/local/addons/mod_perl-1.99_07/t/response/TestApache/subprocess.pm line
12.
  BEGIN failed--compilation aborted at
    /usr/local/addons/mod_perl-1.99_07/t/response/TestApache/subprocess.pm
line 12.

  Here is where Const.pm (actually several vertsions of them) is
  in the mod_perl tree (looks like the @INC should have
a --/Apache2/Apache--
  in it) (all below are from /usr/local/addons/mod_perl-1.99_07/):

  blib/lib/Apache2/APR:
    -r--r--r--    1 root     root          160 Apr 11  2001 Const.pm
  blib/lib/Apache2/Apache:
    -r--r--r--    1 root     root          324 Aug 28 16:28 Const.pm
  blib/lib/Apache2/ModPerl:
    -r--r--r--    1 root     root          743 Sep  5 07:07 Const.pm
  xs/APR/Const:
    -rw-r--r--    1 beau     mysql         160 Apr 11  2001 Const.pm
  xs/Apache/Const:
    -rw-r--r--    1 beau     mysql         324 Aug 28 16:28 Const.pm
  xs/ModPerl/Const:
    -rw-r--r--    1 beau     mysql         743 Sep  5 07:07 Const.pm

  D. apache/subprocess test

  ...
  apache/scanhdrs2.........ok
  apache/subprocess........FAILED tests 1-4
        Failed 4/4 tests, 0.00% okay
  apache/write.............ok
  ...

  E. apr/perlio

  ...
  apr/os...................ok
  apr/perlio...............FAILED tests 1-11
        Failed 11/11 tests, 0.00% okay
  apr/pool.................ok
  ...

  F. t/logs/error_log:

  ...
  END in modperl_extra.pl, pid=7419
  [Mon Dec 02 05:08:24 2002] [notice] Apache/2.0.43 (Unix)
mod_perl/1.99_07-dev Perl/v5.8.0 configured -- resuming normal operations
  [Mon Dec 02 05:08:24 2002] [info] Server built: Dec  2 2002 04:57:53
  [Mon Dec 02 05:08:24 2002] [debug] worker.c(1736): AcceptMutex: sysvsem
(default: sysvsem)
  [Mon Dec 02 05:08:25 2002] [error] server reached MaxClients setting,
consider raising the MaxClients setting
  # Failed test 1 in
/usr/local/addons/mod_perl-1.99_07/t/response/TestApache/subprocess.pm at
line 55
  # Failed test 2 in
/usr/local/addons/mod_perl-1.99_07/t/response/TestApache/subprocess.pm at
line 68
  # Failed test 3 in
/usr/local/addons/mod_perl-1.99_07/t/response/TestApache/subprocess.pm at
line 82
  # Failed test 4 in
/usr/local/addons/mod_perl-1.99_07/t/response/TestApache/subprocess.pm at
line 96
  [Mon Dec 02 05:08:31 2002] [info] [client 127.0.0.1] TestAPI::aplog test
in progress
  [Mon Dec 02 05:08:31 2002] [debug]
/usr/local/addons/mod_perl-1.99_07/t/response/TestAPI/aplog.pm(43):
log_serror test ok
  [Mon Dec 02 05:08:31 2002] [debug]
/usr/local/addons/mod_perl-1.99_07/t/response/TestAPI/aplog.pm(46):
(20007)No time was provided and one was required.: log_serror test 2 ok
  [Mon Dec 02 05:08:31 2002] [debug]
/usr/local/addons/mod_perl-1.99_07/t/response/TestAPI/aplog.pm(49): [client
127.0.0.1] (20007)No time was provided and one was required.: log_rerror
test ok
  [Mon Dec 02 05:08:31 2002] [error] $r->log_error test ok
  [Mon Dec 02 05:08:31 2002] [error] $s->log_error test ok
  [Mon Dec 02 05:08:31 2002] [debug]
/usr/local/addons/mod_perl-1.99_07/t/response/TestAPI/aplog.pm(63):
TestAPI::aplog test done
  [Mon Dec 02 05:08:31 2002] [warn] ApacheApache->warn test ok
  [Mon Dec 02 05:08:31 2002] [warn] $s->warn test ok
  [Mon Dec 02 05:08:38 2002] [error] [client 127.0.0.1] mkdir
/usr/local/addons/mod_perl-1.99_07/t/htdocs/perlio: Permission denied at
/usr/local/addons/mod_perl-1.99_07/Apache-Test/lib/Apache/TestUtil.pm line
128

  [Mon Dec 02 05:08:41 2002] [error] Apache::log_error test ok
  [Mon Dec 02 05:08:52 2002] [error] [client 127.0.0.1] File does not exist:
/usr/local/addons/mod_perl-1.99_07/t/htdocs/nope
  [Mon Dec 02 05:09:00 2002] [info] removed PID file
/usr/local/addons/mod_perl-1.99_07/t/logs/httpd.pid (pid=7420)
  [Mon Dec 02 05:09:00 2002] [notice] caught SIGTERM, shutting down
  END in modperl_extra.pl, pid=7420
  ...

  MaxClients (in t/conf/httpd.conf):
  ...
  <IfModule worker.c>
    StartServers         1
    MaxClients           1
    MinSpareThreads      1
  ...
  Tried setting it to 150 before make test, but he sets it back to 1!

  G. I hope you folks don't think I'm just dumping this on you;
     I have tried everthing I could think of before reporting;
         I'm really trying to RTFM and learn while I'm doing...

2. Used Components and their Configuration:

*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
  MP_AP_PREFIX    => /usr/include/apache
  MP_GENERATE_XS  => 1
  MP_INST_APACHE2 => 1
  MP_LIBNAME      => mod_perl
  MP_USE_DSO      => 1
  MP_USE_STATIC   => 1


*** /usr/sbin/httpd -V
Server version: Apache/2.0.43
Server built:   Dec  2 2002 04:57:53
Server's Module Magic Number: 20020903:0
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/worker"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6
 -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"
 -D SUEXEC_BIN="/usr/bin/suexec"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="/etc/httpd/mime.types"
 -D SERVER_CONFIG_FILE="/etc/httpd/httpd.conf"


*** /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.19, archname=i586-linux-thread-multi
    uname='linux amdsim5 2.4.19 #1 wed mar 27 13:57:05 utc 2002 i686 unknown
'




config_args='-ds -e -Dprefix=/usr -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_g
dbm -Duseshrplib=true'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags
='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FIL
E_OFFSET_BITS=64',
    optimize='-O3 --pipe',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing'
    ccversion='', gccversion='3.2', 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 =''
    libpth=/lib /usr/lib /usr/local/lib
    libs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
    libc=, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.2.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i586-linux-thread-multi
/CORE'
    cccdlflags='-fPIC', lddlflags='-shared'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Oct  8 2002 16:55:42
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/lib/perl5/5.8.0/i586-linux-thread-multi
    /usr/lib/perl5/5.8.0
    /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl
    .


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 Mon Dec  2 15:07:32 2002 GMT.

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

Note: Complete the rest of the details and post this bug report to
dev <at> perl.apache.org. To subscribe to the list send an empty
email to [EMAIL PROTECTED]


Reply via email to