[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#224049: libapache-mod-perl: Segmentaion fault when starting apache

Package: libapache-mod-perl
Version: 1.27-4
Severity: grave
Justification: renders package unusable

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux bragi 2.4.21-3-686 #1 Sun Jul 20 16:11:09 EST 2003 i686

Versions of packages libapache-mod-perl depends on:
ii  apache-common        Support files for all Apache webse
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libdevel-symdump-perl       2.03-3       Perl module for inspecting perl's 
ii  libperl5.8                  5.8.2-2      Shared Perl library.
ii  liburi-perl                 1.23-1       Manipulates and accesses URI strin
ii  libwww-perl                 5.69-4       WWW client/server library for Perl
ii  perl [libmime-base64-perl]  5.8.2-2      Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8.0]   5.8.2-2      The Pathologically Eclectic Rubbis

-- no debconf information

I am having quite a bad time installing mod_perl on my system.  Please,
can you help me?

   # sudo /etc/init.d/apache restart
   Reloading apache modules/etc/init.d/apache: line 70: 19518 Segmentation
   fault      start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON

   # COLUMNS=120 dpkg -l '*apache*' | grep ^i | cut -c 0-50
   ii  apache         
   ii  apache-common  
   ii  libapache-mod-jk         3.3.1a-1
   ii  libapache-mod-perl       1.27-4
   ii  libapache-mod-perl-doc
   ii  libapache-mod-webapp     1.3.0-1.0.ipv6.r1

   # ls -l /usr/lib/apache/1.3/mod_perl.so
   -rw-r--r--    1 root     root       327584 Apr 14  2003

   # grep -i perl /etc/apache/httpd.conf | grep mod
   LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so

   # dpkg -L libapache-mod-perl | grep -i read | sort

Apache works just fine *without* that LoadModule line, and no other
changes to httpd.conf repeatedly result in this error.

I cannot find a README.Debian, nor have I found any manual instructions
for configuring httpd.conf.  I _did_ manually add the LoadModule line,
since I have had to do that before on other systems.  mod_php install
offers to do that automatically; but, mod_perl installation offered no
such assistance.

I have posted this to debian-user (no response), and
modperl@perl.apache.org, from which I got this response:

   We think it'd be very helpful to get the backtrace of the segfault.
   Please see: http://perl.apache.org/bugs/

Of course, in order to get a backtrace, I need to re-build mod_perl.  I
am not comfortable with that, which is why I use your DEB.

Last night, I did this:

   sudo apt-get -u --purge remove apache apache-common libapache-mod-perl

Then, I did this:

   sudo apt-get -u install apache apache-common info2www \
      libapache-mod-jk libapache-mod-perl libapache-mod-webapp

Even now, as long as this line is in /etc/apache/httpd.conf:

   LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so

   # sudo /usr/sbin/apachectl restart
   /usr/sbin/apachectl: line 171: 22638 Segmentation fault      $HTTPD -t
   >/dev/null 2>&1
   /usr/sbin/apachectl restart: configuration broken, ignoring restart
   /usr/sbin/apachectl restart: (run 'apachectl configtest' for details)

   # sudo /usr/sbin/apachectl configtest
   /usr/sbin/apachectl: line 171: 22641 Segmentation fault      $HTTPD -t

What do you think?

Reply to: