系统日志/var/log/messages,发现产生大量 错误信息:

“core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: 没有那个文件或目录”

经排查服务器系统安装了gnome桌面程序,启动vncserver即产生上述错误信息。
检查发现linux服务经过优化,没有启动服务:

haldaemon
messagebug

解决方案:

>1、启动服务(顺序启动):
sudo service messagebus start
sudo service haldaemon start
>2、设置服务自启动
sudo chkconfig --level 2345 messagebus on
sudo chkconfig --level 2345 haldaemon on

相关文章:

  • 2021-11-24
  • 2021-06-13
  • 2020-11-17
  • 2022-12-23
  • 2021-07-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-07
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2021-12-17
  • 2021-07-30
相关资源
相似解决方案