Re: httpd exits with apache-1.3.12 and mod_perl-1.21 on Redhat 6.2

2000-05-25 Thread Doug MacEachern

On Wed, 24 May 2000, Roberto Bourgonjen wrote:

 Hi all,
 
 I am encountering strange problems on redhat 6.2 installations with
 rpm's apache-1.3.12-2 and mod_perl-1.21-10 (the latest available
 versions from redhat. I _have_ to use rpm's). I've tried two machines.
 
 As soon as load certain modules the server exits immediately, without 
 producing the slightest error message.

try this:

% gdb httpd
(gdb) b exit
(gdb) run -X

whether it core dumps or exit() is called, post the output of:

(gdb) bt





Re: httpd exits with apache-1.3.12 and mod_perl-1.21 on Redhat 6.2

2000-05-25 Thread Stas Bekman

On Wed, 24 May 2000, Roberto Bourgonjen wrote:

 Hi all,
 
 I am encountering strange problems on redhat 6.2 installations with
 rpm's apache-1.3.12-2 and mod_perl-1.21-10 (the latest available
 versions from redhat. I _have_ to use rpm's). I've tried two machines.

If the latest mod_perl solves the problem, creating a new RPM is a matter
of downloading the SRPM file (source, e.g. mod_perl-1.21-10.src.rpm),
running:

% rpm -i mod_perl-1.21-10.src.rpm

going into /usr/src/redhat/SOURCES/

putting mod_perl-1.24.tar.gz there

editing /usr/src/redhat/SPECS/mod_perl-1.21-10.spec to pick the latest
tar.gz instead of mod_perl-1.21.tar.gz, renaming the spec file to
mod_perl-1.24-1.spec or else and builing the rpm:

% rpm -ba  /usr/src/redhat/SPECS/mod_perl-1.24-1.spec

and you will get both the src and i386 rpms created.

Enjoy.

_
Stas Bekman  JAm_pH --   Just Another mod_perl Hacker
http://stason.org/   mod_perl Guide  http://perl.apache.org/guide 
mailto:[EMAIL PROTECTED]   http://perl.org http://stason.org/TULARC
http://singlesheaven.com http://perlmonth.com http://sourcegarden.org




Re: httpd exits with apache-1.3.12 and mod_perl-1.21 on Redhat 6.2

2000-05-25 Thread Roberto Bourgonjen

On Thu, 25 May 2000, Doug MacEachern wrote:

 On Wed, 24 May 2000, Roberto Bourgonjen wrote:
 
  Hi all,
  
  I am encountering strange problems on redhat 6.2 installations with
  rpm's apache-1.3.12-2 and mod_perl-1.21-10 (the latest available
  versions from redhat. I _have_ to use rpm's). I've tried two machines.
  
  As soon as load certain modules the server exits immediately, without 
  producing the slightest error message.
 
 try this:
 
 % gdb httpd
 (gdb) b exit
 (gdb) run -X
 
 whether it core dumps or exit() is called, post the output of:
 
 (gdb) bt

[root@toutatis conf]# gdb /usr/sbin/httpd 
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...(no debugging symbols
found)...
(gdb) b exit
Breakpoint 1 at 0x804f714
(gdb) run -X
Starting program: /usr/sbin/httpd -X
Breakpoint 1 at 0x400c31f2: file exit.c, line 40.
initializing Site

Program received signal SIGSEGV, Segmentation fault.
0x4033f0eb in boot_HTML__Parser () from
/usr/lib/perl5/site_perl/5.005/i386-linux/auto/HTML/Parser/Parser.so
(gdb) bt
#0  0x4033f0eb in boot_HTML__Parser () from
/usr/lib/perl5/site_perl/5.005/i386-linux/auto/HTML/Parser/Parser.so
#1  0x407a24e8 in ?? () from /etc/httpd/modules/libperl.so
#2  0x407cd99d in ?? () from /etc/httpd/modules/libperl.so
#3  0x40772a11 in ?? () from /etc/httpd/modules/libperl.so
#4  0x40774f88 in ?? () from /etc/httpd/modules/libperl.so
#5  0x4078ebdf in ?? () from /etc/httpd/modules/libperl.so
#6  0x4078c5c4 in ?? () from /etc/httpd/modules/libperl.so
#7  0x40787e49 in ?? () from /etc/httpd/modules/libperl.so
#8  0x407bbcaf in ?? () from /etc/httpd/modules/libperl.so
#9  0x407bc720 in ?? () from /etc/httpd/modules/libperl.so
#10 0x407cd99d in ?? () from /etc/httpd/modules/libperl.so
#11 0x40772a11 in ?? () from /etc/httpd/modules/libperl.so
#12 0x40774f88 in ?? () from /etc/httpd/modules/libperl.so
#13 0x4078ebdf in ?? () from /etc/httpd/modules/libperl.so
#14 0x4078c5c4 in ?? () from /etc/httpd/modules/libperl.so
#15 0x40787e49 in ?? () from /etc/httpd/modules/libperl.so
#16 0x407bbcaf in ?? () from /etc/httpd/modules/libperl.so
#17 0x407bc720 in ?? () from /etc/httpd/modules/libperl.so
#18 0x407cd99d in ?? () from /etc/httpd/modules/libperl.so
#19 0x40772a11 in ?? () from /etc/httpd/modules/libperl.so
#20 0x40774f88 in ?? () from /etc/httpd/modules/libperl.so
#21 0x4078ebdf in ?? () from /etc/httpd/modules/libperl.so
#22 0x4078c5c4 in ?? () from /etc/httpd/modules/libperl.so
#23 0x40787e49 in ?? () from /etc/httpd/modules/libperl.so
#24 0x407bbcaf in ?? () from /etc/httpd/modules/libperl.so
#25 0x407bc720 in ?? () from /etc/httpd/modules/libperl.so
#26 0x407cd99d in ?? () from /etc/httpd/modules/libperl.so
#27 0x40772a11 in ?? () from /etc/httpd/modules/libperl.so
#28 0x40774f88 in ?? () from /etc/httpd/modules/libperl.so
#29 0x4078ebdf in ?? () from /etc/httpd/modules/libperl.so
#30 0x4078c5c4 in ?? () from /etc/httpd/modules/libperl.so
#31 0x40787e49 in ?? () from /etc/httpd/modules/libperl.so
#32 0x407bbcaf in ?? () from /etc/httpd/modules/libperl.so
#33 0x407bc720 in ?? () from /etc/httpd/modules/libperl.so
#34 0x407cd99d in ?? () from /etc/httpd/modules/libperl.so
#35 0x40772a11 in ?? () from /etc/httpd/modules/libperl.so
#36 0x40774f88 in ?? () from /etc/httpd/modules/libperl.so
#37 0x4078ebdf in ?? () from /etc/httpd/modules/libperl.so
#38 0x4078c5c4 in ?? () from /etc/httpd/modules/libperl.so
#39 0x40787e49 in ?? () from /etc/httpd/modules/libperl.so
#40 0x407bbcaf in ?? () from /etc/httpd/modules/libperl.so
#41 0x407bc720 in ?? () from /etc/httpd/modules/libperl.so
#42 0x407cd99d in ?? () from /etc/httpd/modules/libperl.so
#43 0x40772d4c in ?? () from /etc/httpd/modules/libperl.so
#44 0x4075e575 in ?? () from /etc/httpd/modules/libperl.so
#45 0x4075e5bd in ?? () from /etc/httpd/modules/libperl.so
#46 0x4075a218 in ?? () from /etc/httpd/modules/libperl.so
#47 0x8053d49 in ap_clear_module_list ()
#48 0x80540cc in ap_handle_command ()
#49 0x8054118 in ap_srm_command_loop ()
#50 0x8054487 in ap_process_resource_config ()
#51 0x8057bd8 in ap_exists_config_define ()
#52 0x8053e8c in ap_clear_module_list ()
#53 0x80540cc in ap_handle_command ()
#54 0x8054118 in ap_srm_command_loop ()
#55 0x8054487 in ap_process_resource_config ()
#56 0x8054b04 in ap_read_config ()
---Type return to continue, or q return to quit---
#57 0x805bf97 in ap_child_terminate ()
#58 0x805c65f in main ()
#59 0x400ba9cb in __libc_start_main (main=0x805c3e0 main, argc=2,
argv=0xbb64, init=0x804f014 _init, fini=0x807b99c _fini,
rtld_fini=0x4000ae60 _dl_fini, stack_end=0xbb5c)
at ../sysdeps/generic/libc-start.c:92

Regards, Roberto

-- 
Roberto Bourgonjen Phone  +31 (0)20 

Re: httpd exits with apache-1.3.12 and mod_perl-1.21 on Redhat 6.2

2000-05-25 Thread Doug MacEachern

On Thu, 25 May 2000, Roberto Bourgonjen wrote:

   rpm's apache-1.3.12-2 and mod_perl-1.21-10 (the latest available

whoops, i missed your version.  if you're trying to use mod_perl as a
dso, upgrade to 1.24.