brand new staticised mod_perl 1.99.16 / apache 2.0.51 segfaults.
-8<-- Start Bug Report 8<-- 1. Problem Description: On a plain boring box running debian stable, the simplest build of apache 2.0.51 with a static linked mod_perl 1.99.16 segfaults immediately on start. I've been running round in circles on this all evening, any assistance would be hugely appreciated. :( The entire install was built by downloading & expanding apache & mod_perl, and then running: $ perl Makefile.PL \ MP_AP_PREFIX=../httpd-2.0.51/ \ MP_AP_BUILD=1 \ MP_DEBUG=1 \ MP_INST_APACHE2=1 \ MP_AP_CONFIGURE="--enable-maintainer-mode --prefix=/usr/local/apache2 --localstatedir=/var/run/apache2 --with-mpm=prefork" $ make # make install $ make test in the mod_perl source tree. 2. Used Components and their Configuration: *** mod_perl version 1.9916 *** using /usr/local/src/web/apache2/mod_perl-1.99_16/lib/Apache/BuildConfig.pm *** Makefile.PL options: MP_APR_LIB => aprext MP_AP_BUILD => 1 MP_AP_CONFIGURE => --enable-maintainer-mode --prefix=/usr/local/apache2 --localstatedir=/var/run/apache2 --with-mpm=prefork MP_AP_PREFIX=> /usr/local/src/web/apache2/mod_perl-1.99_16/../httpd-2.0.51 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 MP_USE_STATIC => 1 *** /usr/local/apache2/bin/httpd -V Server version: Apache/2.0.51 Server built: Sep 24 2004 01:39:37 Server's Module Magic Number: 20020903:9 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/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_PIDLOG="/var/run/apache2/logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/apache2/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/usr/local/src/web/apache2/httpd-2.0.51/srclib/apr -lapr-0 -lrt -lm -lcrypt -lnsl -lpthread -ldl *** /usr/bin/perl -V Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=linux, osvers=2.6.3-deb2-skas3, archname=i386-linux uname='linux mizar 2.6.3-deb2-skas3 #1 sun mar 14 14:46:35 pst 2004 i686 unknown ' config_args='-Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.6.1 -Darchlib=/usr/lib/perl/5.6.1 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.6.1 -Dsitearch=/usr/local/lib/perl/5.6.1 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Duseshrplib -Dlibperl=libperl.so.5.6.1 -Dd_dosuid -des' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-DDEBIAN -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, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lgdbm -ldb -ldl -lm -lc -lcrypt perllibs=-ldl -lm -lc -lcrypt libc=/lib/libc-2.2.5.so, so=so, useshrplib=true, libperl=libperl.so.5.6.1 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 Apr 4 2004 05:57:53 %ENV: PERL_LWP_USE_HTTP_10="1" @INC: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl . *** Packages of interest status: Apache::Request: - CGI: 2.752 LWP: 5.64, 5.69 mod_perl : 1.29, 1.9916 3. This is the core dump trace: (if you get a core dump): pho
Re: brand new staticised mod_perl 1.99.16 / apache 2.0.51 segfaults.
Stas Bekman wrote: Matthew, please try the current cvs, Philippe has been working hard on improving the static build since _16 was released. http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution -8<-- Start Bug Report 8<-- 1. Problem Description: Thanks for the quick response, Stas - unfortunately with the latest mod_perl cvs, things still segfault immediately: 2. Used Components and their Configuration: *** mod_perl version 1.9917 *** using /usr/local/src/web/apache2/mod_perl-2.0-cvs/lib/Apache/BuildConfig.pm *** Makefile.PL options: MP_APR_LIB => aprext MP_AP_CONFIGURE => --enable-maintainer-mode --prefix=/usr/local/apache2 --localstatedir=/var/run/apache2 --with-mpm=prefork MP_AP_PREFIX=> /usr/local/src/web/apache2/mod_perl-2.0-cvs/../httpd-2.0.51 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 *** ../../httpd-2.0.51/.libs/httpd -V Server version: Apache/2.0.51 Server built: Sep 24 2004 02:24:28 Server's Module Magic Number: 20020903:9 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/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_PIDLOG="/var/run/apache2/logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/apache2/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/usr/local/src/web/apache2/httpd-2.0.51/srclib/apr/.libs -L/usr/local/src/web/apache2/httpd-2.0.51/srclib/apr -lapr-0 -lrt -lm -lcrypt -lnsl -lpthread -ldl -L/usr/local/src/web/apache2/httpd-2.0.51/srclib/apr-util/.libs -L/usr/local/src/web/apache2/httpd-2.0.51/srclib/apr-util -laprutil-0 -lgdbm -ldb3 -lexpat *** /usr/bin/perl -V Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=linux, osvers=2.6.3-deb2-skas3, archname=i386-linux uname='linux mizar 2.6.3-deb2-skas3 #1 sun mar 14 14:46:35 pst 2004 i686 unknown ' config_args='-Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.6.1 -Darchlib=/usr/lib/perl/5.6.1 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.6.1 -Dsitearch=/usr/local/lib/perl/5.6.1 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Duseshrplib -Dlibperl=libperl.so.5.6.1 -Dd_dosuid -des' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-DDEBIAN -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, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lgdbm -ldb -ldl -lm -lc -lcrypt perllibs=-ldl -lm -lc -lcrypt libc=/lib/libc-2.2.5.so, so=so, useshrplib=true, libperl=libperl.so.5.6.1 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 Apr 4 2004 05:57:53 %ENV: PERL_LWP_USE_HTTP_10="1" @INC: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl . *** Packages of interest status: Apache::Request: - CGI: 2.752 LWP: 5.64, 5.69 mod_perl : 1.29, 1.9917 3. This is the core dump trace: (if you get a core dump): phoenix 948# gdb ../../httpd-2.0.51/.libs/httpd GNU gdb 2002-04-01-cvs Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by th
Re: brand new staticised mod_perl 1.99.16 / apache 2.0.51 segfaults.
Stas Bekman wrote: Matthew, please try the current cvs, Philippe has been working hard on improving the static build since _16 was released. http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution Okay, my previous build using latest mod_perl cvs was slightly screwy due to not cleaning the build tree sufficiently & not realising that you now specify MP_USE_STATIC=1 to build a statically linked httpd. Armed with this knowledge, i'm happy to say that it doesn't crash under debian unstable - but under stable, the same problem presents itself. :( (under debian unstable, I had to export -I/usr/lib/perl/5.8/CORE/ in CPPFLAGS for it to find the right perl headers when compiling) -8<-- Start Bug Report 8<-- 1. Problem Description: mod_perl 2.0 CVS head + apache 2.0.51 segfault at startup under debian stable. I also had to butcher ./src/modules/perl/modperl_exports.c to remove non-existent symbol references to get it to compile. 2. Used Components and their Configuration: *** mod_perl version 1.9917 *** using /usr/local/src/web/apache2/mod_perl-2.0-cvs/lib/Apache/BuildConfig.pm *** Makefile.PL options: MP_APR_LIB => aprext MP_AP_CONFIGURE => --enable-maintainer-mode --prefix=/usr/local/apache2 --localstatedir=/var/run/apache2 --with-mpm=prefork MP_AP_PREFIX=> /usr/local/src/web/apache2/mod_perl-2.0-cvs/../httpd-2.0.51 MP_COMPAT_1X=> 1 MP_DEBUG=> 1 MP_GENERATE_XS => 1 MP_INST_APACHE2 => 1 MP_LIBNAME => mod_perl MP_TRACE=> 1 MP_USE_STATIC => 1 *** /usr/local/src/web/apache2/mod_perl-2.0-cvs/../httpd-2.0.51/httpd -V Server version: Apache/2.0.51 Server built: Sep 24 2004 03:14:03 Server's Module Magic Number: 20020903:9 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/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_PIDLOG="/var/run/apache2/logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/apache2/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/usr/local/src/web/apache2/httpd-2.0.51/srclib/apr/.libs -L/usr/local/src/web/apache2/httpd-2.0.51/srclib/apr -lapr-0 -lrt -lm -lcrypt -lnsl -lpthread -ldl -L/usr/local/src/web/apache2/httpd-2.0.51/srclib/apr-util/.libs -L/usr/local/src/web/apache2/httpd-2.0.51/srclib/apr-util -laprutil-0 -lgdbm -ldb3 -lexpat *** /usr/bin/perl -V Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=linux, osvers=2.6.3-deb2-skas3, archname=i386-linux uname='linux mizar 2.6.3-deb2-skas3 #1 sun mar 14 14:46:35 pst 2004 i686 unknown ' config_args='-Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.6.1 -Darchlib=/usr/lib/perl/5.6.1 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.6.1 -Dsitearch=/usr/local/lib/perl/5.6.1 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Duseshrplib -Dlibperl=libperl.so.5.6.1 -Dd_dosuid -des' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-DDEBIAN -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, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lgdbm -ldb -ldl -lm -lc -lcrypt perllibs=-ldl -lm -lc -lcrypt libc=/lib/libc-2.2.5.so, so=so, useshrplib=true, libperl=libperl.so.5.6.1 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 li
Re: brand new staticised mod_perl 1.99.16 / apache 2.0.51 segfaults.
On Thu, 23 Sep 2004, Stas Bekman wrote: Matthew Hodgson wrote: Stas Bekman wrote: Matthew, please try the current cvs, Philippe has been working hard on improving the static build since _16 was released. http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution -8<-- Start Bug Report 8<-- 1. Problem Description: Thanks for the quick response, Stas - unfortunately with the latest mod_perl cvs, things still segfault immediately: I hope Philippe will have time to look at it tomorrow. I guess that the problem has to do with perl-5.6 that you use. We were testing only with 5.8 so far. I could be wrong. The dynamic build is not working for you either? The dynamic build runs, but a bunch of tests fail due to an undefined symbol of apr_bucket_setaside_notimpl with errors like: t/apr-ext/base64Can't load '/usr/local/src/web/apache2/mod_perl-2.0-cvs/blib/arch/Apache2/auto/APR/APR.so' for module APR: /usr/local/src/web/apache2/mod_perl-2.0-cvs/blib/arch/Apache2/auto/APR/APR.so: undefined symbol: apr_bucket_setaside_notimpl at /usr/lib/perl/5.6.1/DynaLoader.pm line 202. at /usr/local/src/web/apache2/mod_perl-2.0-cvs/blib/lib/Apache2/APR/Base64.pm line 23 Compilation failed in require at /usr/local/src/web/apache2/mod_perl-2.0-cvs/blib/lib/Apache2/APR/Base64.pm line 23. BEGIN failed--compilation aborted at /usr/local/src/web/apache2/mod_perl-2.0-cvs/blib/lib/Apache2/APR/Base64.pm line 23. Compilation failed in require at /usr/local/src/web/apache2/mod_perl-2.0-cvs/t/lib/TestAPRlib/base64.pm line 11. BEGIN failed--compilation aborted at /usr/local/src/web/apache2/mod_perl-2.0-cvs/t/lib/TestAPRlib/base64.pm line 11. Compilation failed in require at t/apr-ext/base64.t line 5. BEGIN failed--compilation aborted at t/apr-ext/base64.t line 5. t/apr-ext/base64dubious Test returned status 255 (wstat 65280, 0xff00) Failed TestStat Wstat Total Fail Failed List of Failed --- t/directive/env.t 81 12.50% 8 t/modperl/merge.t101 10.00% 2 t/modperl/merge2.t 101 10.00% 2 t/modperl/merge3.t 101 10.00% 2 t/protocol/echo_nonblock.t32 66.67% 2-3 t/protocol/pseudo_http.t 013136 46.15% 10-13 t/vhost/log.t 91 11.11% 9 21 tests skipped. Failed 20/218 test scripts, 90.83% okay. 11/3086 subtests failed, 99.64% okay. This is with CVS head of both mod_perl & httpd-2.0. I haven't had a chance to see whether the failure of these tests is a showstopper for simple mod_perl stuff. yours, Matthew. -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: brand new staticised mod_perl 1.99.16 / apache 2.0.51 segfaults.
On Fri, 24 Sep 2004, Matthew Hodgson wrote: Stas Bekman wrote: Matthew, please try the current cvs, Philippe has been working hard on improving the static build since _16 was released. http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution Okay, my previous build using latest mod_perl cvs was slightly screwy due to not cleaning the build tree sufficiently & not realising that you now specify MP_USE_STATIC=1 to build a statically linked httpd. Armed with this knowledge, i'm happy to say that it doesn't crash under debian unstable - but under stable, the same problem presents itself. :( This is a complete stab in the dark, but I just noticed that my kernel made some unhappy threading complaints (for the first time ever) during trying to get Apache2/mod_perl2 running last night - I can't xref from the timestamps whether this was connected to the segfaulting mod_perl builds, or caused by non-mod_perl Apache2s or just the build process, but just in case it might be relavent: # cat /var/log/kern.log Sep 23 23:26:54 phoenix kernel: request_module[net-pf-10]: fork failed, errno 1 Sep 24 00:01:40 phoenix kernel: request_module[net-pf-10]: fork failed, errno 1 Sep 24 00:38:18 phoenix kernel: request_module[net-pf-10]: fork failed, errno 1 Sep 24 01:54:50 phoenix kernel: request_module[net-pf-10]: fork failed, errno 1 Sep 24 02:30:00 phoenix kernel: request_module[net-pf-10]: fork failed, errno 1 Sep 24 03:26:05 phoenix kernel: request_module[net-pf-10]: fork failed, errno 1 # uname -a Linux phoenix.arasphere.net 2.4.26-1mjh #2 Mon Apr 19 00:53:07 BST 2004 i686 unknown -8<-- Start Bug Report 8<-- 1. Problem Description: mod_perl 2.0 CVS head + apache 2.0.51 segfault at startup under debian stable. I also had to butcher ./src/modules/perl/modperl_exports.c to remove non-existent symbol references to get it to compile. 2. Used Components and their Configuration: *** mod_perl version 1.9917 *** using /usr/local/src/web/apache2/mod_perl-2.0-cvs/lib/Apache/BuildConfig.pm *** Makefile.PL options: MP_APR_LIB => aprext MP_AP_CONFIGURE => --enable-maintainer-mode --prefix=/usr/local/apache2 --localstatedir=/var/run/apache2 --with-mpm=prefork MP_AP_PREFIX=> /usr/local/src/web/apache2/mod_perl-2.0-cvs/../httpd-2.0.51 MP_COMPAT_1X=> 1 MP_DEBUG=> 1 MP_GENERATE_XS => 1 MP_INST_APACHE2 => 1 MP_LIBNAME => mod_perl MP_TRACE=> 1 MP_USE_STATIC => 1 *** /usr/local/src/web/apache2/mod_perl-2.0-cvs/../httpd-2.0.51/httpd -V Server version: Apache/2.0.51 Server built: Sep 24 2004 03:14:03 Server's Module Magic Number: 20020903:9 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/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_PIDLOG="/var/run/apache2/logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/apache2/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/usr/local/src/web/apache2/httpd-2.0.51/srclib/apr/.libs -L/usr/local/src/web/apache2/httpd-2.0.51/srclib/apr -lapr-0 -lrt -lm -lcrypt -lnsl -lpthread -ldl -L/usr/local/src/web/apache2/httpd-2.0.51/srclib/apr-util/.libs -L/usr/local/src/web/apache2/httpd-2.0.51/srclib/apr-util -laprutil-0 -lgdbm -ldb3 -lexpat *** /usr/bin/perl -V Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=linux, osvers=2.6.3-deb2-skas3, archname=i386-linux uname='linux mizar 2.6.3-deb2-skas3 #1 sun mar 14 14:46:35 pst 2004 i686 unknown ' config_args='-Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.6.1 -Darchlib=/usr/lib/perl/5.6.1 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.6.1 -Dsitearch=/usr/local/lib/perl/5.6.1 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Duseshrplib -Dlibperl=libperl.so.5.6.1 -Dd_dosuid -des' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-DDEBIAN -fno-strict-aliasing -
Strange (13)permission denied in 1.28
Hi all, I just upgraded from Apache 1.27/mod_perl 1.27 to Apache 1.28/mod_perl 1.28 and am noticing some weird behaviour on Apache::Registry scripts - executing a Registry script ( /webroot/www.domain.com/perl/test.pl ) by calling a URL such as: http://www.domain.com/perl/test.pl/movies/image/1234 pops up a message in the error log that: [Wed Oct 1 14:13:01 2003] [error] [client 217.207.98.119] (13)Permission denied: access to /movies/images/1234 failed because search permissions are missing on a component of the path The script itself seems to run correctly - test.pl is a completely simple dummy which just prints headers and exits. Now, /webroot/www.domain.com/movies/ exists, deliberately has permissions 0700 and is owned by root - but why is Apache or Apache::Registry trying to stat that path at all - and how do I stop it or stop the error messages? any help would be gratefully received; Matthew. Matthew Hodgson [EMAIL PROTECTED] Tel: +44 7968 722968 Arathorn: Co-Sysadmin, TheOneRing.net®