You are not logged in.
Pages: 1
Bonjour,
Je rencontre actuellement un problème lors du lancement de l'agent tracker, j'ai le message d'erreur suivant :
X64P08DF002:/var/www/glpi/plugins/agent_tracker# perl tracker_agent.pl
Can't locate Net/SNMP.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at tracker_agent.pl line 6.
BEGIN failed--compilation aborted at tracker_agent.pl line 6 (#1)
(F) You said to do (or require, or use) a file that couldn't be
found. Perl looks for the file in all the locations mentioned in @INC,
unless the file name included the full path to the file. Perhaps you
need to set the PERL5LIB or PERL5OPT environment variable to say where
the extra library is, or maybe the script needs to add the library name
to @INC. Or maybe you just misspelled the name of the file. See
perlfunc/require and lib.
Uncaught exception from user code:
Can't locate Net/SNMP.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at tracker_agent.pl line 6.
BEGIN failed--compilation aborted at tracker_agent.pl line 6.
at tracker_agent.pl line 6
Mise en place de GLPI 0.72.1 + OCS 1.02.1 sur Debian.
J'ai parcouru le forum et n'ai trouver aucune erreure similaire. Dans l'attente d'une réponse je continuerai a chercher.
Merci d'avance.
SE : Debian
Serveur Apache 2;MySql 5;Php 5
GLPI : 0.72.1 OCS : 1.02.1
Offline
Il manque des modules perl, voir le wiki du plugin, c'est tout marqué
Offline
Ok, je vais regarder de ce coté la. Merci
SE : Debian
Serveur Apache 2;MySql 5;Php 5
GLPI : 0.72.1 OCS : 1.02.1
Offline
Voila, j'ai résolu ce problème. En revanche lors du lancement de l'agent tout a l'air de bien se passer : X64P08DF002:/var/www/glpi/plugins/agent_tracker# perl tracker_agent.pl
Threads version: 1.67
== Discovery devices ==
The file has been successfully uploaded
The file has been successfully uploaded
== Query devices ==
<html>
<head><title>An Error Occurred</title></head>
<body>
<h1>An Error Occurred</h1>
<p>400 URL missing</p>
</body>
</html>
400 URL missing
The file as been successfully uploaded
Cependant j'ai ce message d'erreure dans les log d'apache:
[Wed Sep 09 13:46:50 2009] [error] [client 192.168.1.133] File does not exist: /var/www/glpi/plugins/tracker/css
Je ne voie pas a quoi c'est dû. Pourriez-vous m'orienté. Merci d'avance
SE : Debian
Serveur Apache 2;MySql 5;Php 5
GLPI : 0.72.1 OCS : 1.02.1
Offline
c'est corrigé dans la prochaine version
Offline
Ok merci dans ce cas la je vais telecharger la derniere version. Merci beaucoup de ta présence
SE : Debian
Serveur Apache 2;MySql 5;Php 5
GLPI : 0.72.1 OCS : 1.02.1
Offline
Heu dans la derniere version de GLPI ou du plugin???
SE : Debian
Serveur Apache 2;MySql 5;Php 5
GLPI : 0.72.1 OCS : 1.02.1
Offline
du plugin mais c'est pas encore releasé
Offline
Ha d'accord j'attendrai dans ce cas la. Merci
SE : Debian
Serveur Apache 2;MySql 5;Php 5
GLPI : 0.72.1 OCS : 1.02.1
Offline
Mais juste par curiosité, le problème est dû a quoi???
SE : Debian
Serveur Apache 2;MySql 5;Php 5
GLPI : 0.72.1 OCS : 1.02.1
Offline
une erreur de code
Offline
Pourras-tu m'informer lorsqu'elle aura été corrigée. Merci d'avance.
SE : Debian
Serveur Apache 2;MySql 5;Php 5
GLPI : 0.72.1 OCS : 1.02.1
Offline
Elle est déjà corrigée depuis un moment, ça arrivera avec la release dans quelques heures
Offline
Oki merci, je testerai sa lundi.
SE : Debian
Serveur Apache 2;MySql 5;Php 5
GLPI : 0.72.1 OCS : 1.02.1
Offline
Bonjou, j'ai donc installer la nouvelle version de l'agent ainsi que du serveur. Lors de l'exécution du agent_tracker.pl tout se passe bien :
Threads version: 1.67
==Discovery devices ==
The file has been successfully uploaded
The file has been successfully uploaded
== Querry devices ==
The file has been successfully uploaded
Cependant je n'ai aucune remontée matériel dans GLPI, voici les log du dernier lancement :
=========================================
============== Start Agent ==============
=========================================
Operating system : linux
Operating system version : 2.6.26-1-686
Operating system arch : i486-linux-gnu-thread-multi
Perl version : 5.10.0
Thread version : 1.67
ForkManager version : 0.7.5
SNMP version :
Zlib version : 2.012
AppConfig version : 1.56
UserAgent version : 5.813
HTTP Request Common version : 5.811
XML Simple version : 2.18
Data Dumper version : 2.121_14
FindBin version : 1.49
$VAR1 = {
'agent' => {
'threads_query' => '10',
'PID' => '02561516001',
'fragment' => 50,
'core_query' => '1',
'logs' => '2',
'key' => 'FQpMJErFPzHYlHFaxlwUtHxbOaDfW1',
'id' => '1',
'threads_discovery' => '10',
'core_discovery' => '1'
},
'discovery' => {
'rangeip' => {
'entity' => '0',
'id' => '1',
'ipend' => '192.168.1.255',
'ipstart' => '192.168.1.1'
},
'authentification' => {
'1' => {
'version' => '1',
'sec_name' => {},
'auth_passphrase' => {},
'community' => 'public',
'sec_level' => '0',
'priv_protocol' => '0',
'priv_passphrase' => {},
'auth_protocol' => '0'
},
'2' => {
'version' => '2c',
'sec_name' => {},
'auth_passphrase' => {},
'community' => 'public',
'sec_level' => '0',
'priv_protocol' => '0',
'priv_passphrase' => {},
'auth_protocol' => '0'
}
}
}
};
==== List of IP to discover ====
$VAR1 = {
'0' => {
'192.168.1.233' => '0',
'192.168.1.223' => '0',
'192.168.1.64' => '0',
'192.168.1.204' => '0',
'192.168.1.175' => '0',
'192.168.1.247' => '0',
'192.168.1.222' => '0',
'192.168.1.190' => '0',
'192.168.1.162' => '0',
'192.168.1.70' => '0',
'192.168.1.15' => '0',
'192.168.1.95' => '0',
'192.168.1.183' => '0',
'192.168.1.189' => '0',
'192.168.1.149' => '0',
'192.168.1.119' => '0',
'192.168.1.62' => '0',
'192.168.1.54' => '0',
'192.168.1.201' => '0',
'192.168.1.235' => '0',
'192.168.1.50' => '0',
'192.168.1.210' => '0',
'192.168.1.133' => '0',
'192.168.1.117' => '0',
'192.168.1.22' => '0',
'192.168.1.97' => '0',
'192.168.1.6' => '0',
'192.168.1.243' => '0',
'192.168.1.74' => '0',
'192.168.1.110' => '0',
'192.168.1.10' => '0',
'192.168.1.219' => '0',
'192.168.1.160' => '0',
'192.168.1.249' => '0',
'192.168.1.46' => '0',
'192.168.1.39' => '0',
'192.168.1.36' => '0',
'192.168.1.142' => '0',
'192.168.1.42' => '0',
'192.168.1.237' => '0',
'192.168.1.177' => '0',
'192.168.1.135' => '0',
'192.168.1.20' => '0',
'192.168.1.93' => '0',
'192.168.1.239' => '0',
'192.168.1.220' => '0',
'192.168.1.173' => '0',
'192.168.1.179' => '0',
'192.168.1.159' => '0',
'192.168.1.82' => '0',
'192.168.1.73' => '0',
'192.168.1.13' => '0',
'192.168.1.31' => '0',
'192.168.1.129' => '0',
'192.168.1.245' => '0',
'192.168.1.209' => '0',
'192.168.1.115' => '0',
'192.168.1.87' => '0',
'192.168.1.41' => '0',
'192.168.1.213' => '0',
'192.168.1.23' => '0',
'192.168.1.21' => '0',
'192.168.1.100' => '0',
'192.168.1.166' => '0',
'192.168.1.229' => '0',
'192.168.1.150' => '0',
'192.168.1.240' => '0',
'192.168.1.208' => '0',
'192.168.1.25' => '0',
'192.168.1.120' => '0',
'192.168.1.126' => '0',
'192.168.1.218' => '0',
'192.168.1.141' => '0',
'192.168.1.72' => '0',
'192.168.1.88' => '0',
'192.168.1.58' => '0',
'192.168.1.176' => '0',
'192.168.1.37' => '0',
'192.168.1.254' => '0',
'192.168.1.30' => '0',
'192.168.1.138' => '0',
'192.168.1.49' => '0',
'192.168.1.230' => '0',
'192.168.1.165' => '0',
'192.168.1.14' => '0',
'192.168.1.156' => '0',
'192.168.1.57' => '0',
'192.168.1.85' => '0',
'192.168.1.101' => '0',
'192.168.1.198' => '0',
'192.168.1.187' => '0',
'192.168.1.65' => '0',
'192.168.1.99' => '0',
'192.168.1.234' => '0',
'192.168.1.147' => '0',
'192.168.1.59' => '0'
}
};
==== Discovery ====
[192.168.1.223][NO][2c][public] No response from remote host '192.168.1.223'
[192.168.1.222][NO][2c][public] No response from remote host '192.168.1.222'
[192.168.1.64][NO][2c][public] No response from remote host '192.168.1.64'
[192.168.1.190][NO][2c][public] No response from remote host '192.168.1.190'
[192.168.1.254][YES][2c][public]
[192.168.1.126][NO][2c][public] No response from remote host '192.168.1.126'
[192.168.1.218][NO][2c][public] No response from remote host '192.168.1.218'
[192.168.1.141][NO][2c][public] No response from remote host '192.168.1.141'
[192.168.1.72][NO][2c][public] No response from remote host '192.168.1.72'
[192.168.1.88][NO][2c][public] No response from remote host '192.168.1.88'
[192.168.1.58][NO][2c][public] No response from remote host '192.168.1.58'
[192.168.1.176][NO][2c][public] No response from remote host '192.168.1.176'
[192.168.1.37][NO][2c][public] No response from remote host '192.168.1.37'
[192.168.1.30][NO][2c][public] No response from remote host '192.168.1.30'
[192.168.1.126][NO][1][public] No response from remote host '192.168.1.126'
[192.168.1.138][NO][2c][public] No response from remote host '192.168.1.138'
[192.168.1.218][NO][1][public] No response from remote host '192.168.1.218'
[192.168.1.141][NO][1][public] No response from remote host '192.168.1.141'
[192.168.1.72][NO][1][public] No response from remote host '192.168.1.72'
[192.168.1.88][NO][1][public] No response from remote host '192.168.1.88'
[192.168.1.58][NO][1][public] No response from remote host '192.168.1.58'
[192.168.1.176][NO][1][public] No response from remote host '192.168.1.176'
[192.168.1.37][NO][1][public] No response from remote host '192.168.1.37'
[192.168.1.30][NO][1][public] No response from remote host '192.168.1.30'
[192.168.1.138][NO][1][public] No response from remote host '192.168.1.138'
[192.168.1.49][NO][2c][public] No response from remote host '192.168.1.49'
[192.168.1.56][NO][2c][public] No response from remote host '192.168.1.56'
[192.168.1.251][NO][2c][public] No response from remote host '192.168.1.251'
[192.168.1.113][NO][2c][public] No response from remote host '192.168.1.113'
[192.168.1.90][NO][2c][public] No response from remote host '192.168.1.90'
[192.168.1.227][NO][2c][public] No response from remote host '192.168.1.227'
[192.168.1.52][NO][2c][public] No response from remote host '192.168.1.52'
[192.168.1.242][NO][2c][public] No response from remote host '192.168.1.242'
[192.168.1.60][NO][2c][public] No response from remote host '192.168.1.60'
[192.168.1.49][NO][1][public] No response from remote host '192.168.1.49'
[192.168.1.80][NO][2c][public] No response from remote host '192.168.1.80'
[192.168.1.56][NO][1][public] No response from remote host '192.168.1.56'
[192.168.1.251][NO][1][public] No response from remote host '192.168.1.251'
[192.168.1.113][NO][1][public] No response from remote host '192.168.1.113'
[192.168.1.90][NO][1][public] No response from remote host '192.168.1.90'
[192.168.1.227][NO][1][public] No response from remote host '192.168.1.227'
[192.168.1.52][NO][1][public] No response from remote host '192.168.1.52'
[192.168.1.242][NO][1][public] No response from remote host '192.168.1.242'
[192.168.1.60][NO][1][public] No response from remote host '192.168.1.60'
[192.168.1.80][NO][1][public] No response from remote host '192.168.1.80'
[192.168.1.192][NO][2c][public] No response from remote host '192.168.1.192'
[192.168.1.241][NO][2c][public] No response from remote host '192.168.1.241'
[192.168.1.212][NO][2c][public] No response from remote host '192.168.1.212'
[192.168.1.131][NO][2c][public] No response from remote host '192.168.1.131'
[192.168.1.182][NO][2c][public] No response from remote host '192.168.1.182'
[192.168.1.157][NO][2c][public] No response from remote host '192.168.1.157'
[192.168.1.122][NO][2c][public] No response from remote host '192.168.1.122'
[192.168.1.231][NO][2c][public] No response from remote host '192.168.1.231'
[192.168.1.199][NO][2c][public] No response from remote host '192.168.1.199'
[192.168.1.106][NO][2c][public] No response from remote host '192.168.1.106'
[192.168.1.192][NO][1][public] No response from remote host '192.168.1.192'
[192.168.1.241][NO][1][public] No response from remote host '192.168.1.241'
[192.168.1.212][NO][1][public] No response from remote host '192.168.1.212'
[192.168.1.131][NO][1][public] No response from remote host '192.168.1.131'
[192.168.1.182][NO][1][public] No response from remote host '192.168.1.182'
[192.168.1.157][NO][1][public] No response from remote host '192.168.1.157'
[192.168.1.122][NO][1][public] No response from remote host '192.168.1.122'
[192.168.1.231][NO][1][public] No response from remote host '192.168.1.231'
[192.168.1.199][NO][1][public] No response from remote host '192.168.1.199'
[192.168.1.106][NO][1][public] No response from remote host '192.168.1.106'
[192.168.1.98][NO][2c][public] No response from remote host '192.168.1.98'
[192.168.1.153][NO][2c][public] No response from remote host '192.168.1.153'
[192.168.1.216][NO][2c][public] No response from remote host '192.168.1.216'
[192.168.1.144][NO][2c][public] No response from remote host '192.168.1.144'
[192.168.1.44][NO][2c][public] No response from remote host '192.168.1.44'
[192.168.1.225][NO][2c][public] No response from remote host '192.168.1.225'
[192.168.1.197][NO][2c][public] No response from remote host '192.168.1.197'
[192.168.1.66][NO][2c][public] No response from remote host '192.168.1.66'
[192.168.1.250][NO][2c][public] No response from remote host '192.168.1.250'
[192.168.1.98][NO][1][public] No response from remote host '192.168.1.98'
[192.168.1.128][NO][2c][public] No response from remote host '192.168.1.128'
[192.168.1.153][NO][1][public] No response from remote host '192.168.1.153'
[192.168.1.216][NO][1][public] No response from remote host '192.168.1.216'
[192.168.1.144][NO][1][public] No response from remote host '192.168.1.144'
[192.168.1.44][NO][1][public] No response from remote host '192.168.1.44'
[192.168.1.225][NO][1][public] No response from remote host '192.168.1.225'
[192.168.1.197][NO][1][public] No response from remote host '192.168.1.197'
[192.168.1.66][NO][1][public] No response from remote host '192.168.1.66'
[192.168.1.250][NO][1][public] No response from remote host '192.168.1.250'
[192.168.1.128][NO][1][public] No response from remote host '192.168.1.128'
[192.168.1.109][NO][2c][public] No response from remote host '192.168.1.109'
[192.168.1.171][NO][2c][public] No response from remote host '192.168.1.171'
[192.168.1.137][NO][2c][public] No response from remote host '192.168.1.137'
[192.168.1.84][NO][2c][public] No response from remote host '192.168.1.84'
==== Query ====
=========================================
================== END ==================
=========================================
Je ne comprend pas pourquoi toutes les valeures sont à 0.
En attente d'une réponse, car je seche totalement sur le problème :s
Merci d'avance
Last edited by damien78 (2009-09-14 16:06:14)
SE : Debian
Serveur Apache 2;MySql 5;Php 5
GLPI : 0.72.1 OCS : 1.02.1
Offline
le 0 c'est normal, en fait il te détecte en découverte seulement l'ip : 192.168.1.254
pour l'interrogation il n'a aucun équipement à interroger, donc il ne fait rien.
Offline
Ok, mais s'il m'a bien découvert l'ip 1.254 alors je devrais la retrouver dans découverte de matériel sur l'interface GLPI non?
SE : Debian
Serveur Apache 2;MySql 5;Php 5
GLPI : 0.72.1 OCS : 1.02.1
Offline
Toujours sur le même problème, je n'arrive pas a lancer le script server ./tracker_fullsync.sh il m'affiche le message suivant :
./tracker_fullsync.sh: line 12: php: command not found
Et lorsque je lance le .bat, j'ai encore plus de message d'erreur. Je ne comprend pas pourquoi sa n'arrive qu'a moi. Aidez moi. merci
SE : Debian
Serveur Apache 2;MySql 5;Php 5
GLPI : 0.72.1 OCS : 1.02.1
Offline
./tracker_fullsync.sh: line 12: php: command not found
vous n'avez pas installé le paquet php5-cli
Offline
Ok merci bien pour la réponse. J'arrive a lancer la commande, mais je n'ai aucune remontée d'information est-ce normal???
SE : Debian
Serveur Apache 2;MySql 5;Php 5
GLPI : 0.72.1 OCS : 1.02.1
Offline
Pages: 1