[rt-users] Config error

Randy Rodriguez randy at mercury.com
Wed Nov 20 15:36:55 EST 2002


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!  :)

I'm off to final config and then to setting up users...woot!

Randy

On 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20021120/6895dc2b/attachment.sig>


More information about the rt-users mailing list