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 remonter de l'agent ocs [closed]

Bonjour,
Après l'installation de mon server ocs inventory sur une debian 10 via apache 2 avec le server 2.6 , base données mariaDB, je n'arrive pas à faire remonter les informations au server :

log de l'agent :

Starting OCS Inventory NG Agent on Tuesday, January 21, 2020 09:29:31.

AGENT => Running OCS Inventory NG Agent Version 2.6.0.0

AGENT => Using OCS Inventory NG FrameWork Version 2.6.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.6.0.0>

AGENT => Sending Prolog

ERROR *** AGENT => Failed to send Prolog <Couldn't resolve host name>

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:00:05.

ocs.ini :

[OCS Inventory Agent]

ComProvider=ComHTTP.dll

Debug=0

Local=

NoSoftware=0

HKCU=0

NoTAG=0

IpDisc=

[HTTP]

Server=http://http://192.168.191.132/ocsinventory

SSL=1

CaBundle=cacert.pem

AuthRequired=1

User=bZXordmjgtL8a5bayZ7T3Q==|||pGxy83rkLoj4d0Rb2moboQ==

Pwd=4O3BdE/Fx+ByxrXZeqTZow==|||zFQThBe4TrHZPAwPNUEXAw==

ProxyType=0

Proxy=

ProxyPort=0

ProxyAuthRequired=0

ProxyUser=

ProxyPwd=

[OCS Inventory Service]

PROLOG_FREQ=10

INVENTORY_ON_STARTUP=0

OLD_PROLOG_FREQ=10

TTO_WAIT=9000
closed with the note: Problème résolu
in OCS Inventory NG agent for Windows by (200 points)
closed by

2 Answers

0 votes

Bon, j'ai vu qu'il y avais deux fois http:// dans le ini du coup j'ai modifié, voici le nouveau log:

Starting OCS Inventory NG Agent on Tuesday, January 21, 2020 11:00:45.

AGENT => Running OCS Inventory NG Agent Version 2.6.0.0

AGENT => Using OCS Inventory NG FrameWork Version 2.6.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.6.0.0>

AGENT => Sending Prolog

ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #400>

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:00:00.

by (200 points)
reshown by
0 votes
Bon, j'ai trouvé pour ceux qui ont le même problème.

La version indiquer sur l'installateur est 2.6 MAIS "It's a trap ! " enfin de compte la version de mon serveur était en 2.5 et l'agent ne fonctionne que lorsqu'il a une version inférieur ou égale à la version du serveur.
Voilà.
by (200 points)
 
Powered by Question2Answer
...