Quantcast
Channel: Ocsinventory Q&A - Recent questions without answers
Viewing all articles
Browse latest Browse all 4605

Apache don't start "Can't locate Apache.pm"

$
0
0

Hi,

I have installed an Ocsinventory in a CentOs 7.2. Beyond yum perl package doesn't exist in this release, Apache don't start after include "z-ocsinventory-server.conf" and "ocsinventory-reports.conf" in my httpd.conf. The file error.log of httpd as two lines : 

Can't locate Apache/Ocsinventory/Plugins/Apache.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /opt/applis/httpd) at (eval 13) line 2.\n

Can't load Perl module Apache::Ocsinventory::Plugins::Apache for server srv-ocs.clinique.local:0, exiting...

Folder "/etc/ocsinventory-server" exist with "plugins" and "perl" folders, but without any files.

In my Ocs_server_setup.log, only two lines are on error :

Checking for Apache2::SOAP PERL module
Unsupported version of mod_perl at /root/perl5/lib/perl5/SOAP/Transport/HTTP2.pm line 85.
Compilation failed in require.
BEGIN failed--compilation aborted.
User choose to continue setup without PERL module SOAP::Apache2

Somebody can help me? 

I have CentOs 7.2, Php 5.6.3, httpd 2.4.20, mod_perl 2.0.9

Thanks


Viewing all articles
Browse latest Browse all 4605


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>