LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-11-2008, 09:39 AM   #1
mysuselove
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Rep: Reputation: 0
Smile 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:ispatch 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

Last edited by mysuselove; 08-11-2008 at 10:20 AM.
 
Old 09-01-2008, 08:39 PM   #2
zer0hmz
Member
 
Registered: May 2006
Posts: 33

Rep: Reputation: 15
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
 
Old 09-08-2008, 01:29 PM   #3
mysuselove
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Red face

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
 
Old 09-09-2008, 12:39 PM   #4
zer0hmz
Member
 
Registered: May 2006
Posts: 33

Rep: Reputation: 15
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?
 
Old 09-14-2008, 03:27 PM   #5
mysuselove
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 09-14-2008, 05:36 PM   #6
zer0hmz
Member
 
Registered: May 2006
Posts: 33

Rep: Reputation: 15
What's in your RT_SiteConfig.pm file?
 
Old 09-15-2008, 02:21 PM   #7
mysuselove
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 09-15-2008, 02:39 PM   #8
zer0hmz
Member
 
Registered: May 2006
Posts: 33

Rep: Reputation: 15
What databases show up on your database server? I assume its a local installation of MySQL?
 
Old 09-15-2008, 06:48 PM   #9
mysuselove
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Yes, its a local installation of MySQL.
I don't know how to find the databases in the database server.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
request tracker tester^_^ Linux - Newbie 5 09-01-2008 10:33 PM
request tracker system tester^_^ Linux - Software 2 07-30-2008 05:02 PM
installing Request Tracker hashim.km Linux - Software 11 04-04-2008 03:28 PM
Request Tracker in FC3 adm1329 Linux - Software 2 03-04-2005 10:24 AM
cannot find libmysqlclient.so when installing Request Tracker Ticketing program SmokeMonkey Linux - Software 5 06-16-2004 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration