I'm a mod_perl newbie trying to get my first installation working, and I'm
hitting a brick wall. I can get Apache to come up, but as soon as I try to
access it, just using the machine and port as the URL, I get a core dump.
make test doesn't work at all, the server never even comes up. Hope you can
give me some pointers, I'm completely at a loss here.
thanks,
Bruce Kleinman
[EMAIL PROTECTED]
--
I'm using:
Apache 1.3.19
Perl 5.6.1
mod_perl 1.25
--
I built mod_perl with these Makefile.PL options: APACHE_SRC=...,
DO_HTTPD=1,
USE_APACI=1,PREP_HTTPD=1,EVERYTHING=1,PERL_DEBUG=1
--
perl -V output:
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.7, archname=sun4-solaris
uname='sunos avicenna 5.7 generic_106541-12 sun4u sparc sunw,ultra-4 '
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
='-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-I/usr/local/include'
ccversion='WorkShop Compilers 4.2 30 Oct 1996 C 4.2', gccversion='',
gccosandvers=''
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, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib -L/opt/SUNWspro/SC4.2/lib '
libpth=/usr/local/lib /opt/SUNWspro/SC4.2/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
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC',
lddlflags='-G -L/usr/local/lib -L/opt/SUNWspro/SC4.2/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Jul 5 2001 13:42:17
@INC:
/home/bkleinman/lib/perl5/5.6.1/sun4-solaris
/home/bkleinman/lib/perl5/5.6.1
/home/bkleinman/lib/perl5/site_perl/5.6.1/sun4-solaris
/home/bkleinman/lib/perl5/site_perl/5.6.1
/home/bkleinman/lib/perl5/site_perl
.
--
error_log extract:
[Wed Jul 11 15:27:23 2001] [info] mod_unique_id: using ip addr 172.20.20.237
[Wed Jul 11 15:27:24 2001] [notice] Apache/1.3.19 (Unix) mod_perl/1.25
configured -- resuming normal operations
[Wed Jul 11 15:27:24 2001] [info] Server built: Jul 11 2001 15:22:22
[Wed Jul 11 15:28:08 2001] [notice] child pid 20565 exit signal Segmentation
Fau
lt (11), possible coredump in
/home/bkleinman/install_perldebug/var/servers/best
/apache1
--
back trace from the core file using dbx:
program terminated by signal SEGV (no mapping at the fault address)
(dbx) where
=>[1] perl_header_parser(0xdf5c0, 0xfec256a0, 0xfed3ced8, 0x0, 0x0, 0x0), at
0xfec256cc
[2] run_method(0xdf5c0, 0x2e, 0x1, 0x0, 0x0, 0x2f), at 0x1e158
[3] ap_header_parse(0xdf5c0, 0x86c80, 0x86c00, 0x75, 0x45, 0x65), at
0x1e34c
[4] process_request_internal(0xdf5c0, 0x0, 0x3, 0x0, 0xec00, 0x0), at
0x3ae4c
[5] ap_process_request(0xdf5c0, 0xc8, 0xdf5c0, 0xffbef378, 0xffbef388,
0x0), at 0x3b35c
[6] child_main(0x0, 0x2ce54, 0x2cc00, 0x0, 0x0, 0x0), at 0x2eb58
[7] make_child(0xa2f60, 0x0, 0x3b4cd9f2, 0x0, 0x40, 0x0), at 0x2edc0
[8] startup_children(0x5, 0x0, 0x5, 0x9bc00, 0xadef0, 0xfed3ced8), at
0x2efc0
[9] standalone_main(0x4, 0xffbef63c, 0x0, 0x1, 0xff236768, 0xff236aa4), at
0x2f8a4
[10] main(0x4, 0xffbef63c, 0xffbef650, 0x9eb88, 0x0, 0x0), at 0x30450
--