[rt-users] Help installing RT4 on Ubuntu

Borngunners borngunners at aol.com
Tue Jan 31 14:36:45 EST 2012


 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

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


More information about the rt-users mailing list