running into segfaults when migrating older mod_perl site to new server
am 03.06.2008 18:20:38 von Andrew S------=_Part_3125_22751001.1212510039064
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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
SetHandler perl-script
PerlModule Apache::DBI
#PerlSendHeader On
PerlHandler Apache::NotifyTest
######################
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
------=_Part_3125_22751001.1212510039064
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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
------=_Part_3125_22751001.1212510039064--