Loading

Activation of org.freedesktop.systemd1 timed out

重启linux(Suse12-SP2)主机的rsyslog服务时出现 Activation of org.freedesktop.systemd1 timed out的错误。使用systemd操作其他的服务时也会出现这个错误。

按照网上的方法dbus和systemd-logind服务,不能解决问题。

ZJHZ:~ # systemctl restart rsyslog
Failed to restart rsyslog.service: Activation of org.freedesktop.systemd1 timed out
ZJHZ:~ # systemctl restart dbus
Failed to restart dbus.service: Connection timed out
ZJHZ:~ # systemctl restart systemd-logind
Failed to restart systemd-logind.service: Activation of org.freedesktop.systemd1 timed out

系统日志中也有同样的报错

dbus[1015]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out

这个问题应该是suse12sp2 systemd的bug。这种现象在我司私有阿里云平台为普遍情况,表现为不能使用systemctl 对服务进行管理,ssh登录特别慢等。

解决办法:升级systemd,并重启系统。通常这个bug触发时无法通过命令重启系统,可以在升级完systemd后强制重启系统。

可参考:
https://access.redhat.com/discussions/3536621
https://access.redhat.com/solutions/3900301
https://bugzilla.redhat.com/show_bug.cgi?id=1531486

posted @ 2020-12-06 15:40  五月的麦田  阅读(5540)  评论(2编辑  收藏  举报