我在跑:
LSB Version: core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
我的启动确实很慢。有多个服务无法启动:
grep -i fail boot.log|sort|uniq -d -c
6 [FAILED] Failed to start Authorization Manager.
20 [FAILED] Failed to start Avahi mDNS/DNS-SD Stack.
14 [FAILED] Failed to start Dispatcher daemon for systemd-networkd.
7 [FAILED] Failed to start Hostname Service.
320 [FAILED] Failed to start Login Service.
3 [FAILED] Failed to start Manage, Install and Generate Color Profiles.
21 [FAILED] Failed to start Modem Manager.
392 [FAILED] Failed to start Network Manager.
19 [FAILED] Failed to start Network Name Resolution.
5 [FAILED] Failed to start Network Service.
17 [FAILED] Failed to start Network Time Synchronization.
5 [FAILED] Failed to start OpenBSD Secure Shell server.
19 [FAILED] Failed to start Postfix Mail Transport Agent (instance -).
10 [FAILED] Failed to start Samba NMB Daemon.
16 [FAILED] Failed to start Samba SMB Daemon.
3 [FAILED] Failed to start Session c1 of user peterbrooks.
38 [FAILED] Failed to start Start TightVNC server at startup.
5 [FAILED] Failed to start Thermal Daemon Service.
8 [FAILED] Failed to start Tool to automatically collect and submit kernel crash signatures.
3 [FAILED] Failed to start User Manager for UID 1000.
21 [FAILED] Failed to start WPA supplicant.
16 [FAILED] Failed to start vboxadd.service.
19 [FAILED] Failed to start vncserver.service.
3 [DEPEND] Dependency failed for Wait for Network to be Configured.
它表示启动仍在运行:
systemd-analyze blame
Bootup is not yet finished. Please try again later.
虽然:
uptime
12:41:22 up 58 min, 3 users, load average: 0.61, 0.78, 3.65
boot.log 中的第一个错误是:
[ OK ] Started Thermal Daemon Service.
[ OK ] Started Restore /etc/resolv.conf if the system crashed before the ppp link was shut down.
[FAILED] Failed to start Avahi mDNS/DNS-SD Stack.
See 'systemctl status avahi-daemon.service' for details.
[FAILED] Failed to start WPA supplicant.
See 'systemctl status wpa_supplicant.service' for details.
[FAILED] Failed to start Login Service.
如果我看一下 Avahi 报告:
systemctl status avahi-daemon.service * avahi-daemon.service - Avahi mDNS/DNS-SD 堆栈已加载:已加载(/lib/systemd/system/avahi-daemon.service;已启用;供应商预设:已启用)活动:失败(结果:超时)自 2018-12-22 星期六 11:46:59 SAST;56 分钟前进程:654 ExecStart=/usr/sbin/avahi-daemon -s(code=exited,status=0/SUCCESS)主 PID:654(code=exited,status=0/SUCCESS)状态:“avahi-daemon 0.7 正在启动。”
Dec 22 11:46:53 govern avahi-daemon[654]: Server startup complete. Host name is govern.local. Local service cookie is 246024952.
Dec 22 11:46:57 govern systemd[1]: avahi-daemon.service: Start operation timed out. Terminating.
Dec 22 11:46:57 govern avahi-daemon[654]: Got SIGTERM, quitting.
Dec 22 11:46:57 govern avahi-daemon[654]: Leaving mDNS multicast group on interface enp0s3.IPv6 with address fe80::a00:27ff:fe56:5727.
Dec 22 11:46:57 govern avahi-daemon[654]: Leaving mDNS multicast group on interface enp0s3.IPv4 with address 10.0.1.10.
Dec 22 11:46:58 govern avahi-daemon[654]: Leaving mDNS multicast group on interface lo.IPv6 with address ::1.
Dec 22 11:46:58 govern avahi-daemon[654]: Leaving mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
Dec 22 11:46:58 govern avahi-daemon[654]: avahi-daemon 0.7 exiting.
Dec 22 11:46:59 govern systemd[1]: avahi-daemon.service: Failed with result 'timeout'.
Dec 22 11:46:59 govern systemd[1]: Failed to start Avahi mDNS/DNS-SD Stack.
知道出了什么问题吗?