[Fusioninventory-user] Imposible to force an inventory from GLPI in windows clients

Tomas Abad tabad at sescam.jccm.es
Fri Nov 25 13:04:03 UTC 2011


   Hello David,

On 11/25/2011 01:38 PM, David DURIEUX wrote:
> Le Fri, 25 Nov 2011 13:19:42 +0100
> Tomas Abad <tabad at sescam.jccm.es> a écrit:
> 
>>   Hello Gonéri,
>>
>> On 11/25/2011 11:13 AM, Gonéri Le Bouder wrote:
>>> 2011/11/25 Tomas Abad <tabad at sescam.jccm.es>:
>>>>   Hello to all,
>>> Hello Tomas,
>>>
>>>>   Inside of 'FusInv Task' tab, the agent status is: 'Available'. The
>>>> FusionInventory-Agent service in the Windows client is started and
>>>> is running. The firewall of Windows client is disabled. All seems
>>>> correct but when do click in 'Force Inventory' button, an error
>>>> appears on top of the window: 'Impossible to communicate with
>>>> agent!'.
>>>
>>> Does it work if you try that directly from the computer itself with
>>> http://127.0.0.1:62354/now?
>>
>>   I have assigned the value 1 to the field 'rpc-trust-localhost' in
>> the
>> Windows Registry and then I have stopped and started the Windows
>> service FusionInventory-Agent.
>>
>>   Now, the user, can force an inventory with
>> http://127.0.0.1:62354/now
>> but, from GLPI, it's impossible. Again, I have the same error:
>> 'Impossible to communicate with agent!'.
>>
>>   Best regards.
>>
> 
> Check if port 62354 answer for this computer from GLPI server. (use
> telnet for example)
> 
> David
> ++

   The communications are OK but I can test it, of course.

   *** The Windows client is listening in 62354 port
   ******

Microsoft Windows XP [Versión 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>netstat -an

Conexiones activas

  Proto  Dirección local        Dirección remota       Estado
  ...
  TCP    0.0.0.0:62354          0.0.0.0:0              LISTENING
  ...


   *** This is the FusionInventory-Agent service registry
   ******

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\FusionInventory-Agent]
"server"="https://ecumene.sociedad.imaginaria.es/ocsinventory,https://ecumene.sociedad.imaginaria.es/glpi/plugins/fusioninventory/"
"tag"=""
"user"=""
"password"=""
"realm"=""
"ca-cert-file"="C:\\Archivos de programa\\FusionInventory-Agent\\certs\\hgucr-cert.pem"
"no-ssl-check"="0"
"proxy"=""
"rpc-port"=""
"debug"="1"
"rpc-trust-localhost"="1"
"scan-homedirs"="1"
"basevardir"="C:\\Archivos de programa\\FusionInventory-Agent\\dumps"
"share-dir"="C:\\Archivos de programa\\FusionInventory-Agent\\share"
"logfile"="C:\\Archivos de programa\\FusionInventory-Agent\\agent-log.txt"
"logfile-maxsize"="5"


   *** This is the test connection from a Linux system
   ******

tabad at hatteria:~$ telnet 10.36.6.30 62354
Trying 10.36.6.30...
Connected to 10.36.6.30.
Escape character is '^]'.
Hello World!
<title>500 Internal Server Error</title>
<h1>500 Internal Server Error</h1>

Connection closed by foreign host.


   *** This is the agent log file
   ******
[Fri Nov 25 13:48:33 2011][debug] FusionInventory unified agent for UNIX, Linux, Windows and MacOSX 2.1.12-1
[Fri Nov 25 13:48:33 2011][debug] Log system initialised (2)
[Fri Nov 25 13:48:33 2011][debug] vardir: C:\Archivos de programa\FusionInventory-Agent\dumps/https..__ecumene.sociedad.imaginaria.es_ocsinventory
[Fri Nov 25 13:48:33 2011][debug] [https://ecumene.sociedad.imaginaria.es/ocsinventory] Next server contact planned for Fri Nov 25 22:57:03 2011
[Fri Nov 25 13:48:33 2011][debug] No accountinfo file defined
[Fri Nov 25 13:48:33 2011][debug] vardir: C:\Archivos de programa\FusionInventory-Agent\dumps/https..__ecumene.sociedad.imaginaria.es_glpi_plugins_fusioninventory_
[Fri Nov 25 13:48:33 2011][debug] [https://ecumene.sociedad.imaginaria.es/glpi/plugins/fusioninventory/] Next server contact planned for Fri Nov 25 20:09:04 2011
[Fri Nov 25 13:48:33 2011][debug] No accountinfo file defined
[Fri Nov 25 13:48:33 2011][debug] [RPC] static files are in C:\Archivos de programa\FusionInventory-Agent\share/html
[Fri Nov 25 13:48:33 2011][debug] FusionInventory Agent initialised
[Fri Nov 25 13:48:33 2011][info] RPC service started at: http://127.0.0.1:62354
[Fri Nov 25 13:58:37 2011][debug] [RPC] 10.36.9.234 request World!
[Fri Nov 25 13:58:37 2011][debug] [RPC] Err, 500


   I don't know but, sincerely, I think it's not a problem related with 'rpc-trust-localhost' registry parameter.

   Best regards.

-- 
------------------------------------------------------------------------
 Sed amables con los demás. Hasta dónde lleguéis en esta vida dependerá
  de cuán cariñosos seáis con los más jóvenes, cuán compasivos con los
  mayores, cuán comprensivos con los rivales, cuán tolerantes con los
   débiles y con los fuertes. Porque en esta vida, algún día habréis
                 sido todos ellos. (George Washington Carver)
                              ------------
                               Tomas Abad
                         Ingeniero de Sistemas

                 Servicio de Salud de Castilla-La Mancha
                     Hospital General de Ciudad Real
                         Servicio de Informática
------------------------------------------------------------------------



More information about the Fusioninventory-user mailing list