UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Below is what I was referring to, when I wrote "can you explain what the last post means in the first link, and how to do it":
"For some reason (probably related to the unchecking of dbus in the Services app), in /etc/rc2.d the startup script for dbus was S50dbus while hal was S24hal. I didn't know run level 2 was used but just trying anything I mv'ed S50dbus to S12dbus and all works fine again."
I do not know enough about Ubuntu startup scripts to tell if the execution order affects your issue or not. You can definitely try and rename S50dbus to S12dbus, if it fixes your problem then we both know more.
By the way, I thought of uninstalling and reinstalling dbus, but to my horror, it lists MANY packages that will be removed with dbus.
I think, these others depend on dbus, so since dbus is being removed, they will also be removed, is that right? Or is it that these are the dependencies dbus needs, and since dbus is being removed they are not needed and will also be removed.
If it is the former, I do not want to reinstall all those after removing and installing dbus. If it is the latter, they would be automatically installed with dbus, right?
Is uninstalling and reinstalling something like dbus, which looks like a central part of the OS, even a good idea?
Looks like, although I do not have that pid file, dbus was actually started. Because, if I run
sudo service dbus start
it says "job is already running".
This may be false positive. In case your Ubuntu does not keep the pid file in /var/run but somewhere else (I hate when distros use unconventional locations) it is found and considered proof the service is running, while the process may be actually dead and the pid file is stale. What was the location mentioned in this thread earlier again? /usr/local/something ... maybe your stale pid file is somewhere there ...
This may be false positive. In case your Ubuntu does not keep the pid file in /var/run but somewhere else (I hate when distros use unconventional locations) it is found and considered proof the service is running, while the process may be actually dead and the pid file is stale. What was the location mentioned in this thread earlier again? /usr/local/something ... maybe your stale pid file is somewhere there ...
Are you referring to this?
[ 12.691095] init: Unable to connect to the D-Bus system bus: Failed to connect to socket /usr/local/var/run/dbus/system_bus_socket: Connection refused
If so, I now removed that, too, and restarted. Still the same...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.