On Thu, Jun 21, 2012 at 11:33:05AM -0400, 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:

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

>    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.

Attachment: pgpqRj7xFAfxl.pgp
Description: PGP signature

Reply via email to