LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Trouble in installing Request Tracker (https://www.linuxquestions.org/questions/linux-software-2/trouble-in-installing-request-tracker-661992/)

mysuselove 08-11-2008 08:39 AM

Trouble in installing Request Tracker
 
Hi

I'm a newbie to linux but eager to learn. Currently I'm installing Reqest-Tracker-3.6.6 and have problem in doing so. Here are the details.

OS -- OpenSuse 10.3 .
RT -- Version is 3.6.6

STEP:1 --> I xtracted the software in /tmp folder and ran the command ./configure. and it went smoothly.

STEP:2 --> Then I ran the "make testdeps" as in the installation guide and it showed both missing and found dependencies.

Bandtel2:/tmp/rt-3.6.6 # make testdeps
/usr/bin/perl ./sbin/rt-test-dependencies --verbose --with-mysql
perl:
>=5.8.3(5.008008)...found
users:
rt group (www)...found
bin owner (root)...found
libs owner (root)...found
libs group (bin)...found
web owner (nobody)...found
web group (www)...found
CLI dependencies:
Term::ReadKey...found
Getopt::Long >=2.24...found
HTTP::Request::Common...found
Term::ReadLine...found
Text::ParseWords...found
LWP...found
CORE dependencies:
Scalar::Util...found
HTML::Scrubber >=0.08...found
Class::ReturnValue >=0.40...found
Text::Quoted 2.02...MISSING
File::Spec >=0.8...found
Calendar::Simple ...MISSING
DBIx::SearchBuilder 1.50...MISSING
Date::Format...found
CSS::Squish 0.06...MISSING
Text::Autoformat ...MISSING
Mail::Mailer 1.57...MISSING
Regexp::Common ...MISSING
Module::Versions::Report 1.03...MISSING
MIME::Entity 5.108...MISSING
HTML::Entities...found
Digest::MD5 >=2.27...found
Cache::Simple::TimedExpiry ...MISSING
DBI >=1.37...found
Locale::Maketext::Lexicon 0.32...MISSING
Digest::base...found
Locale::Maketext::Fuzzy ...MISSING
Time::HiRes...found
Net::SMTP...found
Text::Wrapper ...MISSING
Time::ParseDate ...MISSING
File::Temp...found
Log::Dispatch 2.0...MISSING
Locale::Maketext >=1.06...found
UNIVERSAL::require ...MISSING
Tree::Simple 1.04...MISSING
Text::Template ...MISSING
MAILGATE dependencies:
Pod::Usage...found
HTML::TreeBuilder ...MISSING
Getopt::Long...found
HTML::FormatText ...MISSING
LWP::UserAgent...found
MASON dependencies:
CGI::Cookie >=1.20...found
Text::WikiFormat 0.76...MISSING
XML::RSS 1.05...MISSING
Storable >=2.08...found
CSS::Squish 0.06...MISSING
HTML::Mason 1.23...MISSING
Apache::Session 1.53...MISSING
Digest::MD5 >=2.27...found
GD::Text ...MISSING
GD ...MISSING
Errno...found
GD::Graph ...MISSING
MYSQL dependencies:
DBD::mysql 2.1018...MISSING

SOMETHING WAS MISSING!
Bandtel2:/tmp/rt-3.6.6 #
***********************************************

STEP:3 --. I then started installing the wanted dependent modules one by one and got stuck in the installation of Text-Quoted-2.02

--> It depends on Text::Autoformat 0 which I tried to install. As can be expected it in turn depends on Text-Reform.

--> I installed Text-Reform-1.10 module which seems to be a success.
**********************************************
Bandtel2:/home/noc2/Desktop/Elango/RT-3.6.6/DEPENDENCIES/TEXT-REFORM/Text-Reform-1.10 # make install
Installing /usr/lib/perl5/site_perl/5.8.8/Text/demo_columns.pl
Installing /usr/lib/perl5/site_perl/5.8.8/Text/demo_ws.pl
Installing /usr/lib/perl5/site_perl/5.8.8/Text/demo_filler.pl
Installing /usr/lib/perl5/site_perl/5.8.8/Text/Reform.pm
Installing /usr/lib/perl5/site_perl/5.8.8/Text/demo_table.pl
Installing /usr/lib/perl5/site_perl/5.8.8/Text/demo.pl
Installing /usr/share/man/man3/Text::Reform.3pm
Writing /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/auto/Text/Reform/.packlist
Appending installation info to /usr/lib/perl5/5.8.8/i586-linux-thread-multi/perllocal.pod
Bandtel2:/home/noc2/Desktop/Elango/RT-3.6.6/DEPENDENCIES/TEXT-REFORM/Text-Reform-1.10 #

******************************************
--> But when I tried again to install the Text-Autoformat I got an error message which is pasted here for you view.

noc2@Bandtel2:~/Desktop/Text-Autoformat-1.12> make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..1
"break_at" is not exported by the Text::Reform module
Can't continue after import errors at /usr/lib/perl5/site_perl/5.8.8/Text/Reform.pm line 43
BEGIN failed--compilation aborted at blib/lib/Text/Autoformat.pm line 9.
Compilation failed in require at test.pl line 13.
BEGIN failed--compilation aborted at test.pl line 13.
not ok 1
make: *** [test_dynamic] Error 255


--> I tried googling and tried to relplace the Reform.pm of Text-Reform 1.10 with the same version from CPAN and again with that of the Text-Reform-1.11 but failed on both occassion.

***********************

I am blind from here and any help to proceed further would be appreciated

Thanks and Regards
mysuselove

zer0hmz 09-01-2008 07:39 PM

Did you try installing the perl module via a package (I think Suse uses RPM's). Its preferable to install the perl modules via packages, then any last ones you can't find, do it via CPAN.

Good luck, RT is a great product but the installation is a PAIN! My first "jump" into Linux was with Debian and RT 3.4 :)

mysuselove 09-08-2008 12:29 PM

Hi

I installed perl modules by downloading them from cpan as tar.gz files .
Yes SUSE uses RPMs but not all perl modules for SUSE are available as RPMs.
I did installed RT 3.6.6 but now I don't know where to start the configuration and unable to execute the Make initializedatabase command.

The USE MYSQL command is not working when I manually tried to change the mysql root user password. I got stuck there .

Any help would be appreciated

Thanks and regards
mysuselove
:newbie:

zer0hmz 09-09-2008 11:39 AM

Quote:

I did installed RT 3.6.6 but now I don't know where to start the configuration and unable to execute the Make initializedatabase command.

The USE MYSQL command is not working when I manually tried to change the mysql root user password. I got stuck there
Ok, so you have RT installed, was this manually or via a package?

where are you executing the "Make Initializedatabase" from? What error are you getting?

mysuselove 09-14-2008 02:27 PM

Hi


I installed RT manually
I executed the "Make Initializedatabase" from the temp folder where I had the RT extracted.
below is the copy of the error, when the above command was executed.

========================

Bandtel2:/tmp/rt-3.6.6 # make initialize-database
/usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba root --prompt-for-dba-password
In order to create or update your RT database,this script needs to connect to your mysql instance on localhost as root.
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.
Creating mysql database rt3.
Now populating database schema.
Creating database schema.
Done setting up database schema.
Now inserting database ACLs
DBD::mysql::st execute failed: Unknown database 'mysql' at //opt/rt3/sbin/rt-setup-database line 353, <SCHEMA> line 463.
Problem with statement:
USE mysql;
Unknown database 'mysql' at //opt/rt3/sbin/rt-setup-database line 354, <SCHEMA> line 463.
make: *** [initialize-database] Error 255

====================

any help would be appreciated

Thanks and Regards
mysuselove

zer0hmz 09-14-2008 04:36 PM

What's in your RT_SiteConfig.pm file?

mysuselove 09-15-2008 01:21 PM

Hi

Below is the copy of RT_SiteConfig.pm file. I didn't made any configuration except for the database user password.

Since the " database initialize " command has to be executed correctly in the first place , no significant change to the file has been made.

=======================
Bandtel2:/opt/rt3/etc # cat RT_SiteConfig.pm
# Any configuration directives you include here will override
# RT's default configuration file, RT_Config.pm
#
# To include a directive here, just copy the equivalent statement
# from RT_Config.pm and change the value. We've included a single
# sample value below.
#
# This file is actually a perl module, so you can include valid
# perl code, as well.
#
# The converse is also true, if this file isn't valid perl, you're
# going to run into trouble. To check your SiteConfig file, use
# this command:
#
# perl -c /path/to/your/etc/RT_SiteConfig.pm

Set( $rtname, 'example.com');
Set($DatabasePassword , 'xyzp123');
1;
===========================

Thanks and Regards
mysuselove

zer0hmz 09-15-2008 01:39 PM

What databases show up on your database server? I assume its a local installation of MySQL?

mysuselove 09-15-2008 05:48 PM

Yes, its a local installation of MySQL.
I don't know how to find the databases in the database server.


All times are GMT -5. The time now is 10:46 AM.