[rt-users] Help installing RT4 on Ubuntu

Borngunners borngunners at aol.com
Thu Feb 2 17:13:56 EST 2012


Now RT is coming up, but I noticed couple of things:
1. It seems like RT is using sqlite database instead of mysql. (How do you make RT to use mysql? If I make the changes in RT_SiteConfig.pm to use mysql, will it work?)
2. How do I make RT to work without the /rt path in the RT_SiteConfig.pm?

Also, If I want to configure LDAP authentication, how do I go about accomplishing that since the installation was done via aptitude?
Last but not least I have a backup database from another RT server version 3.8, which was mysql database, how do I go about restoring the database from the fron-end, if possible?


Thanks,

 

 

 

-----Original Message-----
From: Bart <bart at pleh.info>
To: rt-users <rt-users at lists.bestpractical.com>
Sent: Thu, Feb 2, 2012 10:00 am
Subject: Re: [rt-users] Help installing RT4 on Ubuntu


Hi,


As mentioned, after the installation you have to manually add the RT config to apache.


The installation won't configure apache automatically for you, you can probably use the include line Diaulas mentioned.


Other then that, it looks like you've done the installation the Ubuntu way (which is ok), all you need to do now is configure Apache.


Let us know if it worked.

-- Bart



Op 2 februari 2012 15:12 schreef Diaulas Castro <diaulas.castro at intersolution.inf.br> het volgende:


 
Did you put /rt in the end of url? Ex: http://192.168.1.1/rt
 
Have Ubuntu 11.10 installed 3 weeks ago, don’t remember to change apache conf except of including this line:
 
    Include "/etc/request-tracker4/apache2-modperl2.conf”
 
 
Last 2 lines of my conf:
 
tail -n2 /etc/apache2/sites-available/default
Include "/etc/request-tracker4/apache2-modperl2.conf"
</VirtualHost>
 
 
 
De: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com]Em nome de Borngunners
Enviada em: quinta-feira, 2 de fevereiro de 2012 12:04
Para: bart at pleh.info; rt-users at lists.bestpractical.com
Assunto: Re: [rt-users] Help installing RT4 on Ubuntu

 
I have reinstalled everything again, starting from the OS. I installed ubuntu 11 and I installed RT using the following command apt-get install request-tracker4. Everything has being installed, but I am still getting the It Works! message. It seems like this version of RT is a bit complicated to install, right? Don't know what else to do regarding the installing RT. I seriously need help with detail how-to, please....

Thanks,

 

 

 

-----Original Message-----
From: Bart <bart at pleh.info>
To: rt-users <rt-users at lists.bestpractical.com>
Sent: Wed, Feb 1, 2012 10:06 am
Subject: Re: [rt-users] Help installing RT4 on Ubuntu

Hi,

 

Are you trying to do the source installation on Ubuntu? (btw, which version of Ubuntu?)

 

At least, it looks that way. If the above is what you've done then I really don't understand the external auth errors your getting, a clean installation doesn't contain external auth...

 

My advise would be to make sure you have a clean installation up and running first before playing with plugins (theres really no point).

 

Also, if you have the latest Ubuntu server then you can also install RT using Aptitude ( aptitude search request-tracker4 ).

 

I assume you've documented all your steps up to this point, could you show us exactly what you've done? (you've installed plugins, so undo that to begin with or at least turn off the plugins in the RT_SiteConfig).

 


-- Bart



Op 31 januari 2012 20:36 schreef Borngunners <borngunners at aol.com> het volgende:

Okay. Now I have try to reinstall RT again and so far these are the configurations I have:

root at helpdesks:/var/tmp/rt-4.0.4# make initialize-database
/usr/bin/perl -I/opt/rt4/local/lib -I/opt/rt4/lib sbin/rt-setup-database --action init --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:
Working with:
Type:   mysql
Host:   localhost
Name:   rt4
User:   rtuser
DBA:    root
Now creating a mysql database rt4 for RT.
Done.
Now populating database schema.
Done.
Now inserting database ACLs.
Granting access to rtuser@'localhost' on rt4.
Done.
Now inserting RT core system objects.
Done.
[Tue Jan 31 19:32:37 2012] [warning]: The ActiveStatus configuration has been replaced by the new Lifecycles
functionality. You should set the 'active' property of the 'default'
lifecycle and add transition rules; see RT_Config.pm for documentation. (/var/tmp/rt-4.0.4/sbin/../lib/RT/Config.pm:766)
Now inserting data.
[Tue Jan 31 19:32:37 2012] [info]: RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Comments: SuperUser, Disabled: 0, EmailAddress: root at localhost, Gecos: root, Name: root, Password: password, Privileged: 1, RealName: Enoch Root (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:536)
[Tue Jan 31 19:32:37 2012] [error]: Could not set user info (/var/tmp/rt-4.0.4/sbin/../lib/RT/Handle.pm:826)
[Tue Jan 31 19:32:38 2012] [error]: Unable to load user: root : Couldn't find row (/var/tmp/rt-4.0.4/sbin/../lib/RT/Handle.pm:956)
Done inserting data.
Done.


Apache configuration:
<VirtualHost helpdesks.uhc.umd.edu>
  ErrorLog /opt/rt4/var/log/apache2.error
  TransferLog /opt/rt4/var/log/apache2.access
  # LogLevel debug

  AddDefaultCharset UTF-8

  DocumentRoot "/opt/rt4/share/html"
   <Location />
       Order allow,deny
       Allow from all

       SetHandler perl-script 


       PerlResponseHandler Plack::Handler::Apache2
       PerlSetVar psgi_app /opt/rt4/sbin/rt-server

   </Location>
    <Perl> 


        use Plack::Handler::Apache2;
        Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");

    </Perl>
</VirtualHost>


thanks,

 

 


-----Original Message-----
From: Kevin Falcone <falcone at bestpractical.com>
To: rt-users <rt-users at lists.bestpractical.com>

Sent: Mon, Jan 30, 2012 6:32 pm
Subject: Re: [rt-users] Help installing RT4 on Ubuntu


On Mon, Jan 30, 2012 at 05:11:54PM -0500, Borngunners wrote:
>    Hello Falcone,
>    I have tried the config as stated. This is the message I receive after 
starting apche:
>    root at helpdesks:/etc/apache2# /etc/init.d/apache2 start
>     * Starting web server
>    apache2
>    [Mon Jan 30 22:08:01 2012] [warning]: DBD::mysql::st execute failed: Table 
'rt4.Users' doesn't
>    exist at /usr/local/share/perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 
587.
>    (/usr/local/share/perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
 
You don't appear to have created the RT database.
 
When you said
 
>  >      On Thu, Jan 26, 2012 at 12:02:28PM -0500, Borngunners wrote:
>  >      >    I have installed RT 4 on ubuntu and have tested the web after
 
What did you do to install RT?  It'd be great if you looked through
the README and compared the steps to the notes about what you did.
 
-kevin



--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston � March 5 & 6, 2012



--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

 


--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston � March 5 & 6, 2012






 
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston � March 5 & 6, 2012

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120202/ffccb19b/attachment.htm>


More information about the rt-users mailing list