Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Apache don't start "Can't locate Apache.pm" [closed]


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


closed with the note: Problem solved
in OCS Inventory NG server for Unix by (460 points)
closed by

2 Answers

+2 votes

I resolved this problem do follow:

copy file y folder of the folder instalation



copy to:


Restart service http .


by (200 points)
0 votes
matacuria fix still working on 2020, upgrading to Ubuntu 20.04!
by (230 points)
Powered by Question2Answer