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
SetHandler perl-script
PerlHandler RT::Mason
…
------ httpd loads fine
[root@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@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@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
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
SetHandler perl-script
PerlHandler RT::Mason
…
------ httpd loads fine
[root@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@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@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@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.
Instead of the line in your httpd.conf file PerlModule Apache::DBI to just
DBI.
AdamOn Wed, 28 Nov 2001, 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
SetHandler perl-script
PerlHandler RT::Mason
…
------ httpd loads fine
[root@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@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@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@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
Sincerely,
-James Adam Sigler-
James Adam Sigler
College of Computing
Georgia Tech
Phone: 404-385-0391
Office: CoC 211
Email: hollow1@cc.gatech.edu