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.

Agent communication failure and http server

Good afternoon folks. I am experiencing the following communications issues from my agent's ocs 2.3.1.1 and in the lower versions as well. I send the agent goes server and it installs on the dektop's and notebook's but generates the following logs:

Starting OCS Inventory NG Agent on Monday, January 08, 2018 17:51:40.

AGENT => Running OCS Inventory NG Agent Version 2.3.1.1

AGENT => Using OCS Inventory NG FrameWork Version 2.3.1.1

AGENT => Loading plug-in(s)

DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\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 (x86)\OCS Inventory Agent\ComHTTP.dll>

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

AGENT => Sending getLabel request

COM SERVER => Initializing cURL library for getFile

COM SERVER => Using cURL without server authentication

COM SERVER => Disabling cURL proxy support

COM SERVER => Enabling cURL SSL server validation support using CA Bundle <cacert.pem>

COM SERVER => Sending fileGet request to URL <https://spoivt01.gpssa.com.br/ocsinventory/deploy/label>

COM SERVER => fileGet response received <HTTP Status Code #400>

COM SERVER => Cleaning cURL library

AGENT => Failed to retrieve Label <HTTP Status Code #400>

AGENT => Sending Prolog

DID_CHECK => Read DeviceID <SP1NTTI00125-2018-01-08-14-17-27> and MACs <64:1C:67:6A:B2:3F> 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 <cacert.pem>

COM SERVER => Sending HTTP Post request to URL <https://spoivt01.gpssa.com.br/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

INVENTORY => Logged on user ID is <rafael.lins>

INVENTORY => Operating System is <Microsoft Windows 10 Pro 10.0.10586 >, description <>

INVENTORY => Operating System uses 64 bits memory address width

INVENTORY => Computer domain or workgroup is <grupopredial.com.br>

INVENTORY => User domain is <>

INVENTORY => System Manufacturer <LENOVO>, System Model <688642P>, System S/N <PEEDB64>, Bios Manufacturer <LENOVO>, Bios Date <01/27/2014>, Bios Version <HEET42WW (1.23 )>, Motherboard Manufacturer <LENOVO>, Motherboard Model <688642P>, Motherboard S/N <K1BR46F05KP>

INVENTORY => 1 processor(s) Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz [2 core(s) x86_64] at 2601 MHz

INVENTORY => OS Memory 7758 MB, OS Swap size 9102 MB

INVENTORY => 2 memory slot(s) found

INVENTORY => 6 input device(s) found

INVENTORY => 8 system port(s) found

INVENTORY => 2 system slot(s) found

INVENTORY => 6 system controller(s) found

INVENTORY => 2 storage peripheral(s) found

INVENTORY => 2 sound device(s) found

WARNING *** INVENTORY => Failed to retrieve modems

INVENTORY => 1 network adapter(s) found

INVENTORY => 6 system printer(s) found

INVENTORY => 1 video adapter(s) found

INVENTORY => 2 system monitor(s) found

INVENTORY => Default IPv4 address is <192.168.9.188>

INVENTORY => Registered company <>, registered owner <Ak>, Product ID <00331-20...>

INVENTORY => Product key <QJNXR-YD...>

INVENTORY => 283 software found

INVENTORY => Computer/VM UUID is <D691AB01-539E-11CB-8A44-B06E1BBD1846>

INVENTORY => Computer seems to be Microsoft virtual host

INVENTORY => System Memory set to 8192 (instead of 7758)

INVENTORY => Reading last inventory state

WARNING *** INVENTORY => Failed to load/parse inventory state from file <C:\ProgramData\OCS Inventory NG\Agent\last_state>

WARNING *** INVENTORY => Failed to load/parse plugin state from file <C:\ProgramData\OCS Inventory NG\Agent\last_state>

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

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

AGENT => Sending Inventory

INVENTORY => Checking last inventory state

INVENTORY => Hardware inventory state changed

INVENTORY => Bios inventory state changed

INVENTORY => Memory slots inventory state changed

INVENTORY => System slots inventory state changed

INVENTORY => System controllers inventory state changed

INVENTORY => Monitors inventory state changed

INVENTORY => System ports inventory state changed

INVENTORY => Storage peripherals inventory state changed

INVENTORY => Logical drives inventory state changed

INVENTORY => Input peripherals inventory state changed

INVENTORY => Network adapters inventory state changed

INVENTORY => Printers inventory state changed

INVENTORY => Sound adapters inventory state changed

INVENTORY => Video adapters inventory state changed

INVENTORY => Software inventory state changed

INVENTORY => CPU inventory state changed

INVENTORY => Inventory changed since last run

INVENTORY => Generating XML document with Device properties

INVENTORY => XML Update BIOS

INVENTORY => XML Update 1 CPU(s)

INVENTORY => XML Update 2 Memory Slot(s)

INVENTORY => XML Update 6 Input Device(s)

INVENTORY => XML Update 8 System Port(s)

INVENTORY => XML Update 6 System Controller(s)

INVENTORY => XML Update 2 System Slot(s)

INVENTORY => XML Update 2 Sound Device(s)

INVENTORY => XML Update 2 Storage Peripheral(s)

INVENTORY => XML Update 3 Logical Drive(s)

INVENTORY => XML Update 0 Modem(s)

INVENTORY => XML Update 1 Network Adapter(s)

INVENTORY => XML Update 1 Video Adapter(s)

INVENTORY => XML Update 2 Monitor(s)

INVENTORY => XML Update 6 Printer(s)

INVENTORY => XML Update 284 Software

INVENTORY => XML Update 0 Registry Value(s)

INVENTORY => XML Update Administrative Information(s)

INVENTORY => XML Update common 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 <cacert.pem>

COM SERVER => Sending HTTP Post request to URL <https://spoivt01.gpssa.com.br/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 ask for Package Download

DOWNLOAD => Package history file cleaning not required

DOWNLOAD => Download and setup tool successfully started

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

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

We have already made the following changes.

we change the MySQL user, and restart the server.
change the MySQL password, and restart the server.
we change the Apache user, and restart the server
we change the Apache password, and we reject the server.

After making all possible changes we return the default settings and also generate the same errors:
asked in OCS Inventory NG agent for Windows by (170 points)

2 Answers

+1 vote
Hi,

Could you please post ocsinventory.ini file content?

As I can see in your ocsinventory.log file the url is set to https://spoivt01.gpssa.com.br/ocsinventory. Is ssl set to 1 in ocsinventory.ini file? Is ssl correctly setup on the ocs server? Has the certificate be copied on the client?

Regards

Frank
answered by (66.5k points)
0 votes

hi Frank, yes all the settings are correct. The information you requested is in my 1 post

answered by (170 points)
 
Powered by Question2Answer
...