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

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

OCS 2.5 on Centos 7, no inventory

Hello to everyone, I'm trying to install OCS 2.5 on a dedicated vm with Centos 7.

I've the web server running and a windows client installed, but no way to get the network inventoried except the client itself.

In the logfiles I see those errors:

/var/log/ocsinventory-server/activity.log

 no error

/var/log/httpd/error_log (edited ip)

[:error] [pid 5558] [client client_ip:10217] PHP Warning:  in_array() expects parameter 2 to be array, null given in /usr/share/ocsinventory-reports/ocsreports/require/function_table_html.php on line 437, referer: http://localhost_ip/ocsreports/index.php?function=computer&head=1&systemid=1&cat=other

[:error] [pid 5558] [client client_ip:10217] PHP Warning:  in_array() expects parameter 2 to be array, null given in /usr/share/ocsinventory-reports/ocsreports/require/function_table_html.php on line 1803, referer: http://localhost_ip/ocsreports/index.php?function=computer&head=1&systemid=1&cat=other

In the client:

C:\ProgramData\OCS Inventory NG\Agent\OCSInventory.log

Starting OCS Inventory NG Agent
AGENT => Running OCS Inventory NG Agent Version 2.4.0.0

AGENT => Using OCS Inventory NG FrameWork Version 2.4.0.0

AGENT => Loading plug-in(s)

AGENT => Using network connection with Communication Server

AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.4.0.0>

AGENT => Sending Prolog

AGENT => Prolog successfully sent

AGENT => Inventory required

AGENT => Launching hardware and software checks

AGENT => Sending Inventory

INVENTORY => Inventory changed since last run

AGENT => Inventory successfully sent

AGENT =>  Communication Server asked for Package Download

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:00:17.

Checking google for those errors leads me to an old bug, already marked as solved.

Can anyone halp me to make it working?

Thanks in advance for any help.
asked in OCS Inventory NG server for Unix by (120 points)

Please log in or register to answer this question.

 
Powered by Question2Answer
...