Fix Ubuntu 11.10 Oneiric Ocelot dbus Problem
After uprade to Ubuntu 11.10 Oneiric Ocelot i get the following message during the system boot:
Waiting for network configuration
It takes a long time and leads to a black screen.
You can see the following message sometimes, too.
Unable to connect to the system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
The quick fix was to delete zu dbus files in “/var/run/dbus/”
rm /var/run/dbus/*
and reboot the system.
But you will get the same problem again after the next reboot.
A stable solution is to move the “/var/run” and “/var/lock” directories.
First move all contents from “/var/run” into “/run” and from “/var/lock” into “/run/lock”.
mv /var/run/* /run/ mv /var/lock/* /run/lock/
Note: If you have installed VMWare you have to unmount “vmblock-fuse”. Before moving the content.
umount /var/run/vmblock-fuse
Now delete “/var/run” and “/var/lock”:
rmdir /var/run rmdir /var/lock
and replace them with symlinks to the new destination:
ln -s /run /var/run ln -s /run/lock /var/lock
Now reboot your system.
Links:
* https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/811441
* https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/856810
* http://forum.ubuntuusers.de/topic/nach-upgrade-problem-mit-dem-networkmanager/#post-3473007
Convert PDF to Image Encrypt your USB Stick


Super. Many thx!!!
Ich könnte dich küssen, bin vollkommen verzweifelt gewesen.
Very helpful. Thanks!
Worked just as you said it would — thank you very much. Any chance you could explain to a novice what the problem was and why this fixes it?
hits the spot
100% of what i looked for
Dzięki śliczne
Da muss ich dich preisen, danke für den superpräzisen Lösungsansatz!
Thank’s it works.
I would never find the mistake.
Ich bin nicht gut genug in Ubuntu
Many thanks.
What is simply beyond belief is that the wretchedly botched /run transition, glaringly obvious since the earliest alpha builds, simply sailed through the entire development cycle unfixed.
This is the latest Ubuntu release of abysmal quality.
vielleicht könntest du noch hinzufügen das man um die verzeichnisse überhaupt verschieben zu können das system im single user mode starten kann.
z.B. indem man im grub “e” danach auf der zweiten zeile nochmals “e” und dort am schluss der zeile “single” anfügen und danach “b” eingeben muss.
hast du gerade gemacht
War bei mir jedoch nicht notwendig.
Danke, hat super geklappt!
Leider komm ich nur noch über Netzwerk bzw ssh auf den PC, kann ich aber mit leben, weil es ein Server ist.
Bei mir funtzts immer noch nich
Paar mehr Details könnten hilfreich sein …
After wasting continues 6 hours with black screen, (Now I’m Hungry) , I just removed the package “dbus” at last it solved the problem, i tested it by restarting 5 times,
heee heeeee, it worked for me.