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.

2.3.0 agent is not working with 2.2.1 server for me.

Hi,

I have deployed a docker container OCS Inventory server version 2.2.1 (the one which is currently available in Github). I tried to add some Windows 2.3.0 agents but always get this issue:

Starting OCS Inventory NG Agent on Monday, May 29, 2017 00:51:48.
AGENT => Running OCS Inventory NG Agent Version 2.3.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.3.0.0
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.0.0>
 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 => Disabling cURL SSL server validation support
 COM SERVER => Sending fileGet request to URL <http://127.0.0.1:8080/ocsinventory/deploy/label>
 WARNING *** COM SERVER => Failed to send HTTP Get request <Couldn't connect to server>
 COM SERVER => Cleaning cURL library
 AGENT => Failed to retrieve Label <Couldn't connect to server>
AGENT => Sending Prolog
 DID_CHECK => Read DeviceID <ES00058849-2017-05-26-12-32-26> and MACs <FC:15:B4:E8:8E:AC3C:A9:F4:93:4B:2848:5A:B6:EF:73:6702:80:37:EC:02:0008:00:27:00:A8:7800:50:56:C0:00:0100:50:56:C0:00:0802:50:F2:00:00:0100:FF:B0:3B:82:0D> in file <ocsinventory.dat>
 DID_CHECK => writing DeviceID <ES00058849-2017-05-26-12-32-26> and MACs <FC:15:B4:E8:8E:AC3C:A9:F4:93:4B:2848:5A:B6:EF:73:6702:80:37:EC:02:0008:00:27:00:A8:7800:50:56:C0:00:0100:50:56:C0:00:0802:50:F2:00:00:0102:05:85:7F:EB:8000:FF:10:D0:95:0C> in file <C:\ProgramData\OCS Inventory NG\Agent\ocsinventory.dat>
 COM SERVER => Initializing cURL library for sendRequest
 COM SERVER => Using cURL without server authentication
 COM SERVER => Disabling cURL proxy support
 COM SERVER => Disabling cURL SSL server validation support
 COM SERVER => Sending HTTP Post request to URL <http://127.0.0.1:8080/ocsinventory>
 WARNING *** COM SERVER => Failed to send HTTP Post request <Couldn't connect to server>
 COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <Couldn't connect to server>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:02.

 

Not sure if the problem is with 2.2.1 server or not. I tried with 2.1.1 windows agent and seems to work fine. The problem is that I need to add Windows 2012 / Windows 7 servers and 2.1.1 is for XP and 2003R2. The agent still works but not sure if full functionality will be avaiable.... my guess is no. Questions:

1) What are the functionalities I can loose using 2.1.1 agent on Windows 7 / 2012?

2) Is there any way to make 2.3.0 agent work with 2.2.1 server?

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

1 Answer

0 votes
Hi!

The 2.3.0 agent don't works with 2.2.1 server version. The correct version is 2.1.1.3 . This version works correct with this server version whithin Windows 7 and above.

Client agents shall be less or equal to server versions.

[]
by (200 points)
 
Powered by Question2Answer
...