Após uma atualização recente, meu servidor 18.04 está funcionando em um estado degradado (conforme relatado por systemctl status
) devido a duas unidades com falha. Em /var/log/syslog
eu recebo essas linhas a cada 90 s:
Jun 10 22:07:49 olympus systemd[1]: systemd-resolved.service: Start operation timed out. Terminating.
Jun 10 22:07:49 olympus systemd[1]: systemd-timesyncd.service: Start operation timed out. Terminating.
Em journalctl -xe
:
-- Unit systemd-timesyncd.service has failed.
--
-- The result is RESULT.
jun 10 22:22:52 olympus systemd[1]: systemd-resolved.service: Failed with result 'timeout'.
jun 10 22:22:52 olympus systemd[1]: Failed to start Network Name Resolution.
systemctl status systemd-timesyncd
mostra que é Active (activating)
o tempo todo:
● systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
Active: activating (start) since Mon 2019-06-10 22:34:54 CEST; 1min 4s ago
Docs: man:systemd-timesyncd.service(8)
Main PID: 14410 ((imesyncd))
Tasks: 1 (limit: 4302)
CGroup: /system.slice/systemd-timesyncd.service
└─14410 (imesyncd)
jun 10 22:34:54 olympus systemd[1]: Starting Network Time Synchronization...
Após 1m30s ele desiste e reinicia. O mesmo vale para systemd-resolvd
.
Além desta atividade (e do grande número de mensagens que ela gera), o servidor parece funcionar bem.
O que há realmente de errado com essas unidades? Como posso depurar o problema?
EDIT: saída dos comandos solicitados. Não há nada dentro /etc/netplan/
nem dentro /etc/network/interfaces.d/
.
jos@olympus:~$ ls -al /etc/resolv.conf
-rw-r--r-- 1 root root 65 jan 30 09:46 /etc/resolv.conf
jos@olympus:~$ cat /etc/resolv.conf
nameserver 192.168.124.254
nameserver 8.8.8.8
nameserver 8.8.4.4
jos@olympus:~$ ls /etc/netplan
jos@olympus:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp4s0
iface enp4s0 inet static
address 192.168.124.99
netmask 255.255.255.0
gateway 192.168.124.254
dns-nameservers 192.168.124.254 213.75.63.75 213.75.63.76 8.8.8.8 8.8.4.4