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-08-25 15:38:18

boozoo
Member
Registered: 2007-06-28
Posts: 119

Erreur Agent tracker 1.5.0

Bonjour,

J'essaye d'installer le plugin tracker 2.1.0 sur une debian avec GLPI 0.72.1. Lorsque je lance l'agent qui se trouve sur mon serveur glpi, j'ai cette erreur.

Etant en authentification automatique j'ai modifié dans le fichier conf de l'agent la ligne server en ajoutant un utilisateur de mon domaine.


Threads version: 1.67
<html>
<head><title>An Error Occurred</title></head>
<body>
<h1>An Error Occurred</h1>
<p>401 Authorization Required</p>
</body>
</html>

Use of uninitialized value $dest in string eq at
    /home/glpi/Desktop/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/share/perl5/XML/Simple.pm line 943
    XML::Simple::find_xml_file('XML::Simple=HASH(0x960e758)', 'tracker_agent.xml', './') called at /usr/share/perl5/XML/Simple.pm line 215
    XML::Simple::parse_file('XML::Simple=HASH(0x960e758)', undef) called at /usr/share/perl5/XML/Simple.pm line 171
    XML::Simple::XMLin('XML::Simple=HASH(0x960e758)', undef) called at tracker_agent.pl line 86

Merci d'avance

Offline

#2 2009-08-25 15:49:58

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

Re: Erreur Agent tracker 1.5.0

401 Authorization Required => donc il n'arrive pas à passer l'authentification automatique. Vous avez bien mis comme indiqué ici : https://forge.indepnet.net/wiki/tracker … ue-de-GLPI

Offline

#3 2009-08-25 15:51:50

boozoo
Member
Registered: 2007-06-28
Posts: 119

Re: Erreur Agent tracker 1.5.0

ddurieux wrote:

401 Authorization Required => donc il n'arrive pas à passer l'authentification automatique. Vous avez bien mis comme indiqué ici : https://forge.indepnet.net/wiki/tracker … ue-de-GLPI

oui j'ai bien mis un utilisateur de mon domaine avec son mot de passe devant l'IP du serveur.

Offline

#4 2009-08-25 16:17:56

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

Re: Erreur Agent tracker 1.5.0

Il faudrait regarder les logs Apache

Offline

#5 2009-08-25 16:37:37

boozoo
Member
Registered: 2007-06-28
Posts: 119

Re: Erreur Agent tracker 1.5.0

Voici mes logs d'apache


[Tue Aug 25 15:59:16 2009] [error] Bad/Missing NTLM/Basic Authorization Header for /glpi/front/mailgate.form.php
[Tue Aug 25 15:59:17 2009] [notice] child pid 3548 exit signal Segmentation fault (11)
[Tue Aug 25 15:59:19 2009] [error] SMB Server connection not open in state 3 for /glpi/front/mailgate.form.php
[Tue Aug 25 15:59:19 2009] [crit] [client 172.16.0.1] configuration error:  couldn't check user.  No user file?: /glpi/front/mailgate.form.php, referer: http://glpi/glpi/front/mailgate.form.php?ID=2
[Tue Aug 25 16:29:23 2009] [error] Wrong password/user (rc=3/1/327681): LaSalle\\login for /glpi/plugins/tracker/front/plugin_tracker.agents.diag.php
[Tue Aug 25 16:30:16 2009] [error] Wrong password/user (rc=3/1/327681): LaSalle\\utilisateur for /glpi/plugins/tracker/front/plugin_tracker.agents.diag.php

Et mettre les droits de cet utilisateur de l'annuaire sur Tracker (dans GLPI)

C'est à dire sur le dossier Tracker sur le serveur GLPI ou au niveau de l'interface GLPI.

Last edited by boozoo (2009-08-25 16:44:24)

Offline

#6 2009-08-25 16:40:37

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

Re: Erreur Agent tracker 1.5.0

au niveau de l'interface GLPI

Offline

#7 2009-08-25 16:46:38

boozoo
Member
Registered: 2007-06-28
Posts: 119

Re: Erreur Agent tracker 1.5.0

Il faut mettre les droits au profil de l'utilisateur sur écriture dans "informations SNMP", c'est ça?

Offline

#8 2009-08-25 16:48:16

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

Re: Erreur Agent tracker 1.5.0

oui

Offline

#9 2009-08-25 17:02:08

boozoo
Member
Registered: 2007-06-28
Posts: 119

Re: Erreur Agent tracker 1.5.0

J'obtiens ça comme log maintenant

[4807] AuthenNTLM: Start NTLM Authen handler pid = 4807, connection = 152763528 conn_http_hdr = TE, close  main =  cuser =  remote_ip = 127.0.0.1 remote_port = 13361 remote_host = <> version = 0.02 smbhandle = 
[4807] AuthenNTLM: Setup new object
[4807] AuthenNTLM: Config Domain = domaine  pdc = SRV01  bdc = 172.16.0.10
[4807] AuthenNTLM: Config Default Domain = domaine
[4807] AuthenNTLM: Config Fallback Domain = 
[4807] AuthenNTLM: Config AuthType = ntlm AuthName = paipartners
[4807] AuthenNTLM: Config Auth NTLM = 1 Auth Basic = 0
[4807] AuthenNTLM: Config NTLMAuthoritative = on  BasicAuthoritative = on
[4807] AuthenNTLM: Config Semaphore key = 23754 timeout = 2
[4807] AuthenNTLM: Config SplitDomainPrefix = 1
[4807] AuthenNTLM: Authorization Header Basic
[Tue Aug 25 17:03:15 2009] [error] Bad/Missing NTLM/Basic Authorization Header for /glpi/plugins/tracker/front/plugin_tracker.agents.diag.php

Offline

#10 2009-08-25 20:09:25

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

Re: Erreur Agent tracker 1.5.0

Apparement un problème d'authentification (sso)

Offline

Board footer

Powered by FluxBB