[rt-users] RTIR database initialization problem

Jesse Vincent jesse at bestpractical.com
Thu Jan 18 15:30:33 EST 2007




On Tue, Jan 16, 2007 at 05:54:29PM +0100, Daniel Firvida wrote:
> Hi
> 	
> I have a new installation of RTIR in ubuntu 6.10.

You probably REALLY want to be running RT 3.7 and RTIR 1.9. RTIR 1.1 was
a development branch that never really got all the way there.

> 
> The installed versions are RT 3,4 with apache2 and postgresql and RTIR 
> 1.1.5
> 
> The problem takes place when attempt to complete the RTIR
> installation, concretely in point 5 of the instructions of
> installation, the database initialization.
> 
> Up to here it had not had any problem following the instruciones of
> wiki for the installation in ubuntu and the README file of RTIR
> 
> The problem is this:
> 
> root at ubuntu:/usr/src/rtir-1.1.5# make initdb
> include /usr/src/rtir-1.1.5/inc/Module/Install.pm
> include inc/Module/Install/RTx/Factory.pm
> include inc/Module/Install/Base.pm
> /usr/bin/perl -Ilib -I/usr/share/request-tracker3.4/lib
> /usr/local/share/request-tracker3.4/rt-setup-database --action insert
> --datadir etc --datafile etc/initialdata --dba rtuser
> --prompt-for-dba-password
> Can't open perl script
> "/usr/local/share/request-tracker3.4/rt-setup-database": No such file
> or directory
> ...returned with error: 512
> make: *** [initdb] Error 2
> root at ubuntu:/usr/src/rtir-1.1.5#
> 
> The file rt-setup-database, is in the system or at least another one
> with the same name, but in another path
> 
> root at ubuntu:/usr/src/rtir-1.1.5# find / -name rt-setup-database
> /var/lib/dpkg/alternatives/rt-setup-database
> /etc/alternatives/rt-setup-database
> /usr/sbin/rt-setup-database
> root at ubuntu:/usr/src/rtir-1.1.5#
> 
> I do not know if they are the same file that i need
> 
> root at ubuntu:/usr/src/rtir-1.1.5# head /usr/sbin/rt-setup-database
> #!/usr/bin/perl -w
> # BEGIN BPS TAGGED BLOCK {{{
> #
> # COPYRIGHT:
> #
> # This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC
> #                                          <jesse at bestpractical.com>
> #
> # (Except where explicitly superseded by other copyright notices)
> #
> root at ubuntu:/usr/src/rtir-1.1.5#
> 	
> If I try to execute the commando who gives error with this file of
> manual form (without make initdb), the following error takes place
> 
> root at ubuntu:/usr/src/rtir-1.1.5# /usr/bin/perl -Ilib
> -I/usr/share/request-tracker3.4/lib /usr/sbin/rt-setup-database
> --action insert --datadir etc --datafile etc/initialdata --dba rtuser
> --prompt-for-dba-password
> "my" variable $id masks earlier declaration in same scope at
> /usr/share/request-tracker3.4/lib/RT/CustomField_Overlay.pm line 879.
> "my" variable $id masks earlier declaration in same scope at
> /usr/share/request-tracker3.4/lib/RT/CustomField_Overlay.pm line 914.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> Use of uninitialized value in concatenation (.) or string at
> /usr/local/share/request-tracker3.4/etc/IR/RTIR_Config.pm line 115.
> In order to create or update your RT database,this script needs to
> connect to your Pg instance on localhost as rtuser.
> Please specify that user's database password below. If the user has no 
> database
> password, just press return.
> 
> Password:
> root at ubuntu:/usr/src/rtir-1.1.5#
> 
> what happens? Because it gives these errors?
> if I have a symbolic link was solved?
> ln -s /usr/sbin/rt-setup-database
> /usr/local/share/request-tracker3.4/rt-setup-database
> 
> A greeting
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 

-- 



More information about the rt-users mailing list