[rt-users] $RT::Handle

Joby Walker joby at u.washington.edu
Mon Jan 23 17:29:18 EST 2006


$RT::Handle uses the dbconnection parameters in rt/etc/RT_SiteConfig.pm
(and if not set there in rt/etc/RT_Config.pm).  You probably haven't
entered the correct data there.

Joby Walker
ITI SSG, C&C, University of Washington


Michael Methe wrote:
> I have gotten my Oracle XE install to the point of getting part way
> through 'make initialize-database'  Here is the output:
>  
> /usr/bin/perl //usr/local/rt/sbin/rt-setup-database --action init --dba
> rt --prompt-for-dba-password
> In order to create or update your RT database,this script needs to
> connect to your Oracle instance on localhost as rt.
> Please specify that user's database password below. If the user has no
> database
> password, just press return.
>  
> Password:
> Now creating a database for RT.
> ...skipped as rt is not rt or we're working with Oracle.
> Now populating database schema.
> Creating database schema.
> Done setting up database schema.
> Now inserting database ACLs
> Now inserting RT core system objects
> [Mon Jan 23 16:44:17 2006] [crit]: Connect Failed ORA-12154: TNS:could
> not resolve the connect identifier specified (DBD ERROR: OCIServerAttach)
>  at //usr/local/rt/sbin/rt-setup-database line 393
>  (/usr/local/rt/lib/RT.pm:295)
> make: *** [initialize-database] Error 255
>  
> Line 393 is the following:
> #connect to the db, for actual RT work
>     require RT::Handle;
>     $RT::Handle = RT::Handle->new();
> 393->    $RT::Handle->Connect();
>  
> Any ideas?
>  
> -Mike M
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> 
> Download a free sample chapter of RT Essentials from O'Reilly Media at http://rtbook.bestpractical.com
> 
> WE'RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
> San Francisco - Find out more at http://bestpractical.com/services/training.html



More information about the rt-users mailing list