每次启动时,我都会遇到与 root (UID 0) 用户管理器相关的错误。我的系统总体运行良好,但有一些非常小的、令人讨厌的怪异现象,所以我不知道这些错误是否表明存在实际问题,而且我在网上找不到太多资料来解释它们可能表明了什么。
我的系统详情:
$ sudo inxi -b
System: Host: LABUNTU Kernel: 4.4.0-101-generic x86_64 (64 bit)
Desktop: N/A Distro: Ubuntu 16.04 xenial
Machine: System: Dell (portable) product: Precision 3520 serial: *******
Mobo: Dell model: 0C7J6P v: A00 serial: /*******/**************/
Bios: Dell v: 1.6.4 date: 09/12/2017
CPU: Quad core Intel Core i5-7440HQ (-MCP-) speed/max: 899/3800 MHz
Graphics: Card: Intel Device 591b
Display Server: X.org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
tty size: 80x24 Advanced Data: N/A for root
Network: Card-1: Intel Ethernet Connection (5) I219-LM driver: e1000e
Card-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
driver: ath10k_pci
Card-3: Atheros
Drives: HDD Total Size: 500.1GB (44.4% used)
Info: Processes: 233 Uptime: 2:24 Memory: 2363.9/7865.9MB
Client: Shell (sudo) inxi: 2.2.35
我注意到每次启动时启动日志中都会出现一个失败警报,今天我终于查看了日志:
$ sudo journalctl -b0 --system _COMM=systemd | grep "Failed "
Nov 23 09:19:44 LABUNTU systemd[1]: Failed to start User Manager for UID 0.
和:
$ systemctl status -l [email protected]
● [email protected] - User Manager for UID 0
Loaded: loaded (/lib/systemd/system/[email protected]; static; vendor preset: enabled)
Active: inactive (dead)
Nov 23 09:19:44 LABUNTU systemd[1]: Starting User Manager for UID 0...
Nov 23 09:19:44 LABUNTU systemd[1]: Started User Manager for UID 0.
Nov 23 09:19:44 LABUNTU systemd[1]: Stopping User Manager for UID 0...
Nov 23 09:19:44 LABUNTU systemd[1]: [email protected]: Start request repeated too quickly.
Nov 23 09:19:44 LABUNTU systemd[1]: Failed to start User Manager for UID 0.
Nov 23 09:19:44 LABUNTU systemd[1]: Stopped User Manager for UID 0.
Nov 23 09:19:45 LABUNTU systemd[1]: Starting User Manager for UID 0...
Nov 23 09:19:45 LABUNTU systemd[1]: Started User Manager for UID 0.
Nov 23 09:19:45 LABUNTU systemd[1]: Stopping User Manager for UID 0...
Nov 23 09:19:45 LABUNTU systemd[1]: Stopped User Manager for UID 0.
因此,我查找了“启动请求重复太快”消息,从我发现的情况来看,这是因为服务在短时间内启动和停止的次数太多(比系统设置规定的次数更频繁)时发生的。
我似乎找不到任何信息来说明这是否(或如何确定)通常表明存在实际问题。我大胆猜测,这可能与启动时初始化的编写不良的服务或应用程序有关,但我并不是根据我找到的信息得出这一结论 - 这只是猜测。
如果任何人能够提供任何信息或建议来判断这是否值得担心,和/或提供缩小实际问题范围的想法,我们将不胜感激。