You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by andrew s <an...@gmail.com> on 2008/06/03 18:20:38 UTC

running into segfaults when migrating older mod_perl site to new server

Hi all,

I have to move a site I made years ago in mod_perl to a new server, and now
that I have, I keep running into segmentation faults when I load any of the
pages:

[Tue Jun  3 15:58:13 2008] [notice] child pid 12206 exit signal Segmentation
fault (11)

I have to admit, it's been a VERY long time since I made this site, and I
don't really remember that much about mod_perl, so while I have been looking
stuff up like crazy to try and fix this problem, I am just sort of lost, no
matter how much research I do, I can't figure this out.

On my new (CentOS release 5 linux) server, I have manually compiled Apache
1.3.41 (since the previous site is running 1.x) and mod_perl-1.30 and
perl-5.10.0, and I have configured Apache just like it was on the old
server, and moved all the scripts over to the same directory. An example of
my config is:

########################
PerlRequire             conf/startup.pl
PerlFreshRestart        On

<Location /edit/test>
SetHandler      perl-script
PerlModule      Apache::DBI
#PerlSendHeader  On
PerlHandler     Apache::NotifyTest
</Location>
######################
that startup.pl says:
##################
#!/usr/local/bin/perl

BEGIN {
        use Apache();
        use lib Apache->server_root_relative('lib/perl');

        }


use Apache::Registry();


1;
#################################




Can anyone give me a hint at what could be causing this and what I should be
looking at next?

Andrew