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:Nach dem Update zu Ubuntu 11.10 Oneiric Ocelot bekam ich folgende Meldung wärend des Systemstarts:

Waiting for network configuration

It takes a long time and leads to a black screen.Es dauerte eine Weile und führte zu einem schwarzen Bildschirm.

You can see the following message sometimes, too.Außerdem bekommt man manchmal folgende Meldung:

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/”Die schnelle Lösung war die dbus-Dateien im Verzeichnis “/var/run/dbus/” zu löschen:

rm /var/run/dbus/*

and reboot the system.und anschließend das System neu zu starten.

But you will get the same problem again after the next reboot.Allerdings wird man das selbe Problem nach dem nächsten Neustart wieder haben.

A stable solution is to move the “/var/run” and “/var/lock” directories.Eine stabile Lösung ist es die Verzeichnisse “/var/run” und “/var/lock” zu verschieben.

First move all contents from “/var/run” into “/run” and from “/var/lock” into “/run/lock”.Dazu verschiebt man zuerst die Inhalte von “/var/run” nach “/run” und die Inhalte von “/var/lock” nach “/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.Falls man VMWare installiert haben sollte (z.B. den VMWare Player) muss man zuerst “vmblock-fuse” unmounten, bevor man den Inhalt verschieben kann.

umount /var/run/vmblock-fuse

Now delete “/var/run” and “/var/lock”:Nun das Verzeichnis “/var/run” und “/var/lock” löschen

rmdir /var/run
rmdir /var/lock

and replace them with symlinks to the new destination:und anschließend durch Symlinks ersetzen:

ln -s /run /var/run
ln -s /run/lock /var/lock

Now reboot your system.danach das System neu starten.

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

This Post Has 16 Comments

  1. Super. Many thx!!!

  2. Ich könnte dich küssen, bin vollkommen verzweifelt gewesen.

  3. Very helpful. Thanks!

  4. 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?

  5. hits the spot 🙂 100% of what i looked for
    Dzięki śliczne 🙂

  6. Thank’s it works.
    I would never find the mistake.

    Ich bin nicht gut genug in Ubuntu 🙂

  7. 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.

  8. 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.

  9. hast du gerade gemacht 🙂

    War bei mir jedoch nicht notwendig.

  10. 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.

  11. Bei mir funtzts immer noch nich

  12. 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.

  13. Ich liebe dich! Danke!

Schreibe einen Kommentar zu dj_palindrome Antworten abbrechen

eMail-Benachrichtigung bei weiteren Kommentaren.
Auch möglich: Abo ohne Kommentar.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.