Help - RT fails on RH 7 from DBI

I’ve a stock RH 7 box (perl 5.6.0) and I tried to installed RT 1.0.7.
I’ve don it on older boxes. It’s testdeps was happy. But I get the
imfamous DBI line 182 error in apaches errors_log.

I answered the questions in Bundle::Mysql correctly.

What stumps me is that:

perl -MCPAN -e shell
install Bundle::DBI

Fails!!! Nothing I can do will get the DBI module to install short of
forcing it (which didn’t help). I get various errors related to the
proxy test and complaints about RPC::PlServer which also will not
install unless forced though it gives very cryptic errors.

Has anyone got RT working on RH 7 ?

Hi Nick,

it works really fine under RH7.

  • I only installed MySQL Updates (RPM)
  • compiled-> Msql-Mysql-modules-1.2215
  • use “perl testdeps.pl -fix”
  • set Apache

I will check later again (perl DBI), maybe I’ll find other things too.

Christian

–Nick Christophernwc@visionics.com wrote:

I tried yet again… did the following:

blew away the rt database in MySQL

blew away ALL perl

rpm -e --nodeps perl

reinstalled perl

rpm -i /mnt/cdrom/RedHat/RPMS/perl-5.6.0-9.i386.rpm

make of Msql…1.2215 which failed for missing perl modules

so I did:

perl bin/testdeps.pl -fix

that worked…

make of Msgl now worked, test passed

installed Msql…1.2215

make install-ed RT

set up apache

And … http://localhost/webrt/admin-webrt.cgi yields:

Can’t locate loadable object for module DBI in @INC (@INC contains:
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl /opt/rt/lib) at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm line 182
BEGIN failed–compilation aborted at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm line 182.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/Mysql.pm line 11.
Compilation failed in require at /opt/rt/lib/rt/database.pm line 8.
BEGIN failed–compilation aborted at /opt/rt/lib/rt/database.pm line 8.
Compilation failed in require at /opt/rt/lib/rt/ui/web/auth.pm line 9.
Compilation failed in require at /opt/rt/bin/rtmux.pl line 57.
[Thu Mar 1 10:07:11 2001] [error] [client 10.0.0.115] Premature end of
script headers: /opt/rt/bin/cgi/admin-webrt.cgi

Same old problem… DBI.pm at line 182 indicates:

If you get an error here like “Can’t find loadable object …”

then you haven’t installed the DBI correctly. Read the README

then install it again.

Christian Janssen wrote:

when you installed the mysql modules, did you enable ‘mysqlperl emulation’?
For RT1, you need to.

    -jOn Thu, Mar 01, 2001 at 10:16:40AM -0500, Nick Christopher wrote:

I tried yet again… did the following:

blew away the rt database in MySQL

blew away ALL perl

rpm -e --nodeps perl

reinstalled perl

rpm -i /mnt/cdrom/RedHat/RPMS/perl-5.6.0-9.i386.rpm

make of Msql…1.2215 which failed for missing perl modules

so I did:

perl bin/testdeps.pl -fix

that worked…

make of Msgl now worked, test passed

installed Msql…1.2215

make install-ed RT

set up apache

And … http://localhost/webrt/admin-webrt.cgi yields:

Can’t locate loadable object for module DBI in @INC (@INC contains:
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl /opt/rt/lib) at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm line 182
BEGIN failed–compilation aborted at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm line 182.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/Mysql.pm line 11.
Compilation failed in require at /opt/rt/lib/rt/database.pm line 8.
BEGIN failed–compilation aborted at /opt/rt/lib/rt/database.pm line 8.
Compilation failed in require at /opt/rt/lib/rt/ui/web/auth.pm line 9.
Compilation failed in require at /opt/rt/bin/rtmux.pl line 57.
[Thu Mar 1 10:07:11 2001] [error] [client 10.0.0.115] Premature end of
script headers: /opt/rt/bin/cgi/admin-webrt.cgi

Same old problem… DBI.pm at line 182 indicates:

If you get an error here like “Can’t find loadable object …”

then you haven’t installed the DBI correctly. Read the README

then install it again.

Christian Janssen wrote:

Hi Nick,

it works really fine under RH7.

  • I only installed MySQL Updates (RPM)
  • compiled-> Msql-Mysql-modules-1.2215
  • use “perl testdeps.pl -fix”
  • set Apache

I will check later again (perl DBI), maybe I’ll find other things too.

Christian

–Nick Christophernwc@visionics.com wrote:

I’ve a stock RH 7 box (perl 5.6.0) and I tried to installed RT 1.0.7.
I’ve don it on older boxes. It’s testdeps was happy. But I get the
imfamous DBI line 182 error in apaches errors_log.

I answered the questions in Bundle::Mysql correctly.

What stumps me is that:

perl -MCPAN -e shell
install Bundle::DBI

Fails!!! Nothing I can do will get the DBI module to install short of
forcing it (which didn’t help). I get various errors related to the
proxy test and complaints about RPC::PlServer which also will not
install unless forced though it gives very cryptic errors.

Has anyone got RT working on RH 7 ?


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

“That package looks like what I wanted, but the site was down today,
so I decided to reimplement it in Perl.”
-me

Hi,

it’s running on two RH7 Servern (one is a really old test one).
I used following MYSQL RPM’s (–> pls. never use the orig. ones
delivered with the RH CD):

at ftp://updates.redhat.com/7.0/i386/
mysql-3.23.32-1.7.i386.rpm
mysql-devel-3.23.32-1.7.i386.rpm
mysql-server-3.23.32-1.7.i386.rpm
mysqlclient9-3.23.22-3.i386.rpm

Christian

–Nick Christophernwc@visionics.com wrote: