<DIV>hi TJ,</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Im also trying to connect an RT to an Oracle, schemas and tables were already created but on certain user creation its failing. Below is the error once the script is run. Would appreciate help on what Im specifically missing on the config. Thanks. </DIV>
<DIV> </DIV>
<DIV><BR>Now creating a database for RT.<BR>...skipped as rtts_test2 is not test2 or we're working with Oracle.<BR>Now populating database schema.<BR>Creating database schema.<BR>Done setting up database schema.<BR>Now inserting database ACLs<BR>Now inserting RT core system objects<BR>Checking for existing system user...not found.  This appears to be a new installation.<BR>Creating system user...[Wed Aug  3 07:45:01 2005] [crit]: Found a principal () that was neither a user nor a group <BR> <BR>(/opt/rt3.4.2/lib/RT/Principal_Overlay.pm:127)<BR>[Wed Aug  3 07:45:01 2005] [crit]: Can't call method "Id" on an undefined value at /opt/rt3.4.2/lib/RT/Group_Overlay.pm line <BR> <BR>573.<BR> (/opt/rt3.4.2/lib/RT.pm:285)</DIV>
<DIV><BR>.............</DIV>
<DIV><BR>Set($DatabaseType , 'Oracle');<BR>Set($DatabaseHost   , 'localhost');<BR>Set($DatabaseRTHost , 'localhost');<BR>Set($DatabasePort , '1521');<BR>Set($DatabaseUser , 'test2');<BR>Set($DatabasePassword , 'tyson1');<BR>Set($DatabaseName , 'host=localhost; sid=RTDV2');<BR>$ENV{TWO_TASK}="LIVE";<BR> </DIV>
<DIV> </DIV>
<DIV>Erwin </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>.....................</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>I figured out what the problem was - turns out when I was starting apache as<BR>"sudo /etc/init.d/httpd restart" from my own user that<BR>the user it was running as under sudo did not have the environment variable<BR>set for the oracle library path.<BR> <BR>I tried this instead:<BR> <BR>sudo su root<BR>export LD_LIBRARY_PATH=/opt/oracle/OraHome1/lib<BR>/etc/init.d/httpd restart<BR> <BR>and it resolved all of my problems!  Now RT is running speedily on Oracle at<BR>our site.<BR> <BR>T.J. Maciak<BR><BR>Internet/Intranet Developer<BR>Department of IT<BR>City of Grand Rapids<BR>P: (616)456-3713<BR>F: (616)456-3448<BR></DIV><p>
                <hr size=1> <a href="http://us.rd.yahoo.com/evt=34442/*http://www.yahoo.com/r/hs">Start your day with Yahoo! - make it your home page </a>