RT on Ubuntu 12

Has anyone have luck setting up and configuring RT on Ubuntu 12.04. I have done everything thus far, but I am having issue with my apache2 configuration. This is what I have in my configuration:

<VirtualHost *:80>

    AddDefaultCharset UTF-8
    perlsetEnv RT_SITE_CONFIG /etc/rt4/RT_SiteConfig.pm

    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;
        Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
    </Perl>

#tail -n2 /etc/apache2/sites-available/default
#Include “/opt/rt4/apache2-modperl2.conf”

When I comment out “use Plack::Handler::Apache2;”, apache2 does not give me any error, but I am not able to bring up rt via the web.

Has anyone have luck setting up and configuring RT on Ubuntu 12.04. I have done everything
thus far, but I am having issue with my apache2 configuration. This is what I have in my
configuration:

Since you haven’t given the error you get, it’s hard to say what’s
going on.

-kevin

As Kevin said, an error would help, tho the only differences I see in
yours from ours is “SetHandler perl-script” and I also remember having
to add a “LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so”
line just before the Virtual host line. (If anyone can tell me where it
/should/ go, it would be appreciated. It landed there when I was
fighting with 9.04?)

-MattOn 06/20/2012 12:01 PM, Borngunners wrote:

Has anyone have luck setting up and configuring RT on Ubuntu 12.04. I
have done everything thus far, but I am having issue with my apache2
configuration. This is what I have in my configuration:

<VirtualHost *:80>

    AddDefaultCharset UTF-8
    perlsetEnv RT_SITE_CONFIG /etc/rt4/RT_SiteConfig.pm

    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;

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

#tail -n2 /etc/apache2/sites-available/default
#Include “/opt/rt4/apache2-modperl2.conf”

When I comment out “use Plack::Handler::Apache2;”, apache2 does not
give me any error, but I am not able to bring up rt via the web.

As Kevin said, an error would help, tho the only differences I see in yours from ours is
“SetHandler perl-script” and I also remember having to add a "LoadModule perl_module

SetHandler perl-script is not recommended.

SetHandler modperl is the documented configuration and is correct

-kevin

This is the error message:

Internal Server Error
The server encountered an internal error ormisconfiguration and was unable to completeyour request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred,and anything you might have done that may havecaused the error.
More information about this error may be availablein the server error log.

Apache/2.2.22 (Ubuntu) Server at helpdesk.domain.com Port 80From: Kevin Falcone falcone@bestpractical.com
To: rt-users rt-users@lists.bestpractical.com
Sent: Wed, Jun 20, 2012 4:41 pm
Subject: Re: [rt-users] RT on Ubuntu 12

As Kevin said, an error would help, tho the only differences I see in yours
from ours is
“SetHandler perl-script” and I also remember having to add a "LoadModule
perl_module

SetHandler perl-script is not recommended.

SetHandler modperl is the documented configuration and is correct

-kevin

/usr/lib/apache2/modules/mod_perl.so" line just before the Virtual host
line. (If anyone can
tell me where it should go, it would be appreciated. It landed there when
I was fighting with
9.04?)

-Matt

 Has anyone have luck setting up and configuring RT on Ubuntu 12.04. I 

have done everything

 thus far, but I am having issue with my apache2 configuration. This is 

what I have in my

 configuration:

 <VirtualHost *:80>

         AddDefaultCharset UTF-8
         perlsetEnv RT_SITE_CONFIG /etc/rt4/RT_SiteConfig.pm

         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;
             Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
         </Perl>

 #tail -n2 /etc/apache2/sites-available/default
 #Include "/opt/rt4/apache2-modperl2.conf"
 </VirtualHost>

 When I comment out "use Plack::Handler::Apache2;", apache2 does not give 

me any error, but I

 am not able to bring up rt via the web.

Excerpts from Borngunners’s message of Wed Jun 20 17:21:01 -0400 2012:

This is the error message:

Internal Server Error
The server encountered an internal error ormisconfiguration and was unable to completeyour request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred,and anything you might have done that may havecaused the error.
More information about this error may be availablein the server error log.

Apache/2.2.22 (Ubuntu) Server at helpdesk.domain.com Port 80

What does the server error log (/var/log/apache2/error.log or something
similar) say?

  • Kevin

–snip–
SetHandler perl-script is not recommended. SetHandler modperl is the
documented configuration and is correct -kevin
–snip–

That’s good to know. I remember that from when I set it up, but
couldn’t get it to work. It works now (since upgrading to 12 I
assume). Thanks.

This is the error log from apache2

[Wed Jun 20 06:46:44 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 $
[Wed Jun 20 17:18:25 2012] [error] [client 128.8.222.95] failed to resolve handler Plack::Handler::Apache2': Can't locate Plack$ [Wed Jun 20 17:20:56 2012] [notice] caught SIGTERM, shutting down [Wed Jun 20 17:21:18 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 $ [Thu Jun 21 10:43:08 2012] [notice] caught SIGTERM, shutting down [Thu Jun 21 10:43:45 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 $ [Thu Jun 21 10:43:57 2012] [error] [client 128.8.222.95] failed to resolve handler Plack::Handler::Apache2’: Can’t locate Plack$
[Thu Jun 21 10:44:00 2012] [error] [client 128.8.222.95] failed to resolve handler `Plack::Handler::Apache2’: Can’t locate Plack$-----Original Message-----
From: 20/20 Lab lab@pacbell.net
To: rt-users rt-users@lists.bestpractical.com
Sent: Wed, Jun 20, 2012 6:20 pm
Subject: Re: [rt-users] RT on Ubuntu 12

–snip–
SetHandler perl-script is not recommended. SetHandler modperl is the
documented configuration and is correct -kevin
–snip–

That’s good to know. I remember that from when I set it up, but
couldn’t get it to work. It works now (since upgrading to 12 I
assume). Thanks.

sudo apt-get install libplack-perlOn Thu, Jun 21, 2012 at 10:46 AM, Borngunners borngunners@aol.com wrote:

This is the error log from apache2

[Wed Jun 20 06:46:44 2012] [notice] Apache/2.2.22 (Ubuntu)
PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 $
[Wed Jun 20 17:18:25 2012] [error] [client 128.8.222.95] failed to resolve
handler Plack::Handler::Apache2': Can't locate Plack$ [Wed Jun 20 17:20:56 2012] [notice] caught SIGTERM, shutting down [Wed Jun 20 17:21:18 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 $ [Thu Jun 21 10:43:08 2012] [notice] caught SIGTERM, shutting down [Thu Jun 21 10:43:45 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 $ [Thu Jun 21 10:43:57 2012] [error] [client 128.8.222.95] failed to resolve handler Plack::Handler::Apache2’: Can’t locate Plack$
[Thu Jun 21 10:44:00 2012] [error] [client 128.8.222.95] failed to resolve
handler `Plack::Handler::Apache2’: Can’t locate Plack$

-----Original Message-----
From: 20/20 Lab lab@pacbell.net
To: rt-users rt-users@lists.bestpractical.com
Sent: Wed, Jun 20, 2012 6:20 pm
Subject: Re: [rt-users] RT on Ubuntu 12

–snip–
SetHandler perl-script is not recommended. SetHandler modperl is the
documented configuration and is correct -kevin
–snip–

That’s good to know. I remember that from when I set it up, but
couldn’t get it to work. It works now (since upgrading to 12 I
assume). Thanks.

http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin

I just installed libplack-perl using the following command suggested sudo apt-get install libplack-perl
After installing it, I decided to include “use Plack::Handler::Apache2” in my apache2 configuration. This is the following error message I got:

root@helpdesks:/etc/apache2/sites-available# /etc/init.d/apache2 start

  • Starting web server apache2 Syntax error on line 28 of /etc/apache2/sites-enabled/000-default:
    Can’t locate JSON.pm in @INC (@INC contains: /opt/rt4/sbin/…/local/lib /opt/rt4/local/plugins/RT-Authen-ExternalAuth/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/Interface/Web.pm line 73.\nBEGIN failed–compilation aborted at /opt/rt4/sbin/…/lib/RT/Interface/Web.pm line 73.\nCompilation failed in require at /opt/rt4/sbin/…/lib/RT/ObjectCustomFieldValue.pm line 54.\nBEGIN failed–compilation aborted at /opt/rt4/sbin/…/lib/RT/ObjectCustomFieldValue.pm line 54.\nCompilation failed in require at /opt/rt4/sbin/…/lib/RT/ObjectCustomFieldValues.pm line 55.\nBEGIN failed–compilation aborted at /opt/rt4/sbin/…/lib/RT/ObjectCustomFieldValues.pm line 55.\nCompilation failed in require at /opt/rt4/sbin/…/lib/RT/CustomField.pm line 63.\nBEGIN failed–compilation aborted at /opt/rt4/sbin/…/lib/RT/CustomField.pm line 63.\nCompilation failed in require at /opt/rt4/sbin/…/lib/RT/System.pm line 122.\nBEGIN failed–compilation aborted at /opt/rt4/sbin/…/lib/RT/System.pm line 122.\nCompilation failed in require at /opt/rt4/sbin/…/lib/RT.pm line 503.\n
    Action ‘start’ failed.
    The Apache error log may have more information.

And after looking into the apache2 error log, this is the erroe message I get:
$
[Thu Jun 21 11:26:15 2012] [notice] caught SIGTERM, shutting down
[Thu Jun 21 11:26:19 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 $
[Thu Jun 21 11:26:37 2012] [notice] caught SIGTERM, shutting down

if I comment out “use Plack::Handler::Apache2”, I won’t have any error message after starting apache2.

ThanksFrom: Paul Tomblin ptomblin@xcski.com
To: Borngunners borngunners@aol.com
Cc: lab lab@pacbell.net; rt-users rt-users@lists.bestpractical.com
Sent: Thu, Jun 21, 2012 10:55 am
Subject: Re: [rt-users] RT on Ubuntu 12

sudo apt-get install libplack-perl

I just installed libplack-perl using the following command suggested sudo apt-get install
libplack-perl
After installing it, I decided to include “use Plack::Handler::Apache2” in my apache2
configuration. This is the following error message I got:

Have you installed any of the RT dependencies on this machine?

The README explains how to run make testdeps and make fixdeps. You’ll
need to run those and either install from CPAN or translate the needed
perl modules into the appropriate Ubuntu packages.

-kevin

Can’t locate JSON.pm in @INC (@INC contains: /opt/rt4/sbin/…/local/lib
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt4/sbin/…/lib
/etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2
/usr/lib/perl5 /us

If you’re missing JSON.pm, then you never ran “make testdeps” and
“make fixdeps” when you installed.

Go back and install it properly, following all the instructions.

http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin

Sounds like you didnt finish the ‘make fixdeps’ part of the setup. Some
items (the last time I installed from the tarball) will not / can not be
installed that way. In which case it’ll say in the last few lines about
how it could not install ‘Thing::subthing’ then just head on over to
cpan and install it manually. Looking at my server, it looks like
DateTime, GD, prefork, and XML-RSS are the packages I had to manually
install. Tho I’m not positive.On 06/21/2012 8:33 AM, Borngunners wrote:

I just installed libplack-perl using the following command suggested
sudo apt-get install libplack-perl
After installing it, I decided to include “use
Plack::Handler::Apache2” in my apache2 configuration. This is the
following error message I got:

root@helpdesks:/etc/apache2/sites-available# /etc/init.d/apache2 start

  • Starting web server apache2 Syntax error on line 28 of
    /etc/apache2/sites-enabled/000-default:
    Can’t locate JSON.pm in @INC (@INC contains:
    /opt/rt4/sbin/…/local/lib
    /opt/rt4/local/plugins/RT-Authen-ExternalAuth/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/Interface/Web.pm line 73.\nBEGIN
    failed–compilation aborted at
    /opt/rt4/sbin/…/lib/RT/Interface/Web.pm line 73.\nCompilation failed
    in require at /opt/rt4/sbin/…/lib/RT/ObjectCustomFieldValue.pm line
    54.\nBEGIN failed–compilation aborted at
    /opt/rt4/sbin/…/lib/RT/ObjectCustomFieldValue.pm line
    54.\nCompilation failed in require at
    /opt/rt4/sbin/…/lib/RT/ObjectCustomFieldValues.pm line 55.\nBEGIN
    failed–compilation aborted at
    /opt/rt4/sbin/…/lib/RT/ObjectCustomFieldValues.pm line
    55.\nCompilation failed in require at
    /opt/rt4/sbin/…/lib/RT/CustomField.pm line 63.\nBEGIN
    failed–compilation aborted at /opt/rt4/sbin/…/lib/RT/CustomField.pm
    line 63.\nCompilation failed in require at
    /opt/rt4/sbin/…/lib/RT/System.pm line 122.\nBEGIN failed–compilation
    aborted at /opt/rt4/sbin/…/lib/RT/System.pm line 122.\nCompilation
    failed in require at /opt/rt4/sbin/…/lib/RT.pm line 503.\n
    Action ‘start’ failed.
    The Apache error log may have more information.

And after looking into the apache2 error log, this is the erroe
message I get:
$
[Thu Jun 21 11:26:15 2012] [notice] caught SIGTERM, shutting down
[Thu Jun 21 11:26:19 2012] [notice] Apache/2.2.22 (Ubuntu)
PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 $
[Thu Jun 21 11:26:37 2012] [notice] caught SIGTERM, shutting down

if I comment out “use Plack::Handler::Apache2”, I won’t have any error
message after starting apache2.

Thanks

-----Original Message-----
From: Paul Tomblin ptomblin@xcski.com
To: Borngunners borngunners@aol.com
Cc: lab lab@pacbell.net; rt-users rt-users@lists.bestpractical.com
Sent: Thu, Jun 21, 2012 10:55 am
Subject: Re: [rt-users] RT on Ubuntu 12

sudo apt-get install libplack-perl

On Thu, Jun 21, 2012 at 10:46 AM, Borngunners borngunners@aol.com wrote:

This is the error log from apache2

[Wed Jun 20 06:46:44 2012] [notice] Apache/2.2.22 (Ubuntu)
PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 $
[Wed Jun 20 17:18:25 2012] [error] [client 128.8.222.95] failed to resolve
handler Plack::Handler::Apache2': Can't locate Plack$ [Wed Jun 20 17:20:56 2012] [notice] caught SIGTERM, shutting down [Wed Jun 20 17:21:18 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 $ [Thu Jun 21 10:43:08 2012] [notice] caught SIGTERM, shutting down [Thu Jun 21 10:43:45 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5 Perl/v5.14.2 $ [Thu Jun 21 10:43:57 2012] [error] [client 128.8.222.95] failed to resolve handler Plack::Handler::Apache2’: Can’t locate Plack$
[Thu Jun 21 10:44:00 2012] [error] [client 128.8.222.95] failed to resolve
handler `Plack::Handler::Apache2’: Can’t locate Plack$

-----Original Message-----
From: 20/20 Lab lab@pacbell.net
To: rt-users rt-users@lists.bestpractical.com
Sent: Wed, Jun 20, 2012 6:20 pm
Subject: Re: [rt-users] RT on Ubuntu 12

–snip–
SetHandler perl-script is not recommended. SetHandler modperl is the
documented configuration and is correct -kevin
–snip–

That’s good to know. I remember that from when I set it up, but
couldn’t get it to work. It works now (since upgrading to 12 I
assume). Thanks.


http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin

I ran make fixdeps and other dependencies manually. I also ran apache2 to start the apache server. This is the respond I got after running the apache command:

root@helpdesks:/opt/rt4/etc# /etc/init.d/apache2 start

  • Starting web server apache2 [Thu Jun 21 17:26:51 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. (/opt/rt4/sbin/…/lib/RT/Config.pm:766)
    [ OK ]

Now, I am not able to login as root and the default password. I am not able to login using ldap also.

ThanksFrom: 20/20 Lab lab@pacbell.net
To: Borngunners borngunners@aol.com
Cc: rt-users rt-users@lists.bestpractical.com
Sent: Thu, Jun 21, 2012 11:49 am
Subject: Re: [rt-users] RT on Ubuntu 12

Sounds like you didnt finish the ‘make fixdeps’ part of the setup. Some items (the last time I installed from the tarball) will not / can not be installed that way. In which case it’ll say in the last few lines about how it could not install ‘Thing::subthing’ then just head on over to cpan and install it manually. Looking at my server, it looks like DateTime, GD, prefork, and XML-RSS are the packages I had to manually install. Tho I’m not positive.

I just installed libplack-perl using the following command suggested sudo apt-get install libplack-perl
After installing it, I decided to include “use Plack::Handler::Apache2” in my apache2 configuration. This is the following error message I got:

      root@helpdesks:/etc/apache2/sites-available#          /etc/init.d/apache2 start
       * Starting web server          apache2                                                                                                            Syntax error on line 28 of          /etc/apache2/sites-enabled/000-default:
      Can't locate JSON.pm in @INC (@INC contains:          /opt/rt4/sbin/../local/lib          /opt/rt4/local/plugins/RT-Authen-ExternalAuth/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/Interface/Web.pm line 73.\nBEGIN          failed--compilation aborted at          /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 73.\nCompilation          failed in require at          /opt/rt4/sbin/../lib/RT/ObjectCustomFieldValue.pm line          54.\nBEGIN failed--compilation aborted at          /opt/rt4/sbin/../lib/RT/ObjectCustomFieldValue.pm line          54.\nCompilation failed in require at          /opt/rt4/sbin/../lib/RT/ObjectCustomFieldValues.pm line          55.\nBEGIN failed--compilation aborted at          /opt/rt4/sbin/../lib/RT/ObjectCustomFieldValues.pm line          55.\nCompilation failed in require at          /opt/rt4/sbin/../lib/RT/CustomField.pm line 63.\nBEGIN          failed--compilation aborted at          /opt/rt4/sbin/../lib/RT/CustomField.pm line 63.\nCompilation          failed in require at /opt/rt4/sbin/../lib/RT/System.pm line          122.\nBEGIN failed--compilation aborted at          /opt/rt4/sbin/../lib/RT/System.pm line 122.\nCompilation          failed in require at /opt/rt4/sbin/../lib/RT.pm line 503.\n
      Action 'start' failed.
      The Apache error log may have more information.
      

        And after looking into the apache2 error log, this is the            erroe message I get:
        $
        [Thu Jun 21 11:26:15 2012] [notice] caught SIGTERM, shutting            down
        [Thu Jun 21 11:26:19 2012] [notice] Apache/2.2.22 (Ubuntu)            PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch mod_perl/2.0.5            Perl/v5.14.2 $
        [Thu Jun 21 11:26:37 2012] [notice] caught SIGTERM, shutting            down
        
        
        if I comment out "use              Plack::Handler::Apache2", I won't have any error message              after starting apache2.
          
          
          Thanks

-----Original Message-----
From: Paul Tomblin ptomblin@xcski.com
To: Borngunners borngunners@aol.com
Cc: lab lab@pacbell.net; rt-users rt-users@lists.bestpractical.com
Sent: Thu, Jun 21, 2012 10:55 am
Subject: Re: [rt-users] RT on Ubuntu 12

sudo apt-get install libplack-perl

Paul Tomblin <ptomblin xcski.com> writes:

Can’t locate JSON.pm in @INC (@INC contains: /opt/rt4/sbin/…/local/lib
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt4/sbin/…/lib
/etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2
/usr/lib/perl5 /us

If you’re missing JSON.pm, then you never ran “make testdeps” and
“make fixdeps” when you installed.

Go back and install it properly, following all the instructions.

Hi paul

Just wanted to share that i recieved the same error

[Fri Feb 15 18:48:12 2013] [error] [client 202.188.59.1] failed to resolve
handler `Plack::Handler::Apache2’: Can’t locate Plack/Handler/Apache2.pm in @INC
(@INC contains: /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 (eval 2) line
2.\n

So i did

apt-get install libplack-perl

next i also encountered the error Can’t locate JSON.pm

guys you should know prior to this i ran make testdeps and all dependencies were
found

There were other modules missing every time i restarted the apache and i
installed them before it finally worked

apt-get install libtext-password-pronounceable-perl
apt-get install libjson-perl
apt-get install libregexp-ipv6-perl
apt-get install libregexp-common-net-cidr-perl
apt-get install libdevel-globaldestruction-perl
apt-get install libhtml-mason-psgihandler-perl
apt-get install libcgi-emulate-psgi-perl

Now the problem is i cant login using root and password from the web interface

Some one please give me suggestions.
thanks

[Fri Feb 15 18:48:12 2013] [error] [client 202.188.59.1] failed to resolve
handler `Plack::Handler::Apache2’: Can’t locate Plack/Handler/Apache2.pm in @INC
(@INC contains: /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 (eval 2) line
2.\n

So i did

apt-get install libplack-perl

next i also encountered the error Can’t locate JSON.pm

guys you should know prior to this i ran make testdeps and all dependencies were
found

There were other modules missing every time i restarted the apache and i
installed them before it finally worked

How did you install RT?
I’ve never seen RT ‘fail’ to notice deps like this.
What operating system is this.

Now the problem is i cant login using root and password from the web interface

Some one please give me suggestions.

There will be an error in the log, what does it say.
Does the root user exist in the database.

-kevin

Paul Tomblin <ptomblin xcski.com> writes:

Can’t locate JSON.pm in @INC (@INC contains: /opt/rt4/sbin/…/local/lib
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt4/sbin/…/lib
/etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2
/usr/lib/perl5 /us

If you’re missing JSON.pm, then you never ran “make testdeps” and
“make fixdeps” when you installed.

Go back and install it properly, following all the instructions.

Hi paul

Just wanted to share that i recieved the same error

[Fri Feb 15 18:48:12 2013] [error] [client 202.188.59.1] failed to resolve
handler `Plack::Handler::Apache2’: Can’t locate Plack/Handler/Apache2.pm in @INC
(@INC contains: /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 (eval 2) line
2.\n

So i did

apt-get install libplack-perl

next i also encountered the error Can’t locate JSON.pm

guys you should know prior to this i ran make testdeps and all dependencies were
found

There were other modules missing every time i restarted the apache and i
installed them before it finally worked

apt-get install libtext-password-pronounceable-perl
apt-get install libjson-perl
apt-get install libregexp-ipv6-perl
apt-get install libregexp-common-net-cidr-perl
apt-get install libdevel-globaldestruction-perl
apt-get install libhtml-mason-psgihandler-perl
apt-get install libcgi-emulate-psgi-perl

Now the problem is i cant login using root and password from the web interface

Some one please give me suggestions.
thanks