OCSNG - Erreur au lancement de l'agent-Linux

Fermé
Ibnu_Abi - 30 nov. 2007 à 09:33
 Ibnu_Abi - 4 déc. 2007 à 09:46
Bonjour,


Je dois installer la solution de Gestion de Parc OCS Inventory - GLPI dans l'entreprise où je suis actuellement en stage.
Cela dit, je rencontre quelques soucis lors du lancement locale de l'agent.

Voici l'erreur qui m'est indiqué :
+----------------------------------------------------------+
| Lauching OCS Inventory NG Agent...                       |
+----------------------------------------------------------+

*** ERROR: Unable to launch OCS Inventory NG Agent !
Look at file /root/Desktop/OCSNG_LINUX_AGENT_1.01/ocs_agent_setup.log for detailled error and fix it manually
before running another time OCS Inventory NG Agent setup.
Installation aborted !


Et voici le contenu du fichier ocs_agent_setup.log

Starting OCS Inventory NG Agent setup on 2007-11-27-11-15-10
Writing log to file /root/Desktop/OCSNG_LINUX_AGENT_1.01/ocs_agent_setup.log

Checking for previous installation
Previous installation of OCS Inventory NG agent was found.
Found OCS Inventory NG Communication Server host <local>
Found OCS Inventory NG Communication Server port <80>
Found OCS Inventory Agent Device ID <linux-2007-11-27-10-40-35>
Found OCS Inventory NG Agent DMI version <2.8>
Found OCS Inventory NG Agent IPDISCOVER version <3>
Checking for supplied parameters
No parameter found
OCS Inventory NG Agent setup running in user interactive mode
User asked to re-install/upgrade OCS Inventory NG Agent
Checking for OCS Inventory NG Agent running method
OCS Inventory NG agent will be running in <local> mode
Checking for TAG administrative information value
<TAG> already exist, skipping
Checking for PERL Interpreter
PERL Intrepreter found at </usr/bin/perl>
Checking for C/C++ Compiler
C/C++ Compiler found at </usr/bin/cc>
Checking for Make utility
Make utility found at </usr/bin/make>
Checking for dmidecode binaries
Found dmidecode binaries version <2.8> at </usr/sbin/dmidecode>
Checking for Compress::Zlib PERL module
PERL module Compress::Zlib is available
Checking for XML::Simple PERL module
PERL module XML::Simple is available
Checking for Net::IP PERL module
PERL module Net::IP is available
Checking for LWP::UserAgent PERL module
PERL module LWP::UserAgent is available
Checking for Digest::MD5 PERL module
PERL module Digest::MD5 is available
Checking for Net::SSLeay PERL module
PERL module Net::SSLeay is available
Building IPDISCOVER version 3
Installing IPDISCOVER version 3 into /usr/sbin
IPDISCOVER version 3 setup successfully
Configuring OCS Inventory NG Agent
WARNING: INSTALLSITESCRIPT is not a known parameter.
'INSTALLSITESCRIPT' is not a known MakeMaker parameter name.
Writing Makefile for Ocsinventory::Agent
Building OCS Inventory NG Agent
cp ocsinventory-client.pl blib/script/ocsinventory-client.pl
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/ocsinventory-client.pl
Installing OCS Inventory NG Agent
Writing /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/auto/Ocsinventory/Agent/.packlist
Appending installation info to /usr/lib/perl5/5.8.8/i586-linux-thread-multi/perllocal.pod
Creating </bin/ocsinv> OCS Inventory NG Agent symbolic link
OCS Inventory NG Agent setup successfully
Creating OCS Inventory NG Agent log directory </var/log/ocsinventory-client>
Configuring logrotate (ed logrotate.ocsinventory-client)
******** Begin updated logrotate.ocsinventory-client ***********
#
# File generated by OCS Inventory NG Agent setup
#
################################################################################
#
# OCS Inventory NG Agent
#
# Copyleft 2006 Didier LIROULET
# Web: http://ocsinventory.sourceforge.net
#
# This code is open source and may be copied and modified as long as the source
# code is always made freely available.
# Please refer to the General Public Licence http://www.gnu.org/ or Licence.txt
################################################################################
#
# Rotate OCS Inventory NG agent logs daily, only if not empty
# Save 7 days old logs under compressed mode
/var/log/ocsinventory-client/*.log {
    daily
    rotate 7
    compress
    notifempty
    missingok
}
******** End updated logrotate.ocsinventory-client ***********
Writing OCS Inventory NG Agent logrotate to file </etc/logrotate.d/ocsinventory-client>
Creating OCS Inventory NG Agent <ocsinv.conf> configuration file
******** Begin updated ocsinv.conf ***********
<CONF>
  <DEVICEID>linux-2007-11-27-10-40-35</DEVICEID>
  <DMIVERSION>2.8</DMIVERSION>
  <IPDISCOVER_VERSION>3</IPDISCOVER_VERSION>
  <OCSFSERVER>local</OCSFSERVER>
</CONF>
******** End updated ocsinv.conf ***********
Creating OCS Inventory NG Agent </etc/ocsinventory-client> configuration directory
Writing OCS Inventory NG Agent </etc/ocsinventory-client/ocsinv.conf> configuration file
Creating OCS Inventory NG Agent <ocsinv.adm> configuration file
File </etc/ocsinventory-client/ocsinv.adm> already exist. Skipping <ocsinv.adm> file creation
OCS Inventory NG Agent configuration files setup successfully
OCS Inventory NG Agent cron configuration file already exist, skipping
Lauching OCS Inventory NG Agent

####################
#OCSINVENTORY NG
#Linux agent report
####################



=> retrieving dmidecode...
=> dmidecode is at /usr/sbin/dmidecode


=> retrieving ifconfig...
=> ifconfig is at /sbin/ifconfig


=> retrieving route...
=> route is at /sbin/route


=> retrieving df...
=> df is at /bin/df


=> retrieving lspci...
=> lspci is at /sbin/lspci


=> retrieving who...
=> who is at /usr/bin/who


=> retrieving uname...
=> uname is at /bin/uname


=> retrieving fdisk...
=> fdisk is at /sbin/fdisk

<b>Tue Nov 27 11:15:50 2007 => Cannot establish communication : 500 Can't connect to local:80 (Bad hostname 'local')</b>


[ SENDING ]####################################
#  <?xml version="1.0" encoding="ISO-8859-1"?>
#  <REQUEST>
#    <QUERY>PROLOG</QUERY>
#    <DEVICEID>linux-2007-11-27-10-40-35</DEVICEID>
#  </REQUEST>

################################################



Est-ce que l'un ou l'une d'entre-vous pourrait m'éclairer pour ce probléme ?


Par avance, merci.

Cordialement,
Ibnu_Abi
A voir également:

5 réponses

Bonjour,




Pas d'idée ? :)




Cordialement,
Ibnu_Abi
0
Bonsoir,



Personne n'a rencontré ce probléme ?




Cordialement,
Ibnu_Abi
0
Bonjour,




Je remonte la discussion, en espérant trouver de l'aide.




Cordialement,
Ibnu_Abi
0
Bonjour,



Je pense que le soucis doit provenir de mon serveur plus qu'autre chose. Cela dit, je ne sais pas vraiment quoi configurer hmm



Cordialement,
Ibnu_Abi
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
Bonjour,


Je remonte la discussion, en espérant obtenir une réponse.



Cordialement,
Ibnu_Abii
0