Hi,
Thanks to everybody for reading. We have a recent issue after upgrading some ubuntu clients to latest version available in the repository. The agents that has been updated to r2.13.0-1, has crashed and in the status has a failed. They have stoped working.
The server is in an Ubuntu Server 16.04 LTS with ESM enabled. The latest version available in the repository of the server is r2.12.3-1.
Is a compatibility issue?
In the clients log, we can see that:
root@unifi:/etc/icinga2# service icinga2 status
ā icinga2.service - Icinga host/service/network monitoring system
Loaded: loaded (/lib/systemd/system/icinga2.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/icinga2.service.d
āālimits.conf
Active: failed (Result: exit-code) since Tue 2021-08-03 22:14:52 CEST; 9min ago
Process: 17247 ExecStartPre=/usr/lib/icinga2/prepare-dirs /etc/default/icinga2 (code=exited, status=0/SUCCESS)
Process: 17262 ExecStart=/usr/sbin/icinga2 daemon --close-stdio -e ${ICINGA2_ERROR_LOG} (code=exited, status=1/FAILURE)
Main PID: 17262 (code=exited, status=1/FAILURE)
Status: āActivating config objectsā¦ā
ago 03 22:14:52 unifi icinga2[17284]: [2021-08-03 22:14:52 +0200] information/ConfigItem: Instantiated 1 IcingaApplication.
ago 03 22:14:52 unifi icinga2[17284]: [2021-08-03 22:14:52 +0200] information/ConfigItem: Instantiated 1 ApiListener.
ago 03 22:14:52 unifi icinga2[17284]: [2021-08-03 22:14:52 +0200] information/ConfigItem: Instantiated 4 Zones.
ago 03 22:14:52 unifi icinga2[17284]: [2021-08-03 22:14:52 +0200] information/ConfigItem: Instantiated 2 Endpoints.
ago 03 22:14:52 unifi icinga2[17284]: [2021-08-03 22:14:52 +0200] information/ConfigItem: Instantiated 244 CheckCommands.
ago 03 22:14:52 unifi icinga2[17284]: [2021-08-03 22:14:52 +0200] information/ScriptGlobal: Dumping variables to file ā/var/cache/icinga2/icinga2.varsā
ago 03 22:14:52 unifi icinga2[17262]: [2021-08-03 22:14:52 +0200] information/cli: Closing console log.
ago 03 22:14:52 unifi systemd[1]: Started Icinga host/service/network monitoring system.
ago 03 22:14:52 unifi systemd[1]: icinga2.service: Main process exited, code=exited, status=1/FAILURE
ago 03 22:14:52 unifi systemd[1]: icinga2.service: Failed with result āexit-codeā.
root@unifi:/etc/icinga2#
And if we see the daemon:
root@unifi:/etc/icinga2# icinga2 daemon
[2021-08-03 22:24:35 +0200] information/cli: Icinga application loader (version: r2.13.0-1)
[2021-08-03 22:24:35 +0200] information/cli: Loading configuration file(s).
[2021-08-03 22:24:36 +0200] information/ConfigItem: Committing config item(s).
[2021-08-03 22:24:36 +0200] information/ApiListener: My API identity: unifi
[2021-08-03 22:24:36 +0200] information/ConfigItem: Instantiated 1 IcingaApplication.
[2021-08-03 22:24:36 +0200] information/ConfigItem: Instantiated 1 ApiListener.
[2021-08-03 22:24:36 +0200] information/ConfigItem: Instantiated 4 Zones.
[2021-08-03 22:24:36 +0200] information/ConfigItem: Instantiated 2 Endpoints.
[2021-08-03 22:24:36 +0200] information/ConfigItem: Instantiated 244 CheckCommands.
[2021-08-03 22:24:36 +0200] information/ScriptGlobal: Dumping variables to file ā/var/cache/icinga2/icinga2.varsā
[2021-08-03 22:24:36 +0200] information/ConfigObject: Restoring program state from file ā/var/lib/icinga2/icinga2.stateā
[2021-08-03 22:24:36 +0200] information/ConfigObject: Restored 290 objects. Loaded 3 new objects without state.
[2021-08-03 22:24:36 +0200] information/ConfigItem: Triggering Start signal for config items
[2021-08-03 22:24:36 +0200] information/ApiListener: āapiā started.
[2021-08-03 22:24:36 +0200] critical/ApiListener: Cannot bind TCP socket for host ā::ā on port ā5665ā: open: Address family not supported by protocol
Context:
(0) Activating object āapiā of type āApiListenerā
[2021-08-03 22:24:36 +0200] critical/ApiListener: Cannot add listener on host ā::ā for port ā5665ā.
Context:
(0) Activating object āapiā of type āApiListenerā
We have made a reconfigure and the host is correctly stablished. We donāt know where is the issue, but all ubuntu servers that has been updated to r2.13 has crashed. Old with r2.12 works good.
Thanks a lot