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.

OCS Inventory Agent plugins do not synchronize

I'm having trouble synchronizing data from OCS Inventory plugins.

I created a package and sent it via GPO, the installation and synchronization of the agent with the server was a success, but the plugins are not executed despite being executed on the client machines.

The following error message is displayed: ERROR *** AGENT => Failed to send Inventory <HTTP Status Code # 500>

Starting OCS Inventory NG Agent on Monday, March 16, 2020 11:21:59.

AGENT => Running OCS Inventory NG Agent Version 2.6.0.0

AGENT => Using OCS Inventory NG FrameWork Version 2.6.0.0

AGENT => Loading plug-in(s)

DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files\OCS Inventory Agent\plugins>

DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found

AGENT => Using network connection with Communication Server

COM PROVIDER => Loading Communication Provider <C:\Program Files\OCS Inventory Agent\ComHTTP.dll>

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

AGENT => Sending Prolog

DID_CHECK => Read DeviceID <XXXXX-2020-03-11-16-57-05> and MACs <XXXXXX> in file <ocsinventory.dat>

COM SERVER => Initializing cURL library for sendRequest

COM SERVER => Using cURL without server authentication

COM SERVER => Disabling cURL proxy support

COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>

COM SERVER => Sending HTTP Post request to URL <http://SERVER/ocsinventory>

COM SERVER => HTTP Post response received <HTTP Status Code #200>

COM SERVER => Cleaning cURL library

AGENT => Prolog successfully sent

AGENT => Prolog Frequency set to 24 hour(s)

AGENT  Inventory on startup option set to 1 

AGENT => Inventory required

AGENT => Launching hardware and software checks

INVENTORY => Loading Download history

AGENT => Communication Server asks for IpDiscover

IPDISCOVER => Scanning to detect IPv4 enabled hosts for network <XXX.XXX.XXX0> with <100> ms between each request

IPDISCOVER => Waited 4620 ms for the threads to die

IPDISCOVER => NETWORK scan finished, 103 hosts found, 511 scanned

EXECUTABLE PLUGIN => Searching for VBS script(s) in folder <C:\Program Files\OCS Inventory Agent\plugins>

EXECUTABLE PLUGIN => Found executable plugin <checkFiles.vbs>

EXECUTABLE PLUGIN => Plugin <checkFiles.vbs> executed successfull 

EXECUTABLE PLUGIN => Found executable plugin <iesettings.vbs>

EXECUTABLE PLUGIN => Plugin <iesettings.vbs> executed successfully

EXECUTABLE PLUGIN => Found executable plugin <listprinters.vbs>

EXECUTABLE PLUGIN => Plugin <listprinters.vbs> executed successfully

EXECUTABLE PLUGIN => Found executable plugin <msofficekey.vbs>

EXECUTABLE PLUGIN => Found executable plugin <networkshare.vbs>

EXECUTABLE PLUGIN => Found executable plugin <osinstall.vbs>

EXECUTABLE PLUGIN => Plugin <osinstall.vbs> executed successfull 

EXECUTABLE PLUGIN => Found executable plugin <runningprocess.vbs>

EXECUTABLE PLUGIN => Plugin <runningprocess.vbs> executed successfully

EXECUTABLE PLUGIN => Found executable plugin <lastpublic.ps1>

AGENT => Sending Inventory

INVENTORY => Checking last inventory state

INVENTORY => Logical drives inventory state changed

INVENTORY => Inventory changed since last run

INVENTORY => Generating XML document with Device properties

COM SERVER => Initializing cURL library for sendRequest

COM SERVER => Using cURL without server authentication

COM SERVER => Disabling cURL proxy support

COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>

COM SERVER => Sending HTTP Post request to URL <http://SERVER/ocsinventory>

COM SERVER => HTTP Post response received <HTTP Status Code #500>

COM SERVER => Cleaning cURL library

ERROR *** AGENT => Failed to send Inventory <HTTP Status Code #500>

AGENT =>  Communication Server asked for Package Download

DOWNLOAD => Found OCS Inventory Agent Setup result file <C:\ProgramData\OCS Inventory NG\Agent\download\OCSNG-Windows-Agent-Setup_done>

ERROR *** DOWNLOAD => Found result code <SUCCESS> for OCS Inventory Agent Setup package but no package ID specified, so remove all packages to avoid running Agent setup in loop !

DOWNLOAD => Package history file successfully cleaned for duplicate IDs

DOWNLOAD => Download disabled by server

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

 AGENT => Execution duration: 00:03:19.

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

1 Answer

0 votes
Hi,

Please post httpd error log file content.

Regards

Frank
by (90.4k points)
 
Powered by Question2Answer
...