Bonjour,
Je suis en train de configurer mon premier agent Windows OCS. Le serveur tourne sous Debian, l'installation s'est déroulée sans heurt. Par contre, lors des tentatives de connexion de l'agent, j'ai invariablement un problème :
Starting OCS Inventory NG Agent on Monday, June 29, 2015 14:18:49.
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)
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) succesfully 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.1.1.1>
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://192.168.1.122:6389/ocsinventory/deploy/label>
WARNING *** COM SERVER => Failed to send HTTP Get request <Failure when receiving data from the peer>
COM SERVER => Cleaning cURL library
AGENT => Failed to retrieve Label <Failure when receiving data from the peer>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <PC-455-2015-06-29-10-13-05> and MACs <38:63:BB:CA:31:CBC4:8E:8F:C3:86:F4C4:8E:8F:C3:86:F3C4:8E:8F:C3:86:F3> 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 => Disabling cURL SSL server validation support
COM SERVER => Sending HTTP Post request to URL <http://192.168.1.122:6389/ocsinventory>
WARNING *** COM SERVER => Failed to send HTTP Post request <Failure when receiving data from the peer>
COM SERVER => Cleaning cURL library
================= TRACE START ===============
================= TRACE STOP ===============
ERROR *** AGENT => Failed to send Prolog <Failure when receiving data from the peer>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:01.
Le port 6389 est bien évidemment à l'écoute sur le serveur. Si je colle le port 80, j'ai une erreur 404. Ce qui m'intrigue particulièrement, c'est que je n'ai aucune erreur dans le erreur.log d'Apache.
Merci d'avance pour votre aide.