Bonjour,
Je rencontre un souci sur mon agent 2.3.1.1 Windows 2012. le serveur OCS 2.4.1 est sur un Linux RHEL 7 et tout fonctionne très bien pour les agents OCS Linux en 2.4.1 aussi
1/ Dans le syslog windows :
OCS Inventory Service
Service encounter error <Failed to load/parse last inventory state>.
2/ log agent OCS C:\ProgramData\OCS Inventory NG\Agent\OCSInventory.log
==============================================================================
Starting OCS Inventory NG Agent on Friday, July 27, 2018 13:19:31.
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 <E:\bustools\roc1\eur0\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 <E:\bustools\roc1\eur0\agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.1.1>
AGENT => Sending Prolog
WARNING *** DID_CHECK => Failed to read file <ocsinventory.dat>
DID_CHECK => Hostname changed new:<TOTO> old:<>
DID_CHECK => Generating new unique ID for device <TOTO>
DID_CHECK => writing DeviceID <TOTO-2018-07-27-13-19-31> and MACs <00:50:56:BF:1B:DA00:00:00:00:00:0000:00:00:00:00:00> 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 => Enabling cURL SSL server validation support using CA Bundle <E:\bustools\roc1\eur0\agent\Ma_SubCA6.pem>
COM SERVER => Sending HTTP Post request to URL <https://XXXXXXXXXXXXXXXXX/ocsreports>
COM SERVER => HTTP Post response received <HTTP Status Code #200>
COM SERVER => Cleaning cURL library
================= TRACE START ===============
================= TRACE STOP ===============
AGENT => Prolog successfully sent
AGENT => Prolog Frequency set to 10 hour(s)
AGENT => Inventory on startup option set to
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
3/ Fichier ini C:\ProgramData\OCS Inventory NG\Agent\ocsinventory.ini :
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=3
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=https://TITI/ocsreports
SSL=1
CaBundle=E:\bustools\roc1\eur0\agent\MA_SubCA6.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
PROLOG_FREQ=10
OLD_PROLOG_FREQ=10
TTO_WAIT=34260