DBI errors after perl upgrade please help!

Hi all, my hand was forced tonight to upgrade perl to try and get rid of all
the segfaults with apache and mod_perl. After upgradeing from 5.6.0 to 5.6.1
Im getting all sorts of module errors. Ive solved some of them but im stuck
on this one.

/usr/local/apache/bin/apachectl start
Syntax error on line 550 of /usr/local/apache/conf/httpd.conf:
Can’t locate object method “require_version” via package “DBI” at
/usr/lib/perl5/5.6.0/i386-linux/Apache/DBI.pm line 9.
Compilation failed in require at (eval 4) line 3.

/usr/local/apache/bin/apachectl start: httpd could not be started

It looks like Im close but Im ruinning out of ideas. This is for the ticket
sustem for my company that gets about 1000 emails a day. I have to have this
up by morning. Any help would be greatly appreciated.

Thanks
Chris Huff

apache
NameVirtualHost 172.18.200.115

<VirtualHost 172.18.200.115>
DocumentRoot /usr/local/rt2/WebRT/html
ServerName rt.kazootek.com
PerlModule Apache::DBI

PerlModule Apache::GD::Graph

PerlFreshRestart On
PerlRequire /usr/local/rt2/bin/webmux.pl

SetHandler perl-script
PerlHandler RT::Mason

Chris Huff wrote:

Can’t locate object method “require_version” via package “DBI” at
/usr/lib/perl5/5.6.0/i386-linux/Apache/DBI.pm line 9.

something like
perl -MCPAN -e ‘install DBI’
might help…
Phil Homewood, Systems Janitor, www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances

ive re-installed that, make testdeps used to tell me its installed but now
it doesnt so i guess ill try and get it again. thanksFrom: Phil Homewood [mailto:pdh@snapgear.com]
Sent: Tuesday, December 10, 2002 1:29 AM
To: rt-users@lists.fsck.com
Subject: Re: [rt-users] DBI errors after perl upgrade please help!

Chris Huff wrote:

Can’t locate object method “require_version” via package “DBI” at
/usr/lib/perl5/5.6.0/i386-linux/Apache/DBI.pm line 9.

something like
perl -MCPAN -e ‘install DBI’
might help…
Phil Homewood, Systems Janitor, www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

now im getting this…

[root@netsvc3 5.6.1]# /usr/local/apache/bin/apachectl start
Syntax error on line 550 of /usr/local/apache/conf/httpd.conf:
Can’t locate object method “bootstrap” via package “DBI” at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm line 181.
BEGIN failed–compilation aborted at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm line 183.
Compilation failed in require at
/usr/lib/perl5/5.6.0/i386-linux/Apache/DBI.pm line 4.
BEGIN failed–compilation aborted at
/usr/lib/perl5/5.6.0/i386-linux/Apache/DBI.pm line 4.
Compilation failed in require at (eval 4) line 3.

/usr/local/apache/bin/apachectl start: httpd could not be started

i grappled with this before. make testdeps shows that everything is
installed

[root@netsvc3 rt-2-0-14]# make testdeps
/usr/bin/perl ./tools/testdeps -warn mysql
Checking for Digest::MD5…found
Checking for Storable…found
Checking for DBI 1.18 …found
Checking for DBIx::DataSource 0.02 …found
Checking for DBIx::SearchBuilder 0.48 …found
Checking for HTML::Entities…found
Checking for MLDBM…found
Checking for Net::Domain…found
Checking for Net::SMTP…found
Checking for Params::Validate 0.02 …found
Checking for HTML::Mason 1.02 …found
Checking for CGI::Cookie 1.20 …found
Checking for Apache::Cookie…found
Checking for Apache::Session 1.53 …found
Checking for Date::Parse…found
Checking for Date::Format…found
Checking for MIME::Entity 5.108 …found
Checking for Mail::Mailer 1.20 …found
Checking for Getopt::Long 2.24 …found
Checking for Tie::IxHash…found
Checking for Text::Wrapper…found
Checking for Text::Template…found
Checking for File::Spec 0.8 …found
Checking for Errno…found
Checking for FreezeThaw…found
Checking for File::Temp…found
Checking for Log::Dispatch 1.6 …found
Checking for DBD::mysql 2.0416 …found

I really dont know how to fix this.

–CHFrom: Chris Huff [mailto:chuff@kazootek.com]
Sent: Tuesday, December 10, 2002 1:36 AM
To: ‘Phil Homewood’; rt-users@lists.fsck.com
Subject: RE: [rt-users] DBI errors after perl upgrade please help!

ive re-installed that, make testdeps used to tell me its installed but now
it doesnt so i guess ill try and get it again. thanks

From: Phil Homewood [mailto:pdh@snapgear.com]
Sent: Tuesday, December 10, 2002 1:29 AM
To: rt-users@lists.fsck.com
Subject: Re: [rt-users] DBI errors after perl upgrade please help!

Chris Huff wrote:

Can’t locate object method “require_version” via package “DBI” at
/usr/lib/perl5/5.6.0/i386-linux/Apache/DBI.pm line 9.

something like
perl -MCPAN -e ‘install DBI’
might help…
Phil Homewood, Systems Janitor, www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Chris Huff wrote:

Can’t locate object method “bootstrap” via package “DBI” at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm line 181.

You need to rebuild mod_perl against your new perl version.
Phil Homewood, Systems Janitor, www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances

OMG! Thank you and Harald for your help. Its working. In retrospect it seems
a fairly obvious thing to do. I guess i was hoping for the perl upgrade to
be easy. I hope this thread can help others.From: ‘Phil Homewood’ [mailto:pdh@snapgear.com]
Sent: Tuesday, December 10, 2002 2:40 AM
To: rt-users@lists.fsck.com
Subject: Re: [rt-users] DBI errors after perl upgrade please help!

Chris Huff wrote:

Can’t locate object method “bootstrap” via package “DBI” at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm line 181.

You need to rebuild mod_perl against your new perl version.
Phil Homewood, Systems Janitor, www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm