You are not logged in.
Pages: 1
Bonjour, je suis un peu perdu avec ce plugin,
Pour le tester, j'ai un serveur virtuel de test windows 2003 server avec les dernières versions de OCS-NG (version xampp 1.6.6a inclus) et de GLPI.
Lorsque je lance le agent_tracker.pl j'obtiens ce message :
C:\Documents and Settings\Administrateur>C:\xampp\htdocs\glpi\plugins\agent_trac
ker\tracker_agent.pl
Threads version: 1.74
Use of uninitialized value $dest in string eq at
C:/xampp/htdocs/glpi/plugins/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.
Use of uninitialized value $dest in string eq at
C:/xampp/htdocs/glpi/plugins/agent_tracker/inc/communications_serveur.pm
line 22 (#1)
Uncaught exception from user code:
Could not find tracker_agent.xml in C:\xampp\htdocs\glpi\plugins\agent_t
racker\ at C:\xampp\htdocs\glpi\plugins\agent_tracker\tracker_agent.pl line 86
at C:/Perl/lib/XML/Simple.pm line 943
XML::Simple::find_xml_file('XML::Simple=HASH(0x254512c)', 'tracker_agent
.xml', 'C:\xampp\htdocs\glpi\plugins\agent_tracker\') called at C:/Perl/lib/XML/
Simple.pm line 215
XML::Simple::parse_file('XML::Simple=HASH(0x254512c)', undef) called at
C:/Perl/lib/XML/Simple.pm line 171
XML::Simple::XMLin('XML::Simple=HASH(0x254512c)', undef) called at C:\xa
mpp\htdocs\glpi\plugins\agent_tracker\tracker_agent.pl line 86
C:\Documents and Settings\Administrateur>C:\xampp\htdocs\glpi\plugins\agent_trac
ker\tracker_agent.pl
Threads version: 1.74
Use of uninitialized value $dest in string eq at
C:/xampp/htdocs/glpi/plugins/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.
Use of uninitialized value $dest in string eq at
C:/xampp/htdocs/glpi/plugins/agent_tracker/inc/communications_serveur.pm
line 22 (#1)
Uncaught exception from user code:
not well-formed (invalid token) at line 1, column 6, byte 6 at C:/Perl/lib/XML/P
arser.pm line 187
at C:/Perl/lib/XML/Parser.pm line 192
XML::Parser::parse('XML::Parser=HASH(0x2544f6c)', '*XML::Simple::XML_FIL
E') called at C:/Perl/lib/XML/Simple.pm line 410
XML::Simple::build_tree_xml_parser('XML::Simple=HASH(0x254512c)', 'C:\xa
mpp\htdocs\glpi\plugins\agent_tracker\tracker_agent.xml', undef) called at C:/Pe
rl/lib/XML/Simple.pm line 353
XML::Simple::build_tree('XML::Simple=HASH(0x254512c)', 'C:\xampp\htdocs\
glpi\plugins\agent_tracker\tracker_agent.xml', undef) called at C:/Perl/lib/XML/
Simple.pm line 308
XML::Simple::build_simple_tree('XML::Simple=HASH(0x254512c)', 'C:\xampp\
htdocs\glpi\plugins\agent_tracker\tracker_agent.xml', undef) called at C:/Perl/l
ib/XML/Simple.pm line 227
XML::Simple::parse_file('XML::Simple=HASH(0x254512c)', undef) called at
C:/Perl/lib/XML/Simple.pm line 171
XML::Simple::XMLin('XML::Simple=HASH(0x254512c)', undef) called at C:\xa
mpp\htdocs\glpi\plugins\agent_tracker\tracker_agent.pl line 86
J'ai pourtant suivi à la lettre la documentation pour la mise en place.
Pouvez-vous m'aider ?
-------------------------------------------------------------------------
Windows Server 2003 / XAMPP 1.7.3 / GLPI 0.80.4
Offline
Si vous pouvez prendre la version SVN de l'agent, j'ai mis pas mal de codes d'erreurs et de corrections faites.
Là comme ça je dirais qu'il y a un soucis pour récupérer les informations du serveur. Verifiez l'url du serveur GLPI dans la config de l'agent
Offline
Pages: 1