[rt-users] Can't locate Plack/Handler/Apache2.pm
Jacobo Urdiales
jacobo.urdiales at cekon.es
Mon Apr 23 07:19:09 EDT 2012
Hi all,
I am trying to install RT 4.0.5 con a Centos 5
Have gone through all the install steps (even the perl cpan stuff...)
and build the database under Mysql.
Now I have created a file in /etc/httpd/conf.d/rt.conf with the
following stuff
<VirtualHost rt.mydomain.com>
# 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;
Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
</Perl>
</VirtualHost>
But upon restarting apache i get this error
Can't locate Plack/Handler/Apache2.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .
/etc/httpd) at /etc/httpd/conf.d/rt.conf line 11.\nBEGIN
failed--compilation aborted\t(in cleanup) Can't locate
Plack/Handler/Apache2.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .
/etc/httpd) at /etc/httpd/conf.d/rt.conf line 11.\nBEGIN
failed--compilation aborted at /etc/httpd/conf.d/rt.conf line 11.\n
The point is that I installed perl version 5.14 and compiled rt eith
that also installed the modules under that version. But I do not know
why seems that apache or whatever has the old path.
Tried to modify (even copy) the path contents to old locations but more
errors rise..
Can you help me?
More information about the rt-users
mailing list