<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<meta name=Generator content="Microsoft Word 10 (filtered)">
<title>make initialize-database error</title>

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.emailstyle18
        {font-family:Arial;
        color:navy;}
span.EmailStyle20
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I think you have something empty when it needs a value,
probably in the RT_Config.pm or RT_SiteConfig.pm.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I tried letting ‘DatabaseHost’ and ‘DatabaseRTHost’
be empty (i.e. ‘’) like it suggested but that caused this error for
me.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Try putting them back to ‘localhost’ and making
the db again.  Would somebody smarter than me comment on this please?</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Look at this error message in your first
post:</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>“Use of uninitialized value in concatenation (.) or
string at //opt/rt3/sbin/rt-setup-database line 197. “<br>
<br>
</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>right after the statement</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>“In order to create a new database and grant RT access
to that database, “<br>
<br>
</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Make sure you separate things:  You have
Unix users and passwords and groups, RT users and passwords (in MySQL) and you
have the user you run the web server as.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>If you drop the ‘rt3’ database,
that doesn’t change the users in the system table.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The ‘rt’ group is a Unix thing</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>rt_user@localhost is a MySQL connect
string.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Try listing the user table </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>#mysql –u root (-p if you have a
password)</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>>show tables;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>(should see ‘user’)</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>>select Host, User, Password from user;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>(list of users and their passwords)</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>mine looks like</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>+Host ------------  User --- Password</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>localhost           root</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>localhost.dom    root</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>localhost</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>localhost.dom</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>localhost           rt_user  1234abcd</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Does the root account have a password?  If
so you have to use it to connect and make tables.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Is there a rt_user in the mysql.user
table?  The script should create it, not you.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I think you got logged in as root and
created the tables, but without a ‘localhost’ entry in the config
file you didn’t get a useable entry for ‘rt_user’ in the
system user table.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Sincerely,</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Greg</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<div>

<p class=MsoAutoSig><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Gregory L. Hering</span></font></p>

<p class=MsoAutoSig><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>(256) 722-6420</span></font></p>

<p class=MsoAutoSig><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>4807 Bradford Dr</span></font></p>

<p class=MsoAutoSig><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Benchmark Electronics, Inc.</span></font></p>

<p class=MsoAutoSig><font size=2 color=navy face=Arial><span lang=DA
style='font-size:10.0pt;font-family:Arial;color:navy'>Hunvtsville, Al 35805</span></font></p>

</div>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Tavernier, Clayton
[mailto:CTavernier@ksplastic.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Tuesday, May
 13, 2003</span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font><font size=2 face=Tahoma><span
 style='font-size:10.0pt;font-family:Tahoma'>5:21 PM</span></font><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br>
<b><span style='font-weight:bold'>To:</span></b> RT Users (E-mail)<br>
<b><span style='font-weight:bold'>Cc:</span></b> Hering, Greg<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [rt-users] make
initialize-database error</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue'>The 'make dropdb' just
removes the rt3 database so you can try again.  I've been dropping the
database via Webmin anyway.  But when I look, there is no 'rt_user' to
remove.  I made the 'rt' group, should I be making an 'rt_user' too?</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</div>

<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>Clayton Tavernier</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>IS
Consultant</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Kennerly-Spratling,
Inc.</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>(510)
667-3795</span></font> </p>

<blockquote style='margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>-----Original
Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Greg.Hering@bench.com
[mailto:Greg.Hering@bench.com]<br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Tuesday, May
 13, 2003</span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font><font size=2 face=Tahoma><span
 style='font-size:10.0pt;font-family:Tahoma'>8:54 AM</span></font><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br>
<b><span style='font-weight:bold'>To:</span></b> CTavernier@ksplastic.com;
rt-users@lists.fsck.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [rt-users] make
initialize-database error</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>I think you are supposed
to 'make dropdb' and try it again.</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>If you already created
the rt3 user and reset the password you may have RT and MySQL out of sync.</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Greg</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<div>

<p class=MsoAutoSig style='margin-left:.5in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Gregory
L. Hering</span></font></p>

<p class=MsoAutoSig style='margin-left:.5in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>(256)
722-6420</span></font></p>

<p class=MsoAutoSig style='margin-left:.5in'><font size=2 color=navy
  face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>4807
  Bradford Dr</span></font></p>

<p class=MsoAutoSig style='margin-left:.5in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Benchmark
Electronics, Inc.</span></font></p>

<p class=MsoAutoSig style='margin-left:.5in'><font size=2 color=navy
face=Arial><span lang=DA style='font-size:10.0pt;font-family:Arial;color:navy'>Hunvtsville,
Al 35805</span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Tavernier, Clayton
[mailto:CTavernier@ksplastic.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Friday, May 09,
 2003</span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font><font size=2 face=Tahoma><span
 style='font-size:10.0pt;font-family:Tahoma'>4:44 PM</span></font><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br>
<b><span style='font-weight:bold'>To:</span></b> RT Users (E-mail)<br>
<b><span style='font-weight:bold'>Subject:</span></b> [rt-users] make
initialize-database error</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p style='margin-left:1.0in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>I'm trying to install RT3 on an RH8 box using mysql
and fastcgi.  I've gotten through most of the process but I get the below
error message when I try 'make initialize-database'.  I've reset the
password in RT_SiteConfig.pm and I've tried to set the password for rt-user in
mysql via Webmin.  What am I missing or doing wrong?</span></font></p>

<p style='margin-left:1.0in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>Clayton</span></font> </p>

<p style='margin-left:1.0in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>[root@ksirh217 rt-3-0-1]# make initialize-database</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>/usr/bin/perl
//opt/rt3/sbin/rt-setup-database --action init --dba root
--prompt-for-dba-password</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>In
order to create a new database and grant RT access to that database,</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Use of
uninitialized value in concatenation (.) or string at
//opt/rt3/sbin/rt-setup-database line 197.</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>this
script needs to connect to your mysql instance on  as root.</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Please
specify that user's database password below. If the user has no database</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>password,
just press return.</span></font> </p>

<p style='margin-left:1.0in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>Password: Now creating a database for RT.</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Creating
mysql database rt3.</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Now
populating database schema.</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Creating
database schema.</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>schema
sucessfully inserted</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Now
inserting database ACLs</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Now
inserting RT core system objects</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>[Fri
May  9 </span></font><font size=2 face=Arial><span style='font-size:10.0pt;
 font-family:Arial'>00:04:03</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> 2003] [crit]: Connect Failed Access
denied for user: 'rt_user@localhost' (Using password: YES)</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> at
//opt/rt3/sbin/rt-setup-database line 284</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> (/opt/rt3/lib/RT.pm:228)</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>make:
*** [initialize-database] Error 255</span></font> </p>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</blockquote>

</div>

</body>

</html>