Re: segfaulting upon request

2002-03-10 Thread Steev Hise

On Fri, 8 Mar 2002, Ged Haywood wrote:

- -Hmmm.  That's interesting... do I smell RPMs?
-
- i didnt use any rpms when i built apache, modssl, php, and modperl.
- i'm not sure what you mean or how your comment is intended to help.
-
-I apologize if my message was not clear.  Did you build your own Perl?

yes.

for the record, i solved the problem(s) thusly:
-fell back to using the earlier version of modperl (1.25_01)
-everything was fine except then i found that php4.1.2 was then causing
segfaults upon 404s. recompiled with php as a static module
-THEN i found that modrewrite was segfaulting upon any rewrite. recompiled
AGAIN with modrewrite static.
-finally, apache the way i need it (modperl/modssl/php)

best,

smh


Steev Hise, Information Engineer
[EMAIL PROTECTED]   http://www.datamassage.com
-
Getting programmers to write documentation is almost as hard
 as getting them to wear ties
-Larry Wall, et.al, 'Programming Perl'
-




Re: segfaulting upon request

2002-03-07 Thread Steev Hise

On Thu, 7 Mar 2002, Ged Haywood wrote:

- on redhat 7.0 linux i686, kernel 2.2.19-7.0.1smp
---
- perl -V
- Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
-   Platform:
---
- osname=linux, osvers=2.2.16-22smp, archname=i686-linux
---
-
-Hmmm.  That's interesting... do I smell RPMs?

well all redhat machines have some RPMs on them, if that's what you mean.
but i didnt use any rpms when i built apache, modssl, php, and modperl. so
i'm not sure what you mean or how your comment is intended to help.

best,


Steev Hise, Information Engineer
[EMAIL PROTECTED]   http://www.datamassage.com
-
Getting programmers to write documentation is almost as hard
 as getting them to wear ties
-Larry Wall, et.al, 'Programming Perl'
-




segfaulting upon request

2002-03-04 Thread Steev Hise


hi,
I've installed and used mod_perl with great sucess before, but
I'm having trouble with the latest version of mod_perl and apache.
(version 1.26 with apache 1.3.23)

upon startup there's a segmentation fault upon any http request.
i'd be grateful for any assistance.

here's what the make test says:

# make test TEST_VERBOSE=1
make[1]: Entering directory `/root/src/mod_perl-1.26/Apache'
make[1]: Leaving directory `/root/src/mod_perl-1.26/Apache'
make[1]: Entering directory `/root/src/mod_perl-1.26/Connection'
make[1]: Leaving directory `/root/src/mod_perl-1.26/Connection'
make[1]: Entering directory `/root/src/mod_perl-1.26/Constants'
make[1]: Leaving directory `/root/src/mod_perl-1.26/Constants'
make[1]: Entering directory `/root/src/mod_perl-1.26/File'
make[1]: Leaving directory `/root/src/mod_perl-1.26/File'
make[1]: Entering directory `/root/src/mod_perl-1.26/Leak'
make[1]: Leaving directory `/root/src/mod_perl-1.26/Leak'
make[1]: Entering directory `/root/src/mod_perl-1.26/Log'
make[1]: Leaving directory `/root/src/mod_perl-1.26/Log'
make[1]: Entering directory `/root/src/mod_perl-1.26/ModuleConfig'
make[1]: Leaving directory `/root/src/mod_perl-1.26/ModuleConfig'
make[1]: Entering directory `/root/src/mod_perl-1.26/PerlRunXS'
make[1]: Leaving directory `/root/src/mod_perl-1.26/PerlRunXS'
make[1]: Entering directory `/root/src/mod_perl-1.26/Server'
make[1]: Leaving directory `/root/src/mod_perl-1.26/Server'
make[1]: Entering directory `/root/src/mod_perl-1.26/Symbol'
make[1]: Leaving directory `/root/src/mod_perl-1.26/Symbol'
make[1]: Entering directory `/root/src/mod_perl-1.26/Table'
make[1]: Leaving directory `/root/src/mod_perl-1.26/Table'
make[1]: Entering directory `/root/src/mod_perl-1.26/URI'
make[1]: Leaving directory `/root/src/mod_perl-1.26/URI'
make[1]: Entering directory `/root/src/mod_perl-1.26/Util'
make[1]: Leaving directory `/root/src/mod_perl-1.26/Util'
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
./apaci/load_modules.pl ../apache_1.3.23/src
../apache_1.3.23/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t 
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
done
/usr/local/bin/perl t/TEST 1
still waiting for server to warm up...not ok
server failed to start! (please examine t/logs/error_log) at t/TEST line
95.
make: *** [run_tests] Error 111

i built modperl and apache like this:
 perl Makefile.PL APACHE_SRC=../apache_1.3.23/ NO_HTTPD=1
USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1 USE_DSO=1
make
make install

build apache:
./configure --prefix=/etc/httpd-perl \
--activate-module=src/modules/perl/libperl.a --enable-shared=max \
--enable-module=all --verbose --disable-module=auth_db \
--enable-shared=perl
make
make install

here's details of the machine:
on redhat 7.0 linux i686, kernel 2.2.19-7.0.1smp
perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
osname=linux, osvers=2.2.16-22smp, archname=i686-linux
uname='linux apparelizer.scribble.com 2.2.16-22smp #1 smp tue aug 22
16:39:21 edt 2000 i686 unknown '
config_args=''
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 ='-fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing'
ccversion='', gccversion='2.96 2731 (Red Hat Linux 7.0)',
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=-lnsl -lgdbm -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=/lib/libc-2.1.92.so, so=so, useshrplib=false, libperl=libperl.a
  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 13 2001 14:29:10
  @INC:
/usr/local/lib/perl5/5.6.1/i686-linux
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl



thanx!


smh



Steev Hise, Information Engineer
[EMAIL PROTECTED]   http://www.datamassage.com
-
Getting programmers to write documentation is almost as hard
 as getting them to wear ties
-Larry Wall, et.al, 'Programming Perl'
-