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

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

Random:ERROR *** AGENT => Failed to send Prolog

UPDATE TO THE ANSWER FROM GARNET17:

Yes, the problem is the Agent almost always works fine and sends the data to the server, but sometimes it shows both errors in some windows clients. In ocsinventory.ini there is the correct server entry and the certificate is already and working fine. Any idea? DNS servers maybe? Wins servers?Yes, the problem is the Agent almost always works fine and sends the data to the server, but sometimes it shows both errors in some windows clients. In ocsinventory.ini there is the correct server entry and the certificate is already and working fine. Any idea? DNS servers maybe? Wins servers?

Hi,

Sometimes in random order some agents shows that Error and also

ERROR *** AGENT => Failed to send Prolog <Problem with the SSL CA cert (path? access rights?)>

  in the ocsinventory.log. Here is the complete log of a Windows client version 2.1.1.1. Server is 2.1.2. Please help! Thank you in advance

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

Starting OCS Inventory NG Agent on Thursday, March 12, 2020 15:57:20.

AGENT => Running OCS Inventory NG Agent Version 2.1.1.1

AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1

AGENT => Loading plug-in(s)

AGENT => Using network connection with Communication Server

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

AGENT => Sending Prolog

ERROR *** AGENT => Failed to send Prolog <Problem with the SSL CA cert (path? access rights?)>

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

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



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

Starting OCS Inventory NG Agent on Thursday, March 12, 2020 16:05:27.

AGENT => Running OCS Inventory NG Agent Version 2.1.1.1

AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1

AGENT => Loading plug-in(s)

AGENT => Using network connection with Communication Server

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

AGENT => Sending Prolog

ERROR *** AGENT => Failed to send Prolog <Couldn't resolve host name>

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

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



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

Starting OCS Inventory NG Agent on Thursday, March 12, 2020 16:05:44.

AGENT => Running OCS Inventory NG Agent Version 2.1.1.1

AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1

AGENT => Loading plug-in(s)

AGENT => Using network connection with Communication Server

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

AGENT => Sending Prolog

ERROR *** AGENT => Failed to send Prolog <Couldn't resolve host name>

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:00:04. 
in OCS Inventory NG agent for Windows by (230 points)
edited by

1 Answer

0 votes
ERROR *** AGENT => Failed to send Prolog <Couldn't resolve host name>
Check the "c:\ProgramData\OCS Inventory NG\Agent\ocsinventory.ini"
for the value of Server= and make sure it is valid.
For example:
Server=https://MYOCSSERVER.MyDomain.com/ocsinventory

If the Server= value is set can you ping the hostname?

And for the error:
ERROR *** AGENT => Failed to send Prolog <Problem with the SSL CA cert (path? access 
be sure to set the CaBundle= to a valid filename. For example:

CaBundle=cacert.pem

--
by (870 points)
 
Powered by Question2Answer
...