Config error

Hey all. So I’ve gone through the RT install procedure, smoothed over
the bumps along the way and things are looking fine…that is, until I
try to access the webpage for the first time. Apache returns a “500
Internal Server Error” and this is what the error log shows:

[Wed Nov 20 10:50:36 2002] [error] Can’t locate object method "connect"
via package “Apache::DBI::connect” at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/DBI.pm line 471.

The offending section of DBI.pm is:

my $drh = $DBI::installed_drh{$driver} ||
$class->install_driver($driver)
or die “panic: $class->install_driver($driver) failed”;

($user, $pass) = $drh->default_user($user, $pass, $attr)
    if !(defined $user && defined $pass);

471–> unless ($dbh = $drh->$connect_meth($dsn, $user, $pass, $attr)) {
my $msg = "$class->connect($dsn) failed: ".$drh->errstr;
if (%attr) {
# XXX add $attr{HandleError} logic here?
Carp::croak($msg) if $attr->{RaiseError};
Carp::carp ($msg) if $attr->{PrintError};
}

Environment is RedHat 7.3, RT 2.0.15, perl 5.6.1, Apache 1.3.23. Any
ideas?
Randy Rodriguez
Network Architect
Mercury Technologies, Inc.

212.483.0300 x239

signature.asc (189 Bytes)

Dang, I guess I was too quick on the Send button. I dug around some
more (OK, a LOT more) and figured out how to fix it. For any and all
that may benefit from my mistakes, be SURE to correctly install
Apache::DBI and Apache::Session! :slight_smile:

I’m off to final config and then to setting up users…woot!

RandyOn Wed, 2002-11-20 at 11:34, Randy Rodriguez wrote:

Hey all. So I’ve gone through the RT install procedure, smoothed over
the bumps along the way and things are looking fine…that is, until I
try to access the webpage for the first time. Apache returns a “500
Internal Server Error” and this is what the error log shows:

[Wed Nov 20 10:50:36 2002] [error] Can’t locate object method "connect"
via package “Apache::DBI::connect” at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/DBI.pm line 471.

The offending section of DBI.pm is:

my $drh = $DBI::installed_drh{$driver} ||
$class->install_driver($driver)
or die “panic: $class->install_driver($driver) failed”;

($user, $pass) = $drh->default_user($user, $pass, $attr)
    if !(defined $user && defined $pass);

471–> unless ($dbh = $drh->$connect_meth($dsn, $user, $pass, $attr)) {
my $msg = "$class->connect($dsn) failed: ".$drh->errstr;
if (%attr) {
# XXX add $attr{HandleError} logic here?
Carp::croak($msg) if $attr->{RaiseError};
Carp::carp ($msg) if $attr->{PrintError};
}

Environment is RedHat 7.3, RT 2.0.15, perl 5.6.1, Apache 1.3.23. Any
ideas?
Randy Rodriguez
Network Architect
Mercury Technologies, Inc.

212.483.0300 x239

signature.asc (189 Bytes)