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

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

How to install OCS webservices on Debian ?

Hello,

my server run Debian Jessie (8.5),

and the OCS server (2.2.1) install has an issue:

Checking for SOAP::Lite Perl module...
Found that PERL module SOAP::Lite is available.
+----------------------------------------------------------+
|         Checking for optional Perl Modules...            |
+----------------------------------------------------------+

Checking for Apache2::SOAP PERL module...
*** Warning: PERL module Apache2::SOAP is not installed !
This module is only required by OCS Inventory NG SOAP Web Service.

How to install OCS webservices on Debian and get it work ?

Thanks,

Regards

in OCS Inventory NG server for Unix by (160 points)

2 Answers

0 votes
Soap is an optionnal feature and is not necessary to get OCS working correctly.

But if you need the webservices : install the extension with cpan.
by (20.9k points)

Hello, thanks for your answer.

Yes, I really need OCS webservices, and it's doesn't work, it seems that nobody be able to install it ...

I have begun a new install, from sratch, and before to install OCS, I have install the Apache2::SOAP.

When I launch the OCS 2.2.1 setup:

============================

Checking for Apache2::SOAP PERL module...
*** Warning: PERL module Apache2::SOAP is not installed !
This module is only required by OCS Inventory NG SOAP Web Service.
Do you wish to continue ([y]/n] ?n

Installation aborted !

cpan[1]> install Apache2::SOAP

Reading '/root/.cpan/Metadata'
  Database was generated on Tue, 02 Aug 2016 12:29:02 GMT
Apache2::SOAP is up to date (0.73).

================================

As you can see the Apache2::SOAP module is already installed, and the OCS setup tell me it's not the case ...

Please help us !

Thanks

Then use cpan to install missing module

Hello Kapouik, and thank you for your answer,


The module is already installed (cpan[1]> install Apache2::SOAP answer me : Apache2::SOAP is up

to date (0.73))

And the OCS setup cannot see it.

0 votes

Amazing .. It's working. Be careful, your script write:

*** Warning: PERL module Apache2::SOAP is not installed !

But if you continue the installation, webservices are working if it was authorized in apache sites-enable.

Please modify the method to check if the module is installed or not during the installation process.

Regards

by (160 points)
 
Powered by Question2Answer
...