Apache2 won’t start due to locate-error

apache-2.2mod-perlsles10

I am running Apache/2.2.9 on SLES 10 and want to use Apache2::REST.

I installed it using cpan and added the Handler and the configuration stuff.
When I try to start Apache (apache2ctl start), it says:

[Thu Sep 01 11:13:30 2011] [warn] module apreq_module is already loaded, skipping

[Thu Sep 01 11:13:30 2011] [warn] module perl_module is already loaded, skipping

The error.log tells me:

[Thu Sep 01 10:43:06 2011] [error] Can't locate Apache2/Request.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/5.8.8
/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8/usr/lib/perl5/vendor_perl . /etc/apache2) at /usr/local/share/perl/5.10.0/Apache2/REST.pm line 8.\nBEGIN failed–compilation aborted at /usr/local/share/perl/5.10.0/Apache2/REST.pm line 8.\nCompilation failed in require at (eval 5) line 3.\n

[Thu Sep 01 10:43:06 2011] [error] Can't load Perl module Apache2::REST for server servername:0, exiting…

I get the same error on SLES 10. But there I cannot even install apreq2.

Best Answer

It appears you need to install libapreq2 That, or the existing installation is corrupted. The ''already loaded'' messages are immaterial.

Related Topic