On 01/23/2014 10:39 PM, Brian Hardy wrote:
I've installed RT (successfully) and when I installed RTIR and added Set(@Plugins, 'RT::IR') and restart apache2, I get the following error and I can not figure out what to do.

# service apache2 reload
Syntax error on line 19 of /etc/apache2/sites-enabled/rt:
Can't locate RT:IR.pm in @INC (@INC contains: /opt/rt4/sbin/../local/lib /opt/rt4/sbin/../lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . /etc/apache2) at /opt/rt4/sbin/../lib/RT.pm line 732.\n
Action 'configtest' failed.
The Apache error log may have more information.
   ...fail!
#

Here is my apache file

<VirtualHost 192.168.1.200:80 <http://192.168.1.200:80>>
        ### Optional apache logs for RT
        # 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 modperl
            PerlResponseHandler Plack::Handler::Apache2
            PerlSetVar psgi_app /opt/rt4/sbin/rt-server
        </Location>
        <Perl>
            use Plack::Handler::Apache2;  #Line 19
Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
        </Perl>
    </VirtualHost>

Thanks,

Brian

You're using RT 4.2? They don't have an RT::IR for 4.2 yet.
RT::IR 3.0 is for RT 4.0.x, RT::IR 3.2 will be for RT 4.2.x.
We're patiently waiting as well.

Jeff Voskamp

Reply via email to