Bonjour,
J'ai effectué l'installation d'OSCNG Serveur en version 2.3.1 (la derniére version) sur un serveur linux centos. Je n'ai pas eu de soucis particulier et j'accéder bien a l'interface (http://172.20.X.X/ocsreports).
J'ai ensuite installé l'agent en version 2.3.0.0 sur un poste en Windows 10 mais j'ai une erreur lors de la remonté d'information vers le serveur:
==============================================================================
Starting OCS Inventory NG Agent on Wednesday, May 10, 2017 09:04:19.
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://172.20.X.X/ocsinventory/deploy/label>
COM SERVER => fileGet response received <HTTP Status Code #404>
COM SERVER => Cleaning cURL library
AGENT => Failed to retrieve Label <HTTP Status Code #404>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <DESKTOP-1IMCBU2-2017-05-05-15-26-55> and MACs <96:39:E5:2E:A6:44D0:67:E5:34:08:9A94:39:E5:2E:A6:44> 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://172.20.X.X/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #404>
COM SERVER => Cleaning cURL library
================= TRACE START ===============
================= TRACE STOP ===============
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
Mon premier reflexe a été de verifier si j'avais accés à l'URL suivante: http://172.20.X.X/ocsinventory/ mais j'ai une erreur 404 Not Found.
Je me doute que la soucis viens de la mais j'ai beau parcourir plusieurs forums anglais et français afin de trouver une solutions mais rien n'y fait.
Je post donc ce sujet afin de trouver une solution.
Je vous mets également le contenu du ocsinventory.ini:
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=2
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://172.20.X.X/ocsinventory
SSL=0
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=32100
INVENTORY_ON_STARTUP=0
PROLOG_FREQ=10
OLD_PROLOG_FREQ=10
Merci d'avance.