当我尝试执行 systemctl 时遇到问题。
$ systemctl status consul.service
Failed to get properties: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
答案1
我也有类似的问题。不知为何,systemd1
每周似乎会崩溃 1-2 次并进入“可激活”状态。
输出busctl --list | grep systemd1
为:
org.freedesktop.systemd1 - - - (activatable) - -
输出为dpkg -l | grep systemd-shim
空。
输出来自dpkg -S org.freedesktop.systemd1
:
systemd: /usr/share/dbus-1/services/org.freedesktop.systemd1.service
systemd: /usr/share/polkit-1/actions/org.freedesktop.systemd1.policy
systemd: /usr/share/dbus-1/system.d/org.freedesktop.systemd1.conf
systemd: /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service
我已经能够重新启动它,sudo kill 1
但感觉不太好......