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.

Remonter d'inventaire entre poste client et le serveur ne se font plus avec OCS.

Bonjour, 

Je suis charger de régler un problème de remonté d'inventaire OCS dans une structure possedant 150 postes clients. J'ai beau chercher je ne comprends pas le problème. j'ai constater du coté de ocsinvetory-log une erreur :

[Sat Mar  4 22:11:13 2017][error] Cannot establish communication : 500 Internal Server Error
[Sun Mar  5 22:01:01 2017][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1
[Sun Mar  5 22:01:01 2017][debug] Log system initialised (File)
[Sun Mar  5 22:01:01 2017][debug] --scan-homedirs missing. Don't scan user directories
[Sun Mar  5 22:01:01 2017][debug] Accountinfo file: /var/lib/ocsinventory-agent/https:__glpi_ocsinventory/ocsinv.adm
[Sun Mar  5 22:01:01 2017][debug] A TAG seems to already exist in the ocsinv.adm file. The -t parameter will be ignored. Don't forget that the TAG value will be ignored by the server unless it has OCS_OPT_AC                           CEPT_TAG_UPDATE_FROM_CLIENT=1.
[Sun Mar  5 22:01:01 2017][info] [Lazy] Must wait until Sun Mar  5 22:01:02 2017 exiting...

et du coté de l'agent sur les postes clients :

==============================================================================
Starting OCS Inventory NG Agent on Monday, March 06, 2017 10:02:26.
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 => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
    COM SERVER => Sending fileGet request to URL <http://192.168.2.223/ocsinventory/deploy/label>
    COM SERVER => fileGet response received <HTTP Status Code #400>
    COM SERVER => Cleaning cURL library
    AGENT => Failed to retrieve Label <HTTP Status Code #400>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <SBUHAGIAR-2017-03-06-10-02-26> and MACs <D4:BE:D9:68:ED:1868:94:23:4A:F0:2A20:68:9D:5C:41:C8> 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://192.168.2.223/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:01.

Auriez vous une idée comment résoudre ce problème, car j 'ai un besoin urgent d'effectuer une remonter de mon parc informatique.

Cordialement.

Steph31fr

in OCS Inventory NG server for Unix by (120 points)

1 Answer

0 votes
by (3.7k points)
 
Powered by Question2Answer
...