Ubuntu 18.04 — 启动时间非常慢,且出现多个 systemd 故障/连接超时错误

Ubuntu 18.04 — 启动时间非常慢,且出现多个 systemd 故障/连接超时错误

重新启动我的 18.04 服务器后,我发现启动时间非常慢(需要 5-15 分钟才能登录)并且多次出现“systemd”故障。

以下是我所看到的错误:

systemd[1]: Failed to get initial list of names: Connection timed out
systemd[1]: Failed to to set up API bus: Connection timed out
systemd[1]: Error occured during D-Bus APIs: Connection timed out
systemd[1]: Failed to start Login Service: Connection timed out

供参考

$ ls -al /etc/resolv.conf 
lrwxrwxrwx 1 root root 39 Sep  6 14:06 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf

$ cat /etc/resolv.conf
nameserver 127.0.0.53
options edns0
search blacklab.ddns.net

$ cat /etc/netplan/*.yaml
# Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager

$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto enp8s0
iface enp8s0 inet dhcp

有什么想法可以修复/排除此问题吗?谢谢

更新

还注意到速度很慢sudo apt-get update/upgrade并出现如下错误:

Err:4 https://packages.cloud.google.com/apt coral-edgetpu-stable/main i386 Packages                                                                                                         
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 2607:f8b0:4007:800::200e 443]

E: Failed to fetch https://packages.cloud.google.com/apt/dists/coral-edgetpu-stable/main/binary-i386/Packages  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 2607:f8b0:4007:800::200e 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.

相关内容