linux Failed to connect to socket /var/run/dbus/system_bus_socket: No such file
在执行service cron status的时候,可能会发现这样的错误:
Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
解决方法时安装系统间用来进行消息传递的dbus:
1、sudo apt-get install dbus
2、启动dbus:sudo /etc/init.d/dbus start, ubantu会提示使用service dbus start来进行启动,于是使用
service dbus start来启动即可。
然后再运行service cron start,service cron status即可正确执行。
相关推荐
一叶梧桐 2020-10-14
lzzyok 2020-10-10
digwtx 2020-09-14
efeve 2020-09-14
poplpsure 2020-08-17
ITxiaobaibai 2020-07-26
libowenhit 2020-07-23
luckykapok 2020-07-06
hongsheyoumo 2020-06-27
jannal 2020-06-21
lanmantech 2020-06-16
咻咻ing 2020-06-16
weibingbingnet 2020-06-14
woyanyouxin 2020-06-04
houjinkai 2020-06-03
txj 2020-06-02
Chydar 2020-05-15