[Bug 811441] Re: Unable to connect to the system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused (oneiric)

RawwrBag 811441 at bugs.launchpad.net
Fri Oct 14 07:46:43 UTC 2011


*** This bug is a duplicate of bug 858122 ***
    https://bugs.launchpad.net/bugs/858122

@daemonrebel:

The following worked for me (borrowed from post #9):

You need to
(i) create directories /run and /run/lock,
(ii) move contents of /var/run into /run and /var/lock into /run/lock,
(iii) delete directories /var/run and /var/lock
(iv) create replacement simlinks; e.g. 'ln -s /run /var/run' and 'ln -s /run/lock /var/lock'

If you've never messed too much with Linux, it will be a little tricky.
I booted w/o recovery console (it gets stuck in read only mode for me
sometimes). Once you get to point where it's hanging and failing to boot
further, hit ctrl-alt-F1. This will bring you to a virtual terminal. Log
in as root or as a sudoer (you should be one). Attempt to move all the
contents of the folders as described, like:

mkdir /run
mv /var/run/* /run]

etc.

If there is anything in these folders you cannot move or delete, it's
possible it is a special mount point file. If rm <file> fails, try
umount -fl <file> then attempt rm <file> again. After you move all of
the contents, create the symlinks, reboot, and you should be okay.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dbus in Ubuntu.
https://bugs.launchpad.net/bugs/811441

Title:
  Unable to connect to the system bus: Failed to connect to socket
  /var/run/dbus/system_bus_socket: Connection refused (oneiric)

Status in “dbus” package in Ubuntu:
  Confirmed

Bug description:
  The dbus service doesn't start correctly. 
  This happens since version dbus_1.4.12-4ubuntu2_amd64.

  
  Jul 16 11:15:41 desktop kernel: [  855.230791] init: dbus main process (2079) terminated with status 1
  Jul 16 11:15:41 desktop kernel: [  855.230812] init: dbus main process ended, respawning
  Jul 16 11:15:41 desktop kernel: [  855.234366] init: Unable to connect to the system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
  Jul 16 11:15:41 desktop kernel: [  855.234404] init: plymouth-upstart-bridge main process (2081) terminated with status 1
  Jul 16 11:34:35 desktop kernel: [ 1988.064675] init: dbus main process (2452) terminated with status 1
  Jul 16 11:34:35 desktop kernel: [ 1988.064706] init: dbus main process ended, respawning
  Jul 16 11:34:35 desktop kernel: [ 1988.069952] init: Unable to connect to the system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
  Jul 16 11:34:35 desktop kernel: [ 1988.069994] init: plymouth-upstart-bridge main process (2454) terminated with status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/811441/+subscriptions




More information about the foundations-bugs mailing list