首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >未能完全启动守护进程:连接超时

未能完全启动守护进程:连接超时
EN

Server Fault用户
提问于 2018-01-15 12:26:30
回答 1查看 6K关注 0票数 2

在几次Ubuntu更新之后,这种情况开始发生。无论是通过使用LDAP客户端还是通过本地用户登录到此服务器,都需要很长时间才能进行身份验证和登录。

/var/log/auth.log:

代码语言:javascript
复制
Jan 14 06:19:16 norwich systemd-logind[18114]: Failed to fully start up daemon: Connection timed out
Jan 14 06:19:41 norwich systemd-logind[18225]: Failed to enable subscription: Connection timed out
Jan 14 06:19:41 norwich systemd-logind[18225]: Failed to fully start up daemon: Connection timed out
Jan 14 06:19:41 norwich dbus[929]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Jan 14 06:20:06 norwich systemd-logind[18329]: Failed to enable subscription: Connection timed out
Jan 14 06:20:06 norwich systemd-logind[18329]: Failed to fully start up daemon: Connection timed out
Jan 14 06:20:06 norwich dbus[929]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Jan 14 06:20:31 norwich systemd-logind[18441]: Failed to enable subscription: Connection timed out
Jan 14 06:20:31 norwich dbus[929]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Jan 14 06:20:31 norwich systemd-logind[18441]: Failed to fully start up daemon: Connection timed out
Jan 14 06:20:56 norwich systemd-logind[18552]: Failed to enable subscription: Connection timed out
Jan 14 06:20:56 norwich dbus[929]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Jan 14 06:20:56 norwich systemd-logind[18552]: Failed to fully start up daemon: Connection timed out
Jan 14 06:21:21 norwich systemd-logind[18665]: Failed to enable subscription: Connection timed out
Jan 14 06:21:21 norwich systemd-logind[18665]: Failed to fully start up daemon: Connection timed out
Jan 14 06:21:21 norwich dbus[929]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out

服务器正在使用Ubuntu 16.04 LTS,并且:

代码语言:javascript
复制
Linux norwich 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9 19:52:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

我已经重新启动了服务器,没有任何效果。

这是日志日志:

代码语言:javascript
复制
Jan 15 13:01:03 norwich dbus[929]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Jan 15 13:01:03 norwich systemd[1]: systemd-logind.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 13:01:03 norwich systemd[1]: Failed to start Login Service.
Jan 15 13:01:03 norwich systemd[1]: systemd-logind.service: Unit entered failed state.
Jan 15 13:01:03 norwich systemd[1]: systemd-logind.service: Failed with result 'exit-code'.
Jan 15 13:01:03 norwich systemd[1]: systemd-logind.service: Service has no hold-off time, scheduling restart.
Jan 15 13:01:03 norwich systemd[1]: Stopped Login Service.
Jan 15 13:01:03 norwich systemd[1]: Starting Login Service...
Jan 15 13:01:03 norwich systemd[1]: Failed to forward Released message: No buffer space available
Jan 15 13:01:03 norwich systemd[1]: Failed to forward Released message: No buffer space available
Jan 15 13:01:28 norwich systemd-logind[11142]: Failed to enable subscription: Connection timed out
Jan 15 13:01:28 norwich systemd-logind[11142]: Failed to fully start up daemon: Connection timed out
Jan 15 13:01:28 norwich dbus[929]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Jan 15 13:01:28 norwich systemd[1]: systemd-logind.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 13:01:28 norwich systemd[1]: Failed to start Login Service.
Jan 15 13:01:28 norwich systemd[1]: systemd-logind.service: Unit entered failed state.
Jan 15 13:01:28 norwich systemd[1]: systemd-logind.service: Failed with result 'exit-code'.
Jan 15 13:01:28 norwich systemd[1]: systemd-logind.service: Service has no hold-off time, scheduling restart.
Jan 15 13:01:28 norwich systemd[1]: Stopped Login Service.
Jan 15 13:01:28 norwich systemd[1]: Starting Login Service...
Jan 15 13:01:28 norwich systemd[1]: Failed to forward Released message: No buffer space available
Jan 15 13:01:53 norwich dbus[929]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Jan 15 13:01:53 norwich systemd-logind[11146]: Failed to enable subscription: Failed to activate service 'org.freedesktop.systemd1': timed out
Jan 15 13:01:53 norwich systemd-logind[11146]: Failed to fully start up daemon: Connection timed out
Jan 15 13:01:53 norwich systemd[1]: systemd-logind.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 13:01:53 norwich systemd[1]: Failed to start Login Service.
Jan 15 13:01:53 norwich systemd[1]: systemd-logind.service: Unit entered failed state.
Jan 15 13:01:53 norwich systemd[1]: systemd-logind.service: Failed with result 'exit-code'.
Jan 15 13:01:53 norwich systemd[1]: systemd-logind.service: Service has no hold-off time, scheduling restart.
Jan 15 13:01:53 norwich systemd[1]: Stopped Login Service.
Jan 15 13:01:53 norwich systemd[1]: Starting Login Service...
Jan 15 13:01:53 norwich systemd[1]: Failed to forward Released message: No buffer space available
Jan 15 13:02:18 norwich systemd-logind[11150]: Failed to enable subscription: Connection timed out
Jan 15 13:02:18 norwich dbus[929]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Jan 15 13:02:18 norwich systemd-logind[11150]: Failed to fully start up daemon: Connection timed out
Jan 15 13:02:18 norwich systemd[1]: systemd-logind.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 13:02:18 norwich systemd[1]: Failed to start Login Service.
EN

回答 1

Server Fault用户

发布于 2019-08-20 15:41:29

这可能与以下方面有关:

  • /var/run和/run没有符号链接。
  • 您有一个有缺陷的dbus版本,请参阅https://bugs.freedesktop.org/show_bug.cgi?id=95263 --这似乎在dbus 1.11.10和一些补丁版本的1.10.x中得到了修正(在我看来,dbus 1.10.24-12.el7_6已经停止了,但也可能是巧合)。
票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/892244

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档