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

#26 2014-06-18 14:36:12

beinva
Member
Registered: 2014-06-16
Posts: 14

Re: problème : error http client : communication error : 404 not found

Pas de soucis merci d'avoir pris le temps d’essayer de résoudre mon problème c'est déjà pas mal ! smile
Bonne journée !

Offline

#27 2014-06-19 08:13:38

beinva
Member
Registered: 2014-06-16
Posts: 14

Re: problème : error http client : communication error : 404 not found

bonjour, je reviens vers vous car y a du nouveau.
Après avoir voulus le lancer en mode deamon ( /etc/init.d/fusioninventory-agent start) j'ai obtenue l’erreur
"mode disable in /etc/default/fusioninventory". Je suis donc aller faire un petit tour dans le dossier pour visualisé le problème, et je voit que je n'est aucun dossier ou fichier qui ce nome fusioninventory.... hmm
Donc après une petite recherche sur internet j'ai trouver le contenue du fichier et les informations manquante : http://forge.fusioninventory.org/projec … n_Ubuntu/3
Je créer alors le fichier je colle les informations, et configure ( du moins j’essaie.. )

Fichier /etc/default/fusioninventory :

# OCS Inventory server
# server=http://yourserver/ocsinventory
# FusionInventory for GLPI
#server=http://ipduserveur/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.php
# FusionInventory for GLPI with AD auth
#server=http://DOMAINEAD\utilisateur:motdepasse@ipduserveur/glpi/plugins/fusioninventory/front/plugin_fusioninvent$
# OCS Inventory server with SSL
# server=https://yourserver/ocsinventory
server=http://10.36.7.68/ocsinventory

# Store inventory in a local directory
local=/tmp

# Agent's logfile
logfile=/var/log/fusioninventory.log

# Max log file size. Useful if the system has no log
# rotation mechanism
logfile-maxsize=0

# Time in second before the first agent execution
delaytime=30

# Debug mode (0)
debug=0
# Save in HTML the inventory requested by --local (0)
html=0

# Network options
# proxy address. e.g: http://user:pass@proxy:port ()
proxy=
# user name to use for server auth
realm=
# user name to use for server auth
user=
# password for server auth
password=

# SSL certificat directory ()
ca-cert-dir=
# SSL certificat file ()
ca-cert-file=

#Disable options:
# Do not deploy packages or run command (0)
no-ocsdeploy=0
# Do not generate inventory (0)
no-inventory=0
# Do not return printer list in inventory 0)
no-printer=0
# Don't allow remote connexion (0)
no-socket=0
# Do not return installed software list (0)
no-software=0
# Do not check the SSL connexion with the server (0)
no-ssl-check=0
# Do not use wakeonlan function (0)
no-wakeonlan=0
# Do not use snmpquery function (0)
no-snmpquery=0
#Do not use netdiscovery function (0)
no-netdiscovery=0

#Extra options:
# Set a max delay time of one inventory data collect job (180)
backend-collect-timeout=180
# Indicate the directory where should the agent store its files
#basevardir=/var/lib/fusioninventory-agent
# Use color in the console (0)
color=0
# Detach the agent in background (0)
daemon=1
# Daemon but don't fork in background (0)
daemon-no-fork=0
# Set a max delay time (in second) if no PROLOG_FREQ is set (3600)
delaytime=3600
# Search for Backend mod in ./lib only (0)
devlib=0
# Do not load Perl lib from PERL5LIB and PERLIB environment variable (0)
disable-perllib-envvar=0
# Always send data to server (Don't ask before) (0)
force=0
# Verbose mode (1)
info=1
# Do not contact the server more than one time during the PROLOG_FREQ (0)
lazy=0
# Do not use snmpquery function (0)
no-snmpquery=0
#Do not use netdiscovery function (0)
no-netdiscovery=0

#Extra options:
# Set a max delay time of one inventory data collect job (180)
backend-collect-timeout=180
# Indicate the directory where should the agent store its files
#basevardir=/var/lib/fusioninventory-agent
# Use color in the console (0)
color=0
# Detach the agent in background (0)
daemon=1
# Daemon but don't fork in background (0)
daemon-no-fork=0
# Set a max delay time (in second) if no PROLOG_FREQ is set (3600)
delaytime=3600
# Search for Backend mod in ./lib only (0)
devlib=0
# Do not load Perl lib from PERL5LIB and PERLIB environment variable (0)
disable-perllib-envvar=0
# Always send data to server (Don't ask before) (0)
force=0
# Verbose mode (1)
info=1
# Do not contact the server more than one time during the PROLOG_FREQ (0)
lazy=0
# Logger you want to use, can be Stderr,File or Syslog (Stderr)
logger=Stderr
# Ip of the interface to use for peer to peer exchange, default ALL
rpc-ip=
# Port of the RPC, default 62354
rpc-port=
# Allow local users to http://127.0.0.1:62354/now to force an inventory
rpc-trust-localhost=0
# Permit to scan home user directories (0)
scan-homedirs=0
# Path to the directory where are stored the shared files (./share)
share-dir=/usr/share/perl5/auto/share/dist/FusionInventory-Agent
# Path to the directory where are stored the shared files (./share)
share-dir=/usr/share/perl5/auto/share/dist/FusionInventory-Agent
# Do not write or post the inventory but print it on STDOUT
stdout=0
# Use TAG as tag () Will be ignored by server if a value already exists
tag=
# Wait during a random periode between 0 and DURATION seconds before contacting server ()
wait=

Par contre maintenant quand je souhaite effectuer "/etc/init.d/fusioninventory start j'obtiens  :

/etc/init.d/fusioninventory-agent: 19: /etc/default/fusioninventory-agent: logfile-maxsize=0: not found
/etc/init.d/fusioninventory-agent: 40: /etc/default/fusioninventory-agent: ca-cert-dir=: not found
/etc/init.d/fusioninventory-agent: 42: /etc/default/fusioninventory-agent: ca-cert-file=: not found
/etc/init.d/fusioninventory-agent: 46: /etc/default/fusioninventory-agent: no-ocsdeploy=0: not found
/etc/init.d/fusioninventory-agent: 48: /etc/default/fusioninventory-agent: no-inventory=0: not found
/etc/init.d/fusioninventory-agent: 50: /etc/default/fusioninventory-agent: no-printer=0: not found
/etc/init.d/fusioninventory-agent: 52: /etc/default/fusioninventory-agent: no-socket=0: not found
/etc/init.d/fusioninventory-agent: 54: /etc/default/fusioninventory-agent: no-software=0: not found
/etc/init.d/fusioninventory-agent: 56: /etc/default/fusioninventory-agent: no-ssl-check=0: not found
/etc/init.d/fusioninventory-agent: 58: /etc/default/fusioninventory-agent: no-wakeonlan=0: not found
/etc/init.d/fusioninventory-agent: 60: /etc/default/fusioninventory-agent: no-snmpquery=0: not found
/etc/init.d/fusioninventory-agent: 62: /etc/default/fusioninventory-agent: no-netdiscovery=0: not found
/etc/init.d/fusioninventory-agent: 66: /etc/default/fusioninventory-agent: backend-collect-timeout=180: not found
/etc/init.d/fusioninventory-agent: 74: /etc/default/fusioninventory-agent: daemon-no-fork=0: not found
/etc/init.d/fusioninventory-agent: 80: /etc/default/fusioninventory-agent: disable-perllib-envvar=0: not found
/etc/init.d/fusioninventory-agent: 90: /etc/default/fusioninventory-agent: rpc-ip=: not found
/etc/init.d/fusioninventory-agent: 92: /etc/default/fusioninventory-agent: rpc-port=: not found
/etc/init.d/fusioninventory-agent: 94: /etc/default/fusioninventory-agent: rpc-trust-localhost=0: not found
/etc/init.d/fusioninventory-agent: 96: /etc/default/fusioninventory-agent: scan-homedirs=0: not found
/etc/init.d/fusioninventory-agent: 98: /etc/default/fusioninventory-agent: share-dir=/usr/share/perl5/auto/share/dist/FusionInventory-Agent: not found
/etc/init.d/fusioninventory-agent: 100: /etc/default/fusioninventory-agent: share-dir=/usr/share/perl5/auto/share/dist/FusionInventory-Agent: not found

Alors que c'est valeur sont bien présente dans mon fichier ... sad

Last edited by beinva (2014-06-19 08:16:59)

Offline

#28 2015-06-08 12:37:56

pepeEL
Super Сasual Dating - Actual Girls
From: Usa
Registered: 2015-05-27
Posts: 6

Re: problème : error http client : communication error : 404 not found

I have a problem with agent. In past it works ok. Now didnt work. I have GLPI 0.84.8 with Fusioninventory 3.5. It was destroy becuase Agent 2.3.15 on debian linux (the same as GLPI) not scan network and inventory SNMP. When from SSH i restart agent i have:
root@OUM-GLPI:~# fusioninventory-agent restart
[info] sending prolog request to server server0
[info] running task ESX
[error] [http client] communication error: 404 Not Found
[info] running task Inventory
root@OUM-GLPI:~#
Please please help me.
I remove agent by apt-get remove fusioninventory-agent    and then install again by apt-get install fusioninventory-agent but nothing fix. Still not scan network and inventory snmp.

Offline

Board footer

Powered by FluxBB