Bonjour,
Je viens de procéder a l'installation des serveurs OCSinventory sur un centos 7. Je l'ai installé sur un serveur physique dedier.
J'ai installé l'agent windows sur un autre pc tournant sous windows 10 Ent 64Bit.
Lorsque j'exécute l'agent j'ai une notification d'agent executé avec succès mais rien ne remonte coté serveur (OCS).
Voici le contenu de mon fichier ocsinventory.ini :
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=1
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://XX.XX.X.XXX/ocsinventory
SSL=1
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=0
INVENTORY_ON_STARTUP=0
PROLOG_FREQ=10
OLD_PROLOG_FREQ=10
Et voici le contenu de mon fichier OCSinventory.log :
==============================================================================
Starting OCS Inventory NG Agent on Friday, October 04, 2019 20:52:40.
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)
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.4.0.0>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <XXX-SGE-XXX-04-2019-10-02-13-28-58> and MACs <XX:1C:BF:F8:96:B510:E7:C6:EX:A7:XX> 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.pem>
COM SERVER => Sending HTTP Post request to URL <http://XX.XX.X.XXX/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.
merci d'avance pour votre aide
Doudou