Well, setting MOD_PERL_TRACE=1 did give me something new.  httpd seg faults 
now.
Here's the back trace (if anyone out there cares).

I'm still planning on compiling/installing from source (assuming my problem 
is compiler skew).

Oh, I did use the RPM from http://www.davideous.com/modperlrpm/distrib/ (as 
Stas suggested) to see if that would help, but it made no difference.  I 
suspect I already had that rpm installed (that's what rpm said).

(gdb) set args -X
(gdb) run
Starting program: /usr/sbin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x40308503 in boot_DBI ()
(gdb) tb
Breakpoint 1 at 0x40308503
(gdb) bt
#0  0x40308503 in boot_DBI ()
#1  0x403da306 in ?? () from /etc/httpd/modules/libperl.so
#2  0x4040417d in ?? () from /etc/httpd/modules/libperl.so
#3  0x403ac641 in ?? () from /etc/httpd/modules/libperl.so
#4  0x403ae989 in ?? () from /etc/httpd/modules/libperl.so
#5  0x403c754f in ?? () from /etc/httpd/modules/libperl.so
#6  0x403c0c36 in ?? () from /etc/httpd/modules/libperl.so
#7  0x403f2b26 in ?? () from /etc/httpd/modules/libperl.so
#8  0x403f3591 in ?? () from /etc/httpd/modules/libperl.so
#9  0x4040417d in ?? () from /etc/httpd/modules/libperl.so
#10 0x403ac641 in ?? () from /etc/httpd/modules/libperl.so
#11 0x403ae989 in ?? () from /etc/httpd/modules/libperl.so
#12 0x403c754f in ?? () from /etc/httpd/modules/libperl.so
#13 0x403c5080 in ?? () from /etc/httpd/modules/libperl.so
#14 0x403c0d64 in ?? () from /etc/httpd/modules/libperl.so
#15 0x403f2b26 in ?? () from /etc/httpd/modules/libperl.so
#16 0x403f3591 in ?? () from /etc/httpd/modules/libperl.so
#17 0x4040417d in ?? () from /etc/httpd/modules/libperl.so
#18 0x403ac96c in ?? () from /etc/httpd/modules/libperl.so
#19 0x40398295 in ?? () from /etc/httpd/modules/libperl.so
#20 0x403982dd in ?? () from /etc/httpd/modules/libperl.so
#21 0x40393f38 in ?? () from /etc/httpd/modules/libperl.so
#22 0x80531b9 in ap_clear_module_list ()
#23 0x805350c in ap_handle_command ()
#24 0x8053558 in ap_srm_command_loop ()
#25 0x80538c7 in ap_process_resource_config ()
#26 0x8053f44 in ap_read_config ()
#27 0x805ae47 in ap_child_terminate ()
#28 0x805b4fb in main ()
#29 0x400b6cb3 in __libc_start_main (main=0x805b290 <main>, argc=2,
     argv=0xbffffce4, init=0x804e684 <_init>, fini=0x80794ec <_fini>,
     rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffcdc)
     at ../sysdeps/generic/libc-start.c:78


At 12:05 AM 12/14/99 -0800, Doug MacEachern wrote:
>if you build with PERL_TRACE=1 and start the server like so:
>% setenv MOD_PERL_TRACE=1
>% httpd -X
>
>you should get some helpful diagnotics.
>
>On Sat, 11 Dec 1999, Bill Marrs wrote:
>
> > Hi,
> >
> > I've been using mod_perl successfully albeit minimally for a couple months
> > now.
> > I'm trying to tune performance and memory usage by consolidating some
> > common Perl "use" directives in a PerlRequire statement.  However, when I
> > add this line to my Apache config file (/etc/httpd/conf/httpd.conf), the
> > server fails to come up - and also give no indication that I can find of a
> > problem.  So, I don't know what's going wrong.
> >
> > Here's what I'm adding to my httpd.conf file:
> >
> > PerlRequire /home/ugtz/startup.pl
> >
> >
> > I have the usual stuff in my /home/ugtz/startup.pl file, actually I tried
> > commenting everything but the #!/usr/local/bin/perl and the "1;" at the
> > end, and it still failed.  So, I don't think the contents of the file are
> > at fault.
> >
> > My httpd error log doesn't say anything is wrong, it actually doesn't log
> > anything - like it never got that far...
> >
> > I do:
> > % /etc/rc.d/init.d/httpd start
> > Starting httpd:                   [  OK  ]
> > % ps -ef |grep httpd
> > [no httpd processes]
> > % tail /etc/httpd/logs/error_log
> > [ nothing new in log ]
> >
> >
> > Does anyone have any clues for me to track down on this, I'm stumped.
> >
> > -bill
> >
> >

Reply via email to