• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problème redirection agent fusioninventory au serveur fusioninventory
#1
Bonjour , en faite j'ai un petit problème , je n'arrive pas à rediriger l'agent fusioninventory au serveur fusioninventory sous glpi .

Ma configuration : FusionInventory Agent 2.1.8-2 , glpi-0.78.5 ,fusioninventory-for-glpi-metapackage_2.3.4

Tout ceci sur mon même poste de travail windows xp (avec WAMPSERVER 2.1)

Voici le log de l'agent :



[Mon May 30 10:07:36 2011][debug] FusionInventory unified agent for UNIX, Linux, Windows and MacOSX 2.1.8-2
[Mon May 30 10:07:36 2011][debug] Log system initialised (2)
[Mon May 30 10:07:37 2011][debug] vardir: C:\Program Files\FusionInventory-Agent\dumps/http..__172.29.14.70_glpi_plugins_fusioninventory_
[Mon May 30 10:07:37 2011][debug] No accountinfo file defined
[Mon May 30 10:07:37 2011][debug] [RPC] static files are in C:\Program Files\FusionInventory-Agent\share/html
[Mon May 30 10:07:37 2011][debug] FusionInventory Agent initialised
[Mon May 30 10:07:37 2011][info] PROLOG_FREQ has been set: 1
[Mon May 30 10:07:37 2011][info] RPC service started at: http://127.0.0.1:
[Mon May 30 10:07:37 2011][debug] [http://172.29.14.70/glpi/plugins/fusioninventory/] Next server contact has just been planned for Mon May 30 10:07:42 2011
[Mon May 30 10:07:47 2011][debug] Compress::Zlib is available.
[Mon May 30 10:07:47 2011][debug] token is: IJIKECFW
[Mon May 30 10:07:47 2011][debug] sending XML
[Mon May 30 10:07:47 2011][error] Cannot establish communication with `http://172.29.14.70/glpi/plugins/fusioninventory/: 403 Forbidden`
[Mon May 30 10:07:47 2011][error] No anwser from the server
[Mon May 30 10:07:47 2011][debug] [http://172.29.14.70/glpi/plugins/fusioninventory/] Next server contact has just been planned for Mon May 30 10:53:49 2011
[Mon May 30 10:10:27 2011][debug] [RPC] 127.0.0.1 request /
[Mon May 30 10:12:41 2011][debug] FusionInventory unified agent for UNIX, Linux, Windows and MacOSX 2.1.8-2
[Mon May 30 10:12:41 2011][debug] Log system initialised (2)
[Mon May 30 10:12:41 2011][debug] vardir: C:\Program Files\FusionInventory-Agent\dumps/http..__172.29.14.70_glpi_plugins_fusioninventory_
[Mon May 30 10:12:41 2011][debug] [http://172.29.14.70/glpi/plugins/fusioninventory/] Next server contact planned for Mon May 30 10:53:49 2011
[Mon May 30 10:12:41 2011][debug] No accountinfo file defined
[Mon May 30 10:12:41 2011][debug] [RPC] static files are in C:\Program Files\FusionInventory-Agent\share/html
[Mon May 30 10:12:41 2011][debug] FusionInventory Agent initialised
[Mon May 30 10:12:41 2011][info] RPC service started at: http://127.0.0.1:
[Mon May 30 10:53:51 2011][debug] Compress::Zlib is available.
[Mon May 30 10:53:51 2011][debug] token is: IJIKECFW
[Mon May 30 10:53:51 2011][debug] sending XML
[Mon May 30 10:53:51 2011][error] Cannot establish communication with `http://172.29.14.70/glpi/plugins/fusioninventory/: 403 Forbidden`
[Mon May 30 10:53:51 2011][error] No anwser from the server
[Mon May 30 10:53:51 2011][debug] [http://172.29.14.70/glpi/plugins/fusioninventory/] Next server contact has just been planned for Mon May 30 11:43:57 2011

Je vous remercie d'avance pour votre aide.
#2
Il faut regarder les logs d'apache puisque tu as une erreur "403 Forbidden"

Peut être utilises-tu du SSO ou de l'auth basic sur ton apache ?
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
#3
Merci d'avoir répondu aussi vite , je viens de faire ce que tu me demandes , voila un copié collé de mon apache error log :

Mon May 30 09:16:35 2011] [warn] pid file C:/wamp/bin/apache/Apache2.2.17/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon May 30 09:16:35 2011] [notice] Apache/2.2.17 (Win32) PHP/5.3.5 configured -- resuming normal operations
[Mon May 30 09:16:35 2011] [notice] Server built: Oct 18 2010 01:58:12
[Mon May 30 09:16:35 2011] [notice] Parent: Created child process 1464
[Mon May 30 09:16:35 2011] [notice] Child 1464: Child process is running
[Mon May 30 09:16:35 2011] [notice] Child 1464: Acquired the start mutex.
[Mon May 30 09:16:35 2011] [notice] Child 1464: Starting 64 worker threads.
[Mon May 30 09:16:35 2011] [notice] Child 1464: Starting thread to listen on port 80.
[Mon May 30 09:16:50 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Mon May 30 09:16:50 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Mon May 30 09:29:07 2011] [error] [client 172.29.14.70] client denied by server configuration: C:/wamp/www/fusioninventory
[Mon May 30 10:07:47 2011] [error] [client 172.29.14.70] client denied by server configuration: C:/wamp/www/glpi/plugins/fusioninventory/
[Mon May 30 12:24:22 2011] [error] [client 172.29.14.70] client denied by server configuration: C:/wamp/www/glpi/plugins/fusioninventory/
[Mon May 30 13:12:27 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon May 30 13:12:27 2011] [notice] Child 1464: Exit event signaled. Child process is ending.
[Mon May 30 13:12:28 2011] [notice] Child 1464: Released the start mutex
[Mon May 30 13:12:29 2011] [notice] Child 1464: All worker threads have exited.
[Mon May 30 13:12:29 2011] [notice] Child 1464: Child process is exiting
[Mon May 30 13:12:29 2011] [notice] Parent: Child process exited successfully.
[Mon May 30 13:12:30 2011] [notice] Apache/2.2.17 (Win32) PHP/5.3.5 configured -- resuming normal operations
[Mon May 30 13:12:30 2011] [notice] Server built: Oct 18 2010 01:58:12
[Mon May 30 13:12:30 2011] [notice] Parent: Created child process 2304
[Mon May 30 13:12:30 2011] [notice] Child 2304: Child process is running
[Mon May 30 13:12:30 2011] [notice] Child 2304: Acquired the start mutex.
[Mon May 30 13:12:30 2011] [notice] Child 2304: Starting 64 worker threads.
[Mon May 30 13:12:30 2011] [notice] Child 2304: Starting thread to listen on port 80.
[Mon May 30 13:16:52 2011] [error] [client 172.29.14.70] client denied by server configuration: C:/wamp/www/glpi/plugins/fusioninventory/
[Mon May 30 13:19:38 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon May 30 13:19:38 2011] [notice] Child 2304: Exit event signaled. Child process is ending.
[Mon May 30 13:19:39 2011] [notice] Child 2304: Released the start mutex
[Mon May 30 13:19:40 2011] [notice] Child 2304: All worker threads have exited.
[Mon May 30 13:19:40 2011] [notice] Child 2304: Child process is exiting
[Mon May 30 13:19:40 2011] [notice] Parent: Child process exited successfully.
[Mon May 30 13:23:26 2011] [notice] Apache/2.2.17 (Win32) PHP/5.3.5 configured -- resuming normal operations
[Mon May 30 13:23:26 2011] [notice] Server built: Oct 18 2010 01:58:12
[Mon May 30 13:23:26 2011] [notice] Parent: Created child process 868
[Mon May 30 13:23:26 2011] [notice] Child 868: Child process is running
[Mon May 30 13:23:26 2011] [notice] Child 868: Acquired the start mutex.
[Mon May 30 13:23:26 2011] [notice] Child 868: Starting 64 worker threads.
[Mon May 30 13:23:26 2011] [notice] Child 868: Starting thread to listen on port 80.
[Mon May 30 13:23:34 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon May 30 13:23:34 2011] [notice] Child 868: Exit event signaled. Child process is ending.
[Mon May 30 13:23:35 2011] [notice] Child 868: Released the start mutex
[Mon May 30 13:23:36 2011] [notice] Child 868: All worker threads have exited.
[Mon May 30 13:23:36 2011] [notice] Child 868: Child process is exiting
[Mon May 30 13:23:36 2011] [notice] Parent: Child process exited successfully.
[Mon May 30 13:23:43 2011] [notice] Apache/2.2.17 (Win32) PHP/5.3.5 configured -- resuming normal operations
[Mon May 30 13:23:43 2011] [notice] Server built: Oct 18 2010 01:58:12
[Mon May 30 13:23:43 2011] [notice] Parent: Created child process 1184
[Mon May 30 13:23:43 2011] [notice] Child 1184: Child process is running
[Mon May 30 13:23:43 2011] [notice] Child 1184: Acquired the start mutex.
[Mon May 30 13:23:43 2011] [notice] Child 1184: Starting 64 worker threads.
[Mon May 30 13:23:43 2011] [notice] Child 1184: Starting thread to listen on port 80.
[Mon May 30 13:23:51 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon May 30 13:23:51 2011] [notice] Child 1184: Exit event signaled. Child process is ending.
[Mon May 30 13:23:52 2011] [notice] Child 1184: Released the start mutex
[Mon May 30 13:23:53 2011] [notice] Child 1184: All worker threads have exited.
[Mon May 30 13:23:53 2011] [notice] Child 1184: Child process is exiting
[Mon May 30 13:23:53 2011] [notice] Parent: Child process exited successfully.
[Mon May 30 13:23:54 2011] [notice] Apache/2.2.17 (Win32) PHP/5.3.5 configured -- resuming normal operations
[Mon May 30 13:23:54 2011] [notice] Server built: Oct 18 2010 01:58:12
[Mon May 30 13:23:54 2011] [notice] Parent: Created child process 3528
[Mon May 30 13:23:54 2011] [notice] Child 3528: Child process is running
[Mon May 30 13:23:54 2011] [notice] Child 3528: Acquired the start mutex.
[Mon May 30 13:23:54 2011] [notice] Child 3528: Starting 64 worker threads.
[Mon May 30 13:23:54 2011] [notice] Child 3528: Starting thread to listen on port 80.
[Mon May 30 13:24:01 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon May 30 13:24:01 2011] [notice] Child 3528: Exit event signaled. Child process is ending.
[Mon May 30 13:24:02 2011] [notice] Child 3528: Released the start mutex
[Mon May 30 13:24:03 2011] [notice] Child 3528: All worker threads have exited.
[Mon May 30 13:24:03 2011] [notice] Child 3528: Child process is exiting
[Mon May 30 13:24:03 2011] [notice] Parent: Child process exited successfully.
[Mon May 30 13:24:03 2011] [notice] Apache/2.2.17 (Win32) PHP/5.3.5 configured -- resuming normal operations
[Mon May 30 13:24:03 2011] [notice] Server built: Oct 18 2010 01:58:12
[Mon May 30 13:24:03 2011] [notice] Parent: Created child process 2392
[Mon May 30 13:24:03 2011] [notice] Child 2392: Child process is running
[Mon May 30 13:24:03 2011] [notice] Child 2392: Acquired the start mutex.
[Mon May 30 13:24:03 2011] [notice] Child 2392: Starting 64 worker threads.
[Mon May 30 13:24:03 2011] [notice] Child 2392: Starting thread to listen on port 80.
[Mon May 30 13:25:33 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Mon May 30 13:25:33 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
#4
c'est de l'auth basic =)
#5
Ah si c'est de l'auth basic, il faut le paramétrer dans la config de l'agent (options avancé dans l'installeur de l'gent windows)
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
#6
Ok ,est ce qu'on peut considéré que l'authentification au lancement de glpi est de l'auth basic ? dsl de posé la question aprés
#7
Non l'auth basic est gérée dans la configuration d'Apache.

Tu as ca dans les logs : [Mon May 30 13:16:52 2011] [error] [client 172.29.14.70] client denied by server configuration: C:/wamp/www/glpi/plugins/fusioninventory/

DOnc t'as un soucis dans la configuration d'Apache
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
#8
Je devrais donc aller modifier le httpd.conf ? si oui vous pouvez m'aider , je veux dire quelles lignes seraient susceptibles d'être la cause de cette erreur
#9
j'ai besoin d'aide svp , je vous remercie à l'avance , j'aimerais réglé mon problème au plus vite , pour connaitre les joies de la découverte réseau ^^
#10
Ben ça peut etre à plusieurs endroits suivant la config, voir la documentation d'apache.
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
#11
Merci beaucoup , je viens de régler le problème et mon agent est remonté sans problème , merci encore ^^
#12
Super, je clos le sujet
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com


Forum Jump:


Users browsing this thread: 1 Guest(s)