[rt-users] Installation confusion
yan seiner
yan at cardinalengineering.com
Thu Jul 4 21:30:02 EDT 2002
I am trying to install RT on a RedHat 7.2 box. I've finally got Apache,
perl, and everything else happy, but I can't get RT installed.
Basically, the install script asks me for the passwords, and then fails
to crate the rt_user.
I'm not familiar at all with MySQL, so I can't tell if it's an RT
problem or a MySQL problem.
I am also confused by the fact that I only added a root password, but
the script asks for 2 admin passwords and a user password. I am not
clear if these are to be created by RT or if they're supposed to be
existing accounts.
Any help at all is greatly appreciated.
Here's what happens:
[root at pythia rt-2-0-13]# PERL5LIB=$PER5LIB 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 at localhost' (Using password: YES) at tools/initdb line 144
Access denied for user: 'rt_user at localhost' (Using password: YES) at
tools/initdb line 144, <STDIN> line 1.
make: *** [initdb.rtuser] Error 255
--Yan
More information about the rt-users
mailing list