You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2014-05-26 18:22:23

mtinard
Member
Registered: 2014-05-26
Posts: 7

Problème remontée d'inventaire entre clients et serveurs

Bonjour,

J'ai installé sur un serveur Ubuntu 12.04.4 LT GLPI (version 0.80.7) ainsi que OCS Inventory (version 2.0.2)
L'OS est stable, GLPI fonctionne parfaitement.
J'ai pu inventorier 1 fois en local le serveur et pusher l'inventaire ensuite sur GLPI.

Par contre, l'inventaire d'un poste client ne fonctionne pas bien, j'ai dans les logs le message d'erreur suivant :
==============================================================================
Starting OCS Inventory NG Agent on Monday, May 26, 2014 13:43:07.
AGENT => Running OCS Inventory NG Agent Version 2.1.0.3
AGENT => Using OCS Inventory NG FrameWork Version 2.1.0.3
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.0.3>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <STH-WKS-R18-2014-05-19-14-52-01> and MACs <A4:1F:72:4E:68:B7> 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://172.24.1.33/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.

L'inventaire en local du serveur ne fonctionne plus non plus.
Ca c'est de ma faute puisque j'ai modifié le fichier hosts et hostname suite à des recommandations pour régler le problème d'inventaire du poste client. Le problème s'est aggravé.

J'ai donc ce message d'erreur lorsque je lance la commande "ocsinventory-agent" :
Cannot establish communication : 500 Internal Server Error

Pourriez-vous dans un premier temps, m'indiquer de quelle façon doivent être paramétré les fichiers hosts et hostname svp?
Voici ce que j'ai actuellement (ne criez pas ..!)
Hosts
127.0.0.1       localhost
127.0.1.1       localhost.localdomain

Hostname
STHRUN-APP03.sthubert.intra

Lorsque je redémarre le service apache2, j'ai le message d'erreur suivant :
root@localhost:~# service apache2 restart
* Restarting web server apache2                                                apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

Par avance, merci de votre aide

Offline

#2 2014-05-26 18:54:04

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Problème remontée d'inventaire entre clients et serveurs

C'est un problème purement OCS, donc je pense que le mieux est de poser la question directement sur leur forum

Offline

Board footer

Powered by FluxBB