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.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Probleme [error] Deflating problem

Bonjour j'ai installer l'agent de ocsinventory mais lorsque je tente de l'utilisé il affiche

root@admincourdimanche-POWERMATE-VL280:~# ocsinventory-agent
[error] Deflating problem

J'ai alors essayer avec l'option debug

root@admincourdimanche-POWERMATE-VL280:~# ocsinventory-agent --debug
[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[debug] Log system initialised (Stderr)
[debug] --scan-homedirs missing. Don't scan user directories
[debug] Accountinfo file: /var/lib/ocsinventory-agent/http:__192.168.151.14_ocsreports_index.php_ocsinventory/ocsinv.adm
[debug] OCS Agent initialised
[debug] Turns hooks on for /usr/local/etc/ocsinventory/modules.conf
[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[debug] Log system initialised (Stderr)
[debug] Calling handlers : `start_handler'
[debug] [snmp] Calling snmp_start_handler
[debug]  - Net::SNMP loaded
[debug] Compress::Zlib is available.
[debug] Calling handlers : `prolog_writer'
[debug] sending XML
[debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
  <DEVICEID>admincourdimanche-POWERMATE-VL280-2016-01-28-10-37-45</DEVICEID>
  <QUERY>PROLOG</QUERY>
</REQUEST>
[error] Deflating problem
root@admincourdimanche-POWERMATE-VL280:~#

J'ai rechercher des réponse sur internet mais sans succès c'est pourquoi je demande l'aide.

Merci d'avance et bonne journée.
in OCS Inventory NG agent for Unix by (140 points)

3 Answers

0 votes
Bonjour,

Tout est configuré correctement? Poste le contenu du fichier /etc/ocsinventory-agent/ocsinventory-agent.cfg

Cordialement

Frank
by (88.5k points)
Bonjour voici le contenu de mon fichier

basevardir=/var/lib/ocsinventory-agent

server=http://IP/ocsreports

debug=1
0 votes
Bonjour,

J'obtiens la même erreur avec ocsinventory-agent 2.3 et ocsinventory-server 2.3 installés sur la même machine (Debian Jessie) lorsque je lance ocsinventory-agent avec une configuration identique à celle de Sélim.

Je ne comprends pas ce que signifie "Deflating problem" dans le cadre d'une communication entre l'agent et le serveur. Toute suggestion de piste de résolution serait la bien venue.

Merci d'avance !
by (140 points)
0 votes

In my case, I had ocs server and client installed on the same box, AND I configured an external http proxy server to access the internet.

Just anything used the proxy, including the ocs inventory agent, and that was the reason it couldn't access http://localhost/ocsinventory/

TLDR; just

# unset http_proxy

# unset https_proxy

# /usr/local/bin/ocsinventory-agent --debug

Mauro

by (140 points)
 
Powered by Question2Answer
...