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.

Server won't deploy to agent

Hi again,
I have a problem similar to this one: http://ask.ocsinventory-ng.org/3958/error-agent-failed-to-send-inventory-http-status-code-%23500

However even after updating the tables to a larger number it does not work. Will not send inventory, will not deploy products. This seemed to happen after securing with a cert. We have tried a self signed cert and a wildcard cert. Neither have worked.

Here's the latest OCSinventory.txt log:

Starting OCS Inventory NG Agent on Wednesday, March 07, 2018 16:27:42.
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 Prolog
    DID_CHECK => Read DeviceID <CLIENT32-2018-03-07-11-46-26> and MACs <1C:1B:0D:C0:9C:2020:41:53:59:4E:FF00:00:00:00:00:00> 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-2018-01-17.pem>
    COM SERVER => Sending HTTP Post request to URL <https://intranet.server.com:443/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #500>
    COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.

Here's the config file (.ini):

[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=1
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=https://intranet.server.com:443/ocsinventory
SSL=1
CaBundle=C:\ProgramData\OCS Inventory NG\Agent\cacert-2018-01-17.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=9180
INVENTORY_ON_STARTUP=1
PROLOG_FREQ=24
OLD_PROLOG_FREQ=24

Help.

Thanks.

Charles Gibbs

in OCS Inventory NG agent for Windows by (260 points)

1 Answer

0 votes
Hi

post apache error log file content. By default the certificate must be stored in c:\programdata\ocs inventory ng\agent directory. So you don't have to modify CaBundle entry in ocsinventory.ini file.

Regards

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