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

#1 2009-07-30 15:48:59

stefmcp
Member
Registered: 2009-07-22
Posts: 98

Problème Tracker Agent 1.5

j'ai fait un upgrade du plugin tracker et de son agent, lors du lancement de l'agent, je recoit un message d'erreur

../bin/perl tracker_agent.pl
Threads version: 1.67
í]OÂ0¯åWàW²v°I15~$"CêVFãÖζ ü{{
ì?n¼åfëyÏÓÓ·o³Ï,m®Ò\A
                     ·Q«ÉD$c.Aëq|qÒo5ÏÂÑ"ËÃÆ¡   ÆCL<û
                                                     "Íb®#ig­¡±§dÑX×¹ïb1ï}YxEâ ×ö;mQÛï"ghÇl70ÿÝ-
                   ­Ö¡õ¿]bÐ¥Y@oÎ#jìPxôK̲¥íűùò5å;®ì:xûA¨¿Ávº4ffÌêŲh¤lÅRð\®Vg¹FFÒõëB
¡Zç        ª
÷Kÿ3K1¬W+¾ª ¦:j_qaþà辶Anìü¤rnd~Hrñ${
Use of uninitialized value $dest in string eq at
    /usr/local/glpi_tracker_agent/agent_tracker/inc/communications_serveur.pm line 21 (#1)
    (W uninitialized) An undefined value was used as if it were already
    defined.  It was interpreted as a "" or a 0, but maybe it was a mistake.
    To suppress this warning assign a defined value to your variables.

    To help you figure out what was undefined, perl will try to tell you the
    name of the variable (if any) that was undefined. In some cases it cannot
    do this, so it also tells you what operation you used the undefined value
    in.  Note, however, that perl optimizes your program and the operation
    displayed in the warning may not necessarily appear literally in your
    program.  For example, "that $foo" is usually optimized into "that "
    . $foo, and the warning will refer to the concatenation (.) operator,
    even though there is no . in your program.

Uncaught exception from user code:
    Could not find tracker_agent.xml in ./ at tracker_agent.pl line 86
at /usr/local/glpi_tracker_agent/lib/perl5/site_perl/5.10.0/XML/Simple.pm line 943
    XML::Simple::find_xml_file('XML::Simple=HASH(0xa1b9d58)', 'tracker_agent.xml', './') called at /usr/local/glpi_tracker_agent/lib/perl5/site_perl/5.10.0/XML/Simple.pm line 215
    XML::Simple::parse_file('XML::Simple=HASH(0xa1b9d58)', undef) called at /usr/local/glpi_tracker_agent/lib/perl5/site_perl/5.10.0/XML/Simple.pm line 171
    XML::Simple::XMLin('XML::Simple=HASH(0xa1b9d58)', undef) called at tracker_agent.pl line 86


Voici ma version perl

../bin/perl -v

This is perl, v5.10.0 built for i686-linux-thread-multi

Copyright 1987-2007, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


voyez vous d'ou peut provenir le Pb

merci d'avance


GLPI 0.7.2.4
CentOs 5

Offline

#2 2009-07-30 16:06:48

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Problème Tracker Agent 1.5

oh c'est joli ça .. t'as mis tracker_agent.conf ?

Offline

#3 2009-07-30 16:22:45

stefmcp
Member
Registered: 2009-07-22
Posts: 98

Re: Problème Tracker Agent 1.5

oui

server=http://1xx.xxx.xxx.xxx/glpi/plugins/tracker/front/plugin_tracker.agents.diag.php
id=1
key=T4sN8VZKw45CJdMP50ZSVm7x3rO7Yy


GLPI 0.7.2.4
CentOs 5

Offline

#4 2009-07-30 16:26:30

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Problème Tracker Agent 1.5

Utilisez vous le plugin customfields? et quels plugins?

Offline

#5 2009-07-30 17:13:22

stefmcp
Member
Registered: 2009-07-22
Posts: 98

Re: Problème Tracker Agent 1.5

C'est une machine d'evaluation, tous les plugins sauf customfield sont installé desus


GLPI 0.7.2.4
CentOs 5

Offline

#6 2009-08-04 09:14:32

stefmcp
Member
Registered: 2009-07-22
Posts: 98

Re: Problème Tracker Agent 1.5

existe t'il un moyen pour debugger ce problème

merci d'avance


GLPI 0.7.2.4
CentOs 5

Offline

#7 2009-08-04 09:35:08

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Problème Tracker Agent 1.5

humm tu as un soucis de communication avec le serveur. En fait vérifie que ton agent_tracker.conf existe bien et as la bonne URL.

Offline

#8 2009-08-04 10:19:41

stefmcp
Member
Registered: 2009-07-22
Posts: 98

Re: Problème Tracker Agent 1.5

j'ai renomer le fichier tracker_agent.conf en old et j'ai bien le message "Config file is missing" j'ai fait un wget sur l'url contenu dans le fichier conf et pas de Pb pour retrouver l'url. voit tu d'autre point que je peut verifier


GLPI 0.7.2.4
CentOs 5

Offline

#9 2009-08-04 10:26:33

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Problème Tracker Agent 1.5

si tu vas sur la page : glpi/plugins/tracker/front/plugin_tracker.agents.diag.php

Tu as quoi?

Offline

#10 2009-08-04 11:02:05

stefmcp
Member
Registered: 2009-07-22
Posts: 98

Re: Problème Tracker Agent 1.5

‹óËWöØÆ¿

ca affiche ca sous IE

‹&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;óËWö&#65533;ØÆ¿&#65533;&#65533;&#65533;

et ca sous firefox


GLPI 0.7.2.4
CentOs 5

Offline

#11 2009-08-04 11:04:24

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Problème Tracker Agent 1.5

ok, donc t'as un plugin qui fait foirer tracker. faut trouver lequel

Offline

#12 2009-08-04 11:12:38

stefmcp
Member
Registered: 2009-07-22
Posts: 98

Re: Problème Tracker Agent 1.5

je les desactive ou je les desinstall pour tester et qu'est ce qui doit s'afficher sur la page ?


GLPI 0.7.2.4
CentOs 5

Offline

#13 2009-08-04 11:25:27

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Problème Tracker Agent 1.5

de mémoire, faut les déinstaller

Offline

#14 2009-08-04 11:43:41

stefmcp
Member
Registered: 2009-07-22
Posts: 98

Re: Problème Tracker Agent 1.5

tous les Plugin desinstallé tracker seul et configuré , la page est maintenant blanche lors de l'appel a l'URL mais lors de lancement de l'agent j'ai

Threads version: 1.67
Use of uninitialized value $dest in string eq at
        /usr/local/glpi_tracker_agent/agent_tracker/inc/communications_serveur.pm line 19 (#1)
    (W uninitialized) An undefined value was used as if it were already
    defined.  It was interpreted as a "" or a 0, but maybe it was a mistake.
    To suppress this warning assign a defined value to your variables.

    To help you figure out what was undefined, perl will try to tell you the
    name of the variable (if any) that was undefined. In some cases it cannot
    do this, so it also tells you what operation you used the undefined value
    in.  Note, however, that perl optimizes your program and the operation
    displayed in the warning may not necessarily appear literally in your
    program.  For example, "that $foo" is usually optimized into "that "
    . $foo, and the warning will refer to the concatenation (.) operator,
    even though there is no . in your program.

Uncaught exception from user code:
        Could not find tracker_agent.xml in ./ at ./tracker_agent.pl line 86
at /usr/local/glpi_tracker_agent/lib/perl5/site_perl/5.10.0/XML/Simple.pm line 943
        XML::Simple::find_xml_file('XML::Simple=HASH(0x8c14f88)', 'tracker_agent.xml', './') called at /usr/local/glpi_tracker_agent/lib/perl5/site_perl/5.10.0/XML/Simple.pm line 215
        XML::Simple::parse_file('XML::Simple=HASH(0x8c14f88)', undef) called at /usr/local/glpi_tracker_agent/lib/perl5/site_perl/5.10.0/XML/Simple.pm line 171
        XML::Simple::XMLin('XML::Simple=HASH(0x8c14f88)', undef) called at ./tracker_agent.pl line 86

comme si lagent ne pouvait contacter le serveur glpi, y a t'il un moyen de veirfier que le serveur est contacté


GLPI 0.7.2.4
CentOs 5

Offline

#15 2009-08-04 11:47:42

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Problème Tracker Agent 1.5

non pas vraiment, apparement il n'arrive pas. Je ne comprend pas pourquoi ça fait ça. l'ip est la bonne? utilises tu l'authentification automatique (SSO)  sur GLPI?

Offline

#16 2009-08-04 11:53:44

stefmcp
Member
Registered: 2009-07-22
Posts: 98

Re: Problème Tracker Agent 1.5

Ip ok
pour le sso je ne me souvient pas avoir configurer cette option, je peut verifier comment


GLPI 0.7.2.4
CentOs 5

Offline

#17 2009-08-04 11:57:26

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Problème Tracker Agent 1.5

quand tu ouvre GLPI, tu rentre ton login et mot de passe pour te connecter ou ça se connecte tout seul?

Offline

#18 2009-08-04 13:02:53

stefmcp
Member
Registered: 2009-07-22
Posts: 98

Re: Problème Tracker Agent 1.5

Login + pwd avec Ldap


GLPI 0.7.2.4
CentOs 5

Offline

#19 2009-08-04 13:12:08

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Problème Tracker Agent 1.5

non c'est pas ça alors... ben je n'ai pas d'idée là

Offline

#20 2009-08-06 17:34:24

stefmcp
Member
Registered: 2009-07-22
Posts: 98

Re: Problème Tracker Agent 1.5

Peut etre un element nouveau

j'ai fait quelque test supplementaire, j'ai installé la version glpi 7.1.6 sur  machine linux qui contient la version 7.2.0. J'ai utilise l'agent 1.1.0 pour faire un discover et query des materiels reseau.
Glpi 7.1.6 + agent 1.1.0 tous est OK
Glpi 7.2.0 + agent 1.1.0 j'ai le message

./tracker_agent.pl
Name "main::value" used only once: possible typo at ./tracker_agent.pl line 155.
Threads version: 1.71
Use of uninitialized value in string eq at /usr/local/glpi716/plugins/agent_tracker/inc/functions.pm line 194.
Use of uninitialized value in string eq at /usr/local/glpi716/plugins/agent_tracker/inc/functions.pm line 194.
Could not find tracker_agent.xml in ./ at ./tracker_agent.pl line 84

cela ressemble au Pb que jai rencontre avec l'agent 1.5


GLPI 0.7.2.4
CentOs 5

Offline

Board footer

Powered by FluxBB