[rt-users] RT Install-Initial database initialization question

Harrison, William harrison at itrd.gov
Tue Jul 5 11:36:31 EDT 2005



Doesn't really matter. Initialize the db first, or edit eh config files first... they both have to be done and the order simply doesn't matter.



-----Original Message-----
From: Christopher Allison [mailto:chris at cs.brandeis.edu]
Sent: Sunday, July 03, 2005 3:07 PM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] RT Install-Initial database initialization question


Hi All,

 	I have what seems to me to be a pretty straightforward question. 
I'm using the instructions for an install on Red Hat Enterprise Linux 4 
with RT 3.4.2 and FastCGI 2.4.2 located at

 	http://wiki.bestpractical.com/index.cgi?RHEL4InstallGuide

I've also read the original rt-users at lists.bestpractical.com threads from 
when William Harrison first posted and tweaked the instructions. I'm 
using:

 	RT v3.4.2
 	perl v5.8.5
 	Apache/2.0.52
 	mysql  Ver 14.7 Distrib 4.1.10a,
 	on RHEL 4

My problem is what seems to be a conflict between William's instructions 
and those located elsewhere. For the install of RT (after all dependencies 
are installed and all other preceding steps finished), William's 
instructions (which have worked beautifully for me thus far) are:

 	### Assuming everything is present and it's a go, install and
 	###  initialize database...
 		make install
 		make initialize-database
 	### Make a copy of the dist config file to edit:
 		cp /opt/rt3/etc/RT_Config.pm /opt/rt3/etc/RT_SiteConfig.pm
 	### edit /opt/rt3/etc/RT_SiteConfig.pm
 	...

However, 'make install' finishes by outputting the following:

         Congratulations. RT has been installed.


         You must now configure RT by editing /opt/rt3/etc/RT_SiteConfig.pm.

         (You will definitely need to set RT's database password in
         /opt/rt3/etc/RT_SiteConfig.pm before continuing. Not doing so
 	could be very dangerous.  Note that you do not have to manually
 	add a database user or set up a database for RT.  These actions
 	will be	taken care of in the next step.)

         After that, you need to initialize RT's database by running
 	'make initialize-database'


I've read the FAQs, Docs, & other installation Guides located on the wiki. 
I've  searched wiki.bestpractical.com for "make initialize-database",
"RT_Config.pm", and "RT_SiteConfig.pm"; and I've searched 
lists.bestpractical.com for "make initialize-database". Thus far, while 
I'm pretty confident of how to proceed, I still want to double check.

It seems that, contrary to William's instructions, I shouldn't 'make 
initialize-database' until I've configured RT_SiteConfig.pm (presumably 
after replacing it with a copy of RT_Config.pm, seeing as RT_SiteConfig.pm 
seems to have only a single line of configuration).

However, William's instructions have worked so flawlessly thus far, that I 
want to make sure that there isn't anything I'm missing here.

So, a relatively simple problem with a very long write-up. Any 
suggestions? Thanks,

-Chris Allison
--
Brandeis University CS Dept.
Systems Operations Guru
chris at cs.brandeis.edu
http://www.cs.brandeis.edu/~guru/
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com



More information about the rt-users mailing list