[rt-users] RT2 and DBI problems

Jesse Vincent jesse at bestpractical.com
Wed Nov 28 16:53:30 EST 2001


what does perl -v tell you?


On Wed, Nov 28, 2001 at 07:38:02PM -0200, Presciliano dos Santos Neto wrote:
> Hello !
> 
> I have installed RT2, checked all the documentation but I can't resolve an
> issue with DBI. I think the following lines describes the problem better
> than my poor english :-)
> I know DBI and Apache::DBI are diferent modules, and I think somebody is
> calling the wrong one. Any help ?
> 
> Thanks in advance,
> 
> Presciliano
> 
> ------ I've installed all the RT2 dependencies with CPAN, and Apache::DBI
> again by hand ...
> 
> cpan> install DBI
> DBI is up to date.
> 
> cpan> install Apache::DBI
> Apache::DBI is up to date.
> 
> cpan> exit
> Lockfile removed.
> 
> ------- http.conf
> ...
> <VirtualHost *>
>     DocumentRoot /usr/local/rt2/WebRT/html
>     ServerName security.telepar.net.br
>     PerlModule Apache::DBI
>     PerlFreshRestart On
>     PerlRequire /usr/local/rt2/bin/webmux.pl
>     <Location />
>         SetHandler perl-script
>         PerlHandler RT::Mason
>     </Location>
> </VirtualHost>
> ...
> 
> ------ httpd loads fine
> 
> [root at pinguim /root]# /usr/local/apache/bin/apachectl restart
> /usr/local/apache/bin/apachectl restart: httpd restarted
> 
> ------ Tried to load RT2 page in a browser. Received the Internal Server 500
> error
> 
> [root at pinguim /root]# tail /usr/local/apache/logs/error_log 
> [Wed Nov 28 17:08:42 2001] [notice] SIGHUP received.  Attempting to restart
> [Wed Nov 28 17:08:42 2001] [notice] Apache/1.3.20 (Unix) PHP/4.0.6
> mod_perl/1.26 configured -- resuming normal operations
> [Wed Nov 28 17:08:56 2001] [error] Can't locate object method "connect" via
> package "Apache::DBI::connect" at
> /usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm line 420.
> 
> [root at pinguim /root]# find / -name DBI.pm
> /usr/lib/perl5/site_perl/5.6.0/i386-linux/Bundle/DBI.pm
> /usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm
> /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/DBI.pm
> /usr/lib/perl5/site_perl/5.6.0/Apache/DBI.pm
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

-- 
http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.




More information about the rt-users mailing list