It looks like your running this as a dedicated server (or a virtual host [ie rt.place.tld]). I run it as a page. Its on the same server as my nagios install. here is my rt section. There are a number of differences, but its someplace to start trying.

I also had to add "LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so" to my apache2.conf. This config is in my apache2.conf.

<Location /rt>
            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>

Now, I dont even begin think that I understand why this works. I had to try a ton of things to get the two to play nice with eachother. I'm running 11.10 (I think)

It looks like your running from an elevated prompt (in case your not I'd start there). If you have no data in your database yet, do a make dropdb and redo your make initialize-database.

Hope this helps,
Matt

On 01/31/2012 11:36 AM, Borngunners wrote:
Okay. Now I have try to reinstall RT again and so far these are the configurations I have:

root@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@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 <[email protected]>
To: rt-users <[email protected]>
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@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

Reply via email to