Hy, i just installed Ocs Inventory agent 2.4.0 on windows 7 - 64 Bit.
I stopped the ocs inventory service - after changing the server to an ip adress Server=http://10.0.2.15/ocsinventory
and INVENTORY_ON_STARTUP=1 i am starting the agent service again - the ocsinventory.ini was nearly empty
[OCS Inventory Service]
TTO_WAIT=120
INVENTORY_ON_STARTUP=0
-------------
ocsinventory.log
Starting OCS Inventory NG Agent on Thursday, November 29, 2018 20:20:34.
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
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.
the ocsinventory.ini before
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=1
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://10.0.2.15/ocsinventory
SSL=1
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=4
INVENTORY_ON_STARTUP=1
It looks like a bug ? server isn't reachable - delete everything