MySQL issues during RT 2.0.15 install

Beware, this is a question from an RT-newbie.

System is running Redhat 7.3, with MySQL installed as part of the initial
installation. So the mysql executable is at /usr/bin/mysql, and mysqladmin
is at /usr/bin/mysqladmin.

I was able to resolve all the dependencies without any problems.

I run “make install” and get the following error:

Enter the mysql administrator’s database password to create a new user for RT
bin/initacls.mysql: /usr/bin//bin/mysql: No such file or directory
Enter the mysql administrator’s database password to nondestructively
reload the database
bin/initacls.mysql: /usr/bin//bin/mysqladmin: No such file or directory
make: *** [acls] Error 127

It complains about directories not being there, but the paths it is
referring to are clearly wrong.

I have DB_HOME set to /usr/bin/. My guess is that the problem is with DB_HOME.

Any suggestions?

->Jeff

Jeff,

Try just /usr as DB_HOME – I believe there’s a clarifying comment in
the RT2 Makefile:

DB_HOME is where the Database’s commandline tools live. $DB_HOME/bin

should contain the binaries themselves, e.g. if “which mysql” gives

“/usr/local/mysql/bin/mysql”, $DB_HOME should be “/usr/local/mysql”

Ergo, the /bin/ is redundant and adds the extra ‘/’

DB_HOME = /usr ← My Redhat 7.3 entry

My apologies if this reply hits the list twice. I made an error in my
original reply.

John C. Stroud Solid Information Technology
Senior System Administrator 650-210-9100 x477
john.stroud@solidtech.com 510-501-9173 (Cell)-----Original Message-----
From: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com] On Behalf Of Jeff Mesch
Sent: Wednesday, December 11, 2002 1:45 PM
To: rt-users@lists.fsck.com
Subject: [rt-users] MySQL issues during RT 2.0.15 install

Beware, this is a question from an RT-newbie.

System is running Redhat 7.3, with MySQL installed as part of the
initial
installation. So the mysql executable is at /usr/bin/mysql, and
mysqladmin
is at /usr/bin/mysqladmin.

I was able to resolve all the dependencies without any problems.

I run “make install” and get the following error:

Enter the mysql administrator’s database password to create a new user
for RT
bin/initacls.mysql: /usr/bin//bin/mysql: No such file or directory
Enter the mysql administrator’s database password to nondestructively
reload the database
bin/initacls.mysql: /usr/bin//bin/mysqladmin: No such file or directory
make: *** [acls] Error 127

It complains about directories not being there, but the paths it is
referring to are clearly wrong.

I have DB_HOME set to /usr/bin/. My guess is that the problem is with
DB_HOME.

Any suggestions?

->Jeff

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

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

I have DB_HOME set to /usr/bin/. My guess is that the problem is with
DB_HOME.

Look closer at the Makefile comments:

DB_HOME is where the Database’s commandline tools live. $DB_HOME/bin

should contain the binaries themselves, e.g. if “which mysql” gives

“/usr/local/mysql/bin/mysql”, $DB_HOME should be “/usr/local/mysql”

Therefore, your DB_HOME should be ‘/usr’ (the default config)

pg