在使用reboot命令重启操作系统时,可能会遇到无法正常执行的情况,并出现如下报错信息:
# reboot Failed to start reboot.target: Failed to activate service 'org.freedesktop.systemd1': timed out See system logs and 'systemctl status reboot.target' for details. # init 6 Failed to start reboot.target: Failed to activate service 'org.freedesktop.systemd1': timed out See system logs and 'systemctl status reboot.target' for details. # shutdown -Fr now Failed to start reboot.target: Failed to activate service 'org.freedesktop.systemd1': timed out See system logs and 'systemctl status reboot.target' for details.
检查messages日志
# cat /var/log/messages dbus[1370]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out dbus[1370]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out dbus[1370]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
解决方案
原创文章,作者:保哥,如若转载,请注明出处:https://www.shizhanxia.com/1875.html