[rt-users] RT2 and DBI problems
Presciliano dos Santos Neto
psneto at telepar.com.br
Wed Nov 28 16:38:02 EST 2001
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
More information about the rt-users
mailing list