Install on redhat 7.3

I’d like to test and probably use RT on a small company Redhat 7.3
server I recently installed. I tried the RT installation but could not
get the database to install as it refused the user (rt_user) password
during make install.
Is it possible to install on RH 7.3 without recompiling Apache as most
of the docs seem to indicate I have to do? If I have to, is there a step
by step that will work?

Chris Mason
masonc@masonc.com
Box 340, The Valley, Anguilla, British West Indies
Tel: 264 497 5670 Fax: 264 497 8463 Cell: 264 235 5670
http://www.anguillaguide.com/ The Anguilla Guide
Talk to me in real time:
Yahoo:netconcepts_anguilla
US Fax and Voicemail: (815)301-9759

I’d like to test and probably use RT on a small company Redhat 7.3
server I recently installed. I tried the RT installation but could not
get the database to install as it refused the user (rt_user) password
during make install.
Is it possible to install on RH 7.3 without recompiling Apache as most
of the docs seem to indicate I have to do? If I have to, is
there a step
by step that will work?

I don’t have a step-by-step guide, but I installed rt (both 2.0.14 and
2.1.33) numerous times on a redhat 7.3 without recompiling.

On a freh redhat-box the root-password for mysql is unset (rt Makefile
doesn’t like it - set the password using mysqladmin), afterwards the make
install should work.

This is what I get when I try to run perl -MCPAN -e’install
DBD::mysql::Install’

PERL_DL_NONLAZY=1 /usr/bin/perl -I…/blib/arch -I…/blib/lib
-I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e ‘use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;’ t/*.t
t/00base…ok

t/10dsnlist…ok

t/20createdrop…ok

t/30insertfetch…ok

t/40bindparam…ok

t/40blobs…ok

t/40listfields…ok

t/40nulls…ok

t/40numrows…ok

t/50chopblanks…ok

t/50commit…ok

t/60leaks…skipped
all skipped: no reason given
t/ak-dbd…ok

t/akmisc…FAILED test 44

    Failed 1/351 tests, 99.72% okay

t/dbdadmin…ok

t/mysql2…ok

t/mysql…FAILED test 23

    Failed 1/68 tests, 98.53% okay

Failed Test Stat Wstat Total Fail Failed List of Failed
t/akmisc.t 351 1 0.28% 44
t/mysql.t 68 1 1.47% 23
1 test skipped.
Failed 2/17 test scripts, 88.24% okay. 2/746 subtests failed, 99.73%
okay.
make[1]: *** [test_dynamic] Error 11
make[1]: Leaving directory
`/root/.cpan/build/Msql-Mysql-modules-1.2219/mysql’
make: *** [test] Error 2
/usr/bin/make test – NOT OK
Running make install
make test had returned bad status, won’t install without force

And when I try to “make install”

[root@loki rt]# make install
mkdir -p //opt/rt2/bin
mkdir -p //opt/rt2/WebRT/data
mkdir -p //opt/rt2/WebRT/sessiondata
mkdir -p //opt/rt2/etc
mkdir -p //opt/rt2/lib
mkdir -p //opt/rt2/WebRT/html
mkdir -p //opt/rt2/local/WebRT/html
/usr/bin/perl tools/initdb ‘mysql’ ‘/usr’ ‘localhost’ ‘’ ‘root’ ‘rt2’
create
Now creating a database for RT.
Enter the mysql password for root:
Creating mysql database rt2.
cp etc/acl.mysql ‘//opt/rt2/etc/acl.mysql’
/usr/bin/perl -p -i -e " s’!!DB_TYPE!!’“mysql”‘g;
s’!!DB_HOST!!’“localhost”‘g;
s’!!DB_RT_PASS!!’“rt_pass”‘g;
s’!!DB_RT_HOST!!’“localhost”‘g;
s’!!DB_RT_USER!!’“rt_user”‘g;
s’!!DB_DATABASE!!’“rt2”‘g;"
//opt/rt2/etc/acl.mysql
bin/initacls.mysql ‘/usr’ ‘localhost’ ‘’ ‘root’ ‘’ ‘rt2’
’//opt/rt2/etc/acl.mysql’
Enter the mysql administrator’s database password to create a new user
for RT
Enter password:
Enter the mysql administrator’s database password to nondestructively
reload the database
Enter password:
/usr/bin/perl tools/initdb ‘mysql’ ‘/usr’ ‘localhost’ ‘’ ‘rt_user’
‘rt2’ insert
Now populating database schema.
Enter the mysql password for rt_user:
Creating database schema.
DBI->connect(dbname=rt2;host=localhost) failed: Access denied for user:
‘rt_user@localhost’ (Using password: YES) at tools/initdb line 144
Access denied for user: ‘rt_user@localhost’ (Using password: YES) at
tools/initdb line 144, line 1.
make: *** [initdb.rtuser] Error 255

Zitat von Chris Mason masonc@masonc.com:

This is what I get when I try to run perl -MCPAN -e’install
DBD::mysql::Install’

PERL_DL_NONLAZY=1 /usr/bin/perl -I…/blib/arch -I…/blib/lib
-I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e ‘use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;’ t/*.t

try “force install” or do it manually (I never managed to get the mysql cpan
mods to install by CPAN because of the failing tests because of the missing
password)

check /root/.CPAN for the archive and do it the old fashioned “perl Makefile.pl;
make; make install” way

MfG
Adnreas