Can't locate object method "connect" via package "Apache::DBI"

Apache error_log reads:

Can’t locate object method “connect” via package “Apache::DBI” at
/opt/gnu/perl5.005_03/lib/site_perl/5.005/sun4-solaris-thread/DBI.pm
line 416.

I’m troubleshooting this installation of RT that was done by another
engineer. I did see several archived posts with users having similar
problems. It sounds like the affected server has an improperly
installed DBI or Apache::DBI module. Since this is a production server,
I don’t want to muck with it until I know where to look.

Any suggestions?

Andy Cravens
acravens@uen.org

I had a similar problem with a faulty install of a different perl module.
Try reinstalling the perl module and make sure that it passes all of the
tests.-----Original Message-----
From: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com]On Behalf Of Andy Cravens
Sent: Friday, March 15, 2002 12:17 PM
To: rt-users@lists.fsck.com
Subject: [rt-users] Can’t locate object method “connect” via package
"Apache::DBI"

Apache error_log reads:

Can’t locate object method “connect” via package “Apache::DBI” at
/opt/gnu/perl5.005_03/lib/site_perl/5.005/sun4-solaris-thread/DBI.pm
line 416.

I’m troubleshooting this installation of RT that was done by another
engineer. I did see several archived posts with users having similar
problems. It sounds like the affected server has an improperly
installed DBI or Apache::DBI module. Since this is a production server,
I don’t want to muck with it until I know where to look.

Any suggestions?

Andy Cravens
acravens@uen.org

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Hello,

I have recently installed rt-3.2.1 with Apache/1.3.29 (Debian GNU/Linux)
PHP/4.3.4 mod_fastcgi/2.2.10 AuthMySQL/4.1.7 mod_perl/1.29.

I added the following lines to my httpd.conf

ServerName rm'd DocumentRoot /opt/rt3/share/html AddDefaultCharset UTF-8
    PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/webmux.pl
    <Location />
            SetHandler perl-script
            PerlHandler RT::Mason
    </Location>

But seem to get getting this error in the Apache error log…

[error] Can’t locate object method “connect” via package “Apache::DBI” at
/usr/lib/perl5/DBI.pm line 591.\n

Could someone shed some light on this?

Thanks,

Ben Blakely

Hello,

I have recently installed the newest version of rt, rt-3.2.1. Im using
Apache/1.3.26 (Unix) Debian GNU/Linux PHP/4.1.2 mod_fastcgi/2.2.10
mod_perl/1.26.

Ive added the following to my httpd.conf:

<VirtualHost >
ServerName hostname
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8

    PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/webmux.pl
    <Location />
            SetHandler perl-script
            PerlHandler RT::Mason
    </Location>

But seem to be getting this error message in the apache error log.

Can’t locate object method “connect” via package “Apache::DBI” at
/usr/lib/perl5/DBI.pm line 591.

Could someone shed some light on this??

Thanks,

Ben Blakely