首页 > 代码库 > /var/run/dbus/system_bus_socket no such file or directory

/var/run/dbus/system_bus_socket no such file or directory

参考:http://fixmyos.blogspot.jp/2011/10/failed-to-connect-to-socket.html

/var/run/dbus/system_bus_socket no such file or directory

Solution:
Check if messagebus service is turned on:
chkconfig --list messagebus

If messagebus is turned off, turn it on:
chkconfig messagebus on

Now it should look something like this:
chkconfig --list messagebus
messagebus 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Then just reboot your server:
shutdown -r now

/var/run/dbus/system_bus_socket no such file or directory