修复reboot命令超时错误

在使用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.yunweixia.com/solutions/fix-reboot-command-timeout-error.html

(0)
运维侠的头像运维侠共建用户
上一篇 2025年6月11日 18:11
下一篇 2025年6月13日 18:11

相关推荐

发表回复

登录后才能评论