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.

Problème de remontée d'inventaire

Bonjour,

J'ai migré mon serveur de debian 6 en 7.

Tout fonctionne correctement sauf pour les nouveaux PC installée, la remontée d'inventaire ne se fait pas.

J'ai l'erreur suivante dans le fichier de log de l'agent :

Starting OCS Inventory NG Agent on Monday, September 12, 2016 10:47:07.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.3
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.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) 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.1.1.3>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <REPRO-2016-09-07-16-43-07> and MACs <1C:6F:65:0B:2E:F2> 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 <cacert.pem>
    COM SERVER => Sending HTTP Post request to URL <http://ocsinventory-ng.intra.insa-cvl.fr/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.

Je ne comprends pas le problème les anciennes machines déjà présente remonte bien.

Une idée ?
in OCS Inventory NG server for Unix by (300 points)

1 Answer

0 votes
Bonjour,

Quelles erreurs as-tu dans le fichier error_log d'apache?

Cordialement

Frank
by (90.2k points)
Aucune erreur hormis celle-ci récurrente : :

[Mon Sep 12 11:44:33.810349 2016] [perl:error] [pid 14899] [client 172.30.1.21:53004] Not a HASH reference at /usr/local/share/perl/5.20.2/Apache/Ocsinventory/Server/Capacities/Ipdiscover.pm line 62.\n
Celle-ci :

[Mon Sep 12 09:28:11.825296 2016] [ssl:info] [pid 13682] AH01887: Init: Initializing (virtual) servers for SSL
[Mon Sep 12 09:28:11.825618 2016] [ssl:warn] [pid 13682] AH01909: OcsInventory-Glpi.ensi-bourges.fr:443:0 server certificate does NOT include an ID which matches the server name
[Mon Sep 12 09:28:11.825750 2016] [ssl:info] [pid 13682] AH01876: mod_ssl/2.4.10 compiled against Server: Apache/2.4.10, Library: OpenSSL/1.0.1k
[Mon Sep 12 09:28:11.828727 2016] [mpm_prefork:notice] [pid 13682] AH00163: Apache/2.4.10 (Debian) PHP/5.6.20-0+deb8u1 OpenSSL/1.0.1t mod_perl/2.0.9dev Perl/v5.20.2 configured -- resuming normal operations
[Mon Sep 12 09:28:11.828739 2016] [mpm_prefork:info] [pid 13682] AH00164: Server built: Jan  3 2016 03:50:53
[Mon Sep 12 09:28:11.828748 2016] [core:notice] [pid 13682] AH00094: Command line: '/usr/sbin/apache2'
[Mon Sep 12 09:28:11.828760 2016] [mpm_prefork:debug] [pid 13682] prefork.c(995): AH00165: Accept mutex: fcntl (default: sysvsem)
 
Powered by Question2Answer
...