无法连接到套接字 /var/run/dbus/system_bus_socket:没有此文件或目录

无法连接到套接字 /var/run/dbus/system_bus_socket:没有此文件或目录

我的 Centos 6.6 服务器宕机了,Phusion Passanger 拒绝启动并出现以下错误:

stdin: is not a tty

/etc/init/delayed_job.conf: line 7: description: command not found
start: Unable to connect to system bus: Failed to connect to socket   /var/run/dbus/system_bus_socket: No such file or directory
stop: Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

以下是delayed_job.conf的内容:

description "Start up the delayed_job service"

start on runlevel [2345]
stop on runlevel [06]

script
    exec 2>&1
    exec su - training -c 'cd /home/training/nyim/current; RAILS_ENV=production exec bundle exec ruby ./script/delayed_job run' >> /home/training/nyim/curr$
end script

文件夹 /var/run/dbus/ 缺少 system_bus_socket 和 pid 文件。

任何线索都会很有用,我很困惑为什么会发生这种情况。

我可以启动“service messagebus start”服务,但这没有帮助。

相关内容