Ubuntu的Upstart错误

我正在运行的Ubuntu 10.04 LTS,并试图通过启动,停止,状态运行服务,我得到下面的相应的错误。 我search了一下,但一切都像2 – 3年,没有答案。

status: Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory 

哦,好吧,我想出来了… …由于某种原因,虽然服务工作之前,dbus没有安装..? 不知道发生了什么,反正sudo apt-get install dbus工作。

也许你只是忘记运行sudo:sudo service xxxx status。

我面临同样的问题。 只是想通了。