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 <[email protected]>
To: Borngunners <[email protected]>
Cc: lab <[email protected]>; rt-users <[email protected]>
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 <[email protected]> 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 <[email protected]>
> To: rt-users <[email protected]>
> 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