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

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

Apache can't be restart after OCSInventoryNG installed

Hi broths

I have installed the OCSInventoryNG2.1.2, but it failured when i restart the apache.

 

Systeminfor:

CentOS7+apache2.4.6+PHP 5.4.16+MariaDB5.5.41+OCSInventoryNG2.1.2

OtherPackages:

mod_perl-2.0.8-10.20140624svn1602105.el7.x86_64

perl-XML-Simple-2.20-5.el7.noarch

perl-IO-Compress-2.061-2.el7.noarch

perl-DBI-1.627-4.el7.x86_64

perl-DBD-MySQL-4.023-5.el7.x86_64

perl-Apache-DBI-1.12-1.el7.noarch

perl-Net-IP-1.26-4.el7.noarch

perl-SOAP-Lite-1.10-1.el7.noarch

php-common-5.4.16-36.el7_1.x86_64

php-gd-5.4.16-36.el7_1.x86_64

 

I have check the apache error.log, it display:

[Tue Aug 18 17:10:43.717931 2015] [perl:error] [pid 14622] 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 . /etc/httpd) at (eval 13) line 2.\n

[Tue Aug 18 17:10:43.718718 2015] [perl:error] [pid 14622] Can't load Perl module Apache::Ocsinventory::Plugins::Apache for server localhost:80, exiting...

I have checked the ocs_server_setup.log, i have found the error at below in it:

Checking for Apache2::SOAP PERL module
Unsupported version of mod_perl at /usr/share/perl5/vendor_perl/SOAP/Transport/HTTP2.pm line 85.
Compilation failed in require.
BEGIN failed--compilation aborted.

Others in ocs_server_setup.log is OK

[root@localhost ~]# cpan -i Apache2::SOAP
CPAN: Storable loaded ok (v2.45)
Reading '/root/.cpan/Metadata'
  Database was generated on Tue, 18 Aug 2015 19:29:02 GMT
CPAN: Module::CoreList loaded ok (v2.76_02)
Apache2::SOAP is up to date (0.73).

 

I have installed and updated the Apache2::SOAP, but apache can't be restarted.

And it prompted :

[Tue Aug 18 17:10:43.717931 2015] [perl:error] [pid 14622] 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 . /etc/httpd) at (eval 13) line 2.\n

[Tue Aug 18 17:10:43.718718 2015] [perl:error] [pid 14622] Can't load Perl module Apache::Ocsinventory::Plugins::Apache for server localhost:80, exiting...

 

Anyone help me?
in OCS Inventory NG server for Unix by (160 points)
edited by

Please log in or register to answer this question.

 
Powered by Question2Answer
...