無法啟動電源管理守護程式

無法啟動電源管理守護程式

有時當我關閉它時,它會掛在訊息上[failed] failed to start daemon for power management。我查看過這個問題是否在 20.04 或更高版本之前發生過。但我沒有找到。我有一個額外的內建 SSD,被視為/share.我有 2 個 SSD 2TB/dev/sda/dev/sdb.

我已經嘗試過了sudo apt install systemd:amd64 systemd-timesyncd:amd64,但它們已經是最新的了。

我不知道要尋找什麼來防止這種情況發生。我該怎麼辦?

答案1

我在 Asus Aspire 5332 筆記型電腦上使用 20.10 時可能會遇到相同的問題。 POST 後一、兩秒,磁碟活動停止。我找到了幾個解決方案:

  1. 如果我取出電池並使用主電源運行筆記型電腦,則筆記型電腦啟動正常 - 這恰恰違背了擁有行動裝置的原因!
  2. 盯著空白畫面 5 分鐘後,我按下 Ctrl-C(巧合?),系統再次啟動。

我猜發生的事情比表面上看到的要多,但這遠遠超出了我的工資等級:-/

「重要」日誌顯示 org.bluez 已逾時,但如果我查看 9:43:12 發生的情況...

 9:48:39 AM dbus-update-act: dbus-update-activation-environment: setting XAUTHORITY=/run/user/1000/gdm/Xauthority
 9:48:39 AM systemd: Started Daemon for power management.
 9:48:39 AM dbus-daemon: [system] Successfully activated service 'org.freedesktop.UPower'
 9:48:39 AM xhost: localuser:sash being added to access control list
 9:48:38 AM systemd: Started Tracker metadata extractor.
 9:48:38 AM Xsession: /etc/gdm3/Xsession: Beginning session setup...
 9:48:38 AM Xorg: (II) This device may have been added with another device file.
 9:48:38 AM systemd-timesyn: Initial synchronization to time server 91.189.91.157:123 (ntp.ubuntu.com).
 9:43:12 AM systemd: Starting Daemon for power management...
 9:43:12 AM dbus-daemon: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.38' (uid=1000 pid=847 comm="/usr/libexec/tracker-miner-fs " label="unconfined")
 9:43:12 AM systemd: Started Virtual filesystem service - Media Transfer Protocol monitor.
 9:43:12 AM dbus-daemon: [session uid=1000 pid=881] Successfully activated service 'org.gtk.vfs.MTPVolumeMonitor'
 9:43:12 AM systemd: Starting Virtual filesystem service - Media Transfer Protocol monitor...
 9:43:12 AM dbus-daemon: [session uid=1000 pid=881] Activating via systemd: service name='org.gtk.vfs.MTPVolumeMonitor'

$ systemctl status upower.service
● upower.service - Daemon for power management
     Loaded: loaded (/lib/systemd/system/upower.service; disabled; vendor prese>
     Active: active (running) since Sat 2021-10-16 09:48:39 BST; 51min ago
       Docs: man:upowerd(8)
   Main PID: 962 (upowerd)
      Tasks: 3 (limit: 3430)
     Memory: 2.4M
     CGroup: /system.slice/upower.service
             └─962 /usr/libexec/upowerd

Oct 16 09:43:12 SASH-Laptop systemd[1]: Starting Daemon for power management...
Oct 16 09:48:39 SASH-Laptop systemd[1]: Started Daemon for power management.
lines 1-12/12 (END)

相關內容