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.

OCS 2.3 - problème remontée des inventaires [closed]

Bonjour,

Nous avons mis à jour notre serveur OCS/GLPI à la version 2.3 RC (sur Ubuntu 16.04), ainsi que les agents Windows.

Certains agents remontent leur inventaire sans difficulté mais pour d'autres, le contact s'effectue bien mais aucune remontée d'inventaire.

Log agent sur poste :

Starting OCS Inventory NG Agent on Tuesday, January 10, 2017 09:46:06.
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)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.0.0>
AGENT => Sending Prolog
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
AGENT => Inventory required
AGENT => Launching hardware and software checks
AGENT => Communication Server ask for IpDiscover
AGENT => Sending Inventory
INVENTORY => Inventory changed since last run
ERROR *** AGENT => Failed to send Inventory <HTTP Status Code #500>
AGENT =>  Communication Server ask for Package Download
DOWNLOAD => Download and setup tool successfully started
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:39.

Sur le serveur OCS, pour ce poste j'ai bien "Dernier contact" à la bonne date/heure de la remontée mais aucune remontée d'inventaire.

La connexion à la base SQL du fichier z-ocsinventory-server.conf est correcte puisque d'autres machines remontent sans problème.

Error.log (apache)

[Tue Jan 10 07:35:05.349370 2017] [ssl:warn] [pid 534] AH01909: 127.0.0.1:443:0 server certificate does NOT include an ID which matches the server name

[Tue Jan 10 07:35:05.349746 2017] [mpm_prefork:notice] [pid 534] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_perl/2.0.9 Perl/v5.22.1 configured -- resuming normal operations

[Tue Jan 10 07:35:05.349761 2017] [core:notice] [pid 534] AH00094: Command line: '/usr/sbin/apache2'

[Tue Jan 10 09:39:51.307019 2017] [mpm_prefork:notice] [pid 534] AH00169: caught SIGTERM, shutting down
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable

[Tue Jan 10 09:40:10.844193 2017] [ssl:warn] [pid 1345] AH01909: 127.0.0.1:443:0 server certificate does NOT include an ID which matches the server name
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable

[Tue Jan 10 09:40:11.836366 2017] [ssl:warn] [pid 1346] AH01909: 127.0.0.1:443:0 server certificate does NOT include an ID which matches the server name

[Tue Jan 10 09:40:11.840500 2017] [mpm_prefork:notice] [pid 1346] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_perl/2.0.9 Perl/v5.22.1 configured -- resuming normal operations

[Tue Jan 10 09:40:11.840532 2017] [core:notice] [pid 1346] AH00094: Command line: '/usr/sbin/apache2'

Access.log (apache)

IP Poste concerné - - [10/Jan/2017:09:52:23 +0100] "POST /ocsinventory/ HTTP/1.1" 200 2066 "-" "OCS-NG_WINDOWS_AGENT_v2.3.0.0"

Autre poste - - [10/Jan/2017:09:52:37 +0100] "POST /ocsinventory HTTP/1.1" 200 411 "-" "OCS-NG_WINDOWS_AGENT_v2.1.1.1"

Autre poste - - [10/Jan/2017:09:52:50 +0100] "POST /ocsinventory HTTP/1.1" 200 289 "-" "OCS-NG_WINDOWS_AGENT_v2.1.1.1"

Autre poste - - [10/Jan/2017:09:52:53 +0100] "POST /ocsinventory HTTP/1.1" 200 1670 "-" "OCS-NG_WINDOWS_AGENT_v2.1.1.3"

Autre poste - - [10/Jan/2017:09:53:02 +0100] "POST /ocsinventory/ HTTP/1.1" 200 2473 "-" "OCS-NG_WINDOWS_AGENT_v2.3.0.0"

C'est vraiment étrange. Avez-vous une solution svp ? Ou est-ce un bug ?

Par la même occasion, j'en profite pour vous dire que lors du déploiement d'applications, les messages d'avertissement pour les utilisateurs, les apostrophes ( ' ) ou quote, termine le message et n'affiche donc pas la suite du texte (version 2.3 de l'agent Windows).

Merci d'avance.

Bonne journée.

closed with the note: Problem solved
in OCS Inventory NG agent for Windows by (190 points)
closed by

1 Answer

0 votes
 
Best answer
Bonjour,

Problème résolu en installant les derniers updates d'OCS (serveur et agent) soit le 2.3.0.0 à la place de la 2.3.0.0RC.
by (190 points)
 
Powered by Question2Answer
...