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 2024-11-08 09:41:57

WebGreg
Member
Registered: 2020-02-27
Posts: 771

[error] unable to get address for .... unknown host

Hi.

The following error appears in the GLPI 1.11 agent logs:

[Fri Nov  8 07:12:44 2024][error] unable to get address for 'glpi.domain.com': unknown host.
[Fri Nov  8 07:12:44 2024][error] unable to get address for 'glpi.domain.com': unknown host.
[Fri Nov  8 07:12:46 2024][info] [http server] HTTPD service started on port 55432
[Fri Nov  8 07:12:51 2024][info] GLPI Agent memory usage: WSS=3792896 PFU=114540544
[Fri Nov  8 07:12:51 2024][info] target server0: next run: Fri Nov  8 08:04:34 2024 - https://glpi.domain.com/front/inventory.php
[Fri Nov  8 07:47:09 2024][info] target server0: server https://glpi.domain.com/front/inventory.php

On the server I have the last connection from today, which means it is sending data to the server. However, I don't know if this may be related - it didn't update the "alternative username" field for me, even though there is no lock on the field.

Maybe this error message has something to do with the SSL certificate?

[Fri Nov  8 07:48:19 2024][info] [http client] SSL Client warning: Peer certificate not verified


--
GLPI 10.0.18
GLPI-Inventory 1.5.0
Ubuntu Server 20.04 LTS

Offline

#2 2025-02-26 09:00:41

WebGreg
Member
Registered: 2020-02-27
Posts: 771

Re: [error] unable to get address for .... unknown host

I still see this error in the logs. Interestingly, it communicates with the server:

[Tue Feb 25 14:45:55 2025][info] target server0: server https://glpi.domain.com/front/inventory.php
[Tue Feb 25 14:45:55 2025][info] sending prolog request to server0
[Tue Feb 25 14:45:56 2025][info] server0 answer shows it supports GLPI Agent protocol
[Tue Feb 25 14:45:57 2025][info] running task Inventory
[Tue Feb 25 14:45:57 2025][info] New inventory from P2-2025-01-29-12-53-35 for server0
[Tue Feb 25 14:46:55 2025][info] target server0: next run: Tue Feb 25 15:38:18 2025 - https://glpi.domain.com/front/inventory.php
[Tue Feb 25 14:46:55 2025][info] GLPI Agent memory usage: WSS=3309568 PFU=143429632
[Wed Feb 26 07:18:37 2025][info] GLPI Agent service starting
[Wed Feb 26 07:18:38 2025][error] unable to get address for 'glpi.domain.com': Unknown host.
[Wed Feb 26 07:18:38 2025][error] unable to get address for 'glpi.domain.com': Unknown host.
[Wed Feb 26 07:18:38 2025][info] [http server] HTTPD service started on port 65432
[Wed Feb 26 07:18:39 2025][info] GLPI Agent memory usage: WSS=3727360 PFU=114012160
[Wed Feb 26 07:18:39 2025][info] target server0: next run: Wed Feb 26 08:11:57 2025 - https://glpi.domain.com/front/inventory.php

Perhaps the computer has a problem with DNS access after startup. After the agent finishes loading the services and subsequent attempts are OK.

Last edited by WebGreg (2025-02-26 09:01:50)


--
GLPI 10.0.18
GLPI-Inventory 1.5.0
Ubuntu Server 20.04 LTS

Offline

Board footer

Powered by FluxBB