View previous topic :: View next topic |
Author |
Message |
pieterprovoost n00b
Joined: 13 Aug 2005 Posts: 57
|
Posted: Wed Aug 17, 2005 7:17 pm Post subject: dbus problems |
|
|
When booting I get an error message saying "error connecting so system bus", "var/run/dbus/system_bus_socket: no such file or directory" and "failed to initialize HAL" (is there a boot log file by the way?).
When I try to stop dbus I get
Code: |
tux pieter # /etc/init.d/dbus stop
* Stopping Hardware Abstraction Layer daemon ... [ !! ]
* ERROR: problems stopping dependent services.
* "dbus" is still up.
|
I already tried re-emerging, but that didn't work. Can anyone please hlep me out? |
|
Back to top |
|
|
lavacano Apprentice
Joined: 29 May 2005 Posts: 190 Location: Poulsbo, WA
|
Posted: Wed Aug 17, 2005 7:51 pm Post subject: |
|
|
do ps ax | grep dbus-daemon
and do a kill -9 (or just issue killall -9 dbus-daemon-1)
then
/etc/init.d/dbus zap
/etc/init.d/dbus start _________________ Sincerely,
Chadwick Ferguson |
|
Back to top |
|
|
pieterprovoost n00b
Joined: 13 Aug 2005 Posts: 57
|
Posted: Thu Aug 18, 2005 7:41 am Post subject: |
|
|
I was able to stop dbus like this, but when shutting down I get an error at "stoppiung dbus" and at boot the same errors as before appear... |
|
Back to top |
|
|
lavacano Apprentice
Joined: 29 May 2005 Posts: 190 Location: Poulsbo, WA
|
Posted: Thu Aug 18, 2005 8:26 am Post subject: |
|
|
pieterprovoost wrote: | I was able to stop dbus like this, but when shutting down I get an error at "stoppiung dbus" and at boot the same errors as before appear... |
ok try
after stopping the service again
make sure your CFLAGS, CXXFLAGS, LDFLAGS have -no-ricing-at-all
if that doesnt work, then lets see
Code: | emerge baselayout hotplug-base udev libusb usbutils hotplug dbus |
and that is a pretty short emerge too, but again make sure you use the vanilla *FLAGS. I hope THAT will solve it, if it doesnt your problem may have been at the kernel level... If it doesnt solve it post your emerge info. _________________ Sincerely,
Chadwick Ferguson |
|
Back to top |
|
|
pieterprovoost n00b
Joined: 13 Aug 2005 Posts: 57
|
Posted: Thu Aug 18, 2005 11:09 am Post subject: |
|
|
The problem is still there. Is there no transcript/logfile of the boot? In that case I could show you exactly which errors I'm getting. When shutting down I get an error at "stopping Hardware Abstraction Layer Daemon".
Thanks again... |
|
Back to top |
|
|
pieterprovoost n00b
Joined: 13 Aug 2005 Posts: 57
|
Posted: Thu Aug 18, 2005 4:00 pm Post subject: |
|
|
I get exactly the same problem as here: http://lists.freedesktop.org/pipermail/dbus/2004-November/001711.html but the solution doesn't work for me.
Code: |
Error connecting to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
** WARNING **: manager.c/900: failed to iinitialize HAL!
|
|
|
Back to top |
|
|
Ceh n00b
Joined: 07 Jan 2005 Posts: 16
|
Posted: Thu Aug 18, 2005 4:47 pm Post subject: |
|
|
Are you using the latest and unstable version of dbus? I had similar problems with hal. Switching to stable version of dbus solved the problems. |
|
Back to top |
|
|
pieterprovoost n00b
Joined: 13 Aug 2005 Posts: 57
|
Posted: Thu Aug 18, 2005 4:50 pm Post subject: |
|
|
I have no idea. I just emerged dbus (0.23.4). |
|
Back to top |
|
|
Ceh n00b
Joined: 07 Jan 2005 Posts: 16
|
Posted: Thu Aug 18, 2005 5:05 pm Post subject: |
|
|
Try version 0.23-r3. |
|
Back to top |
|
|
pieterprovoost n00b
Joined: 13 Aug 2005 Posts: 57
|
Posted: Thu Aug 18, 2005 5:10 pm Post subject: |
|
|
How do I emerge this specific version (sorry, this is all very new to me)? |
|
Back to top |
|
|
Ceh n00b
Joined: 07 Jan 2005 Posts: 16
|
Posted: Thu Aug 18, 2005 5:24 pm Post subject: |
|
|
You probably have line including dbus in your /etc/portage/package.keywords file. Remove or comment out dbus in that file and you get automatically the latest stable version of dbus which is currently 0.23-r3. |
|
Back to top |
|
|
pieterprovoost n00b
Joined: 13 Aug 2005 Posts: 57
|
Posted: Thu Aug 18, 2005 5:36 pm Post subject: |
|
|
This file doesn't exist here... |
|
Back to top |
|
|
pieterprovoost n00b
Joined: 13 Aug 2005 Posts: 57
|
Posted: Thu Aug 18, 2005 11:54 pm Post subject: |
|
|
system_bus_socket IS present in /var/lib/dbus, so I tried adding this line in /etc/env.d/00basic and doing env-update:
DBUS_SYSTEM_BUS_ADDRESS="/var/lib/dbus/system_bus_socket"
However, at boot I still get an error saying that /var/run/dbus/system_bus_socket (the other path) is missing. Is it correct that /var/lib/dbus/system_bus_socket is the correct path? Then how can I solve my problem?
Thanks in advance |
|
Back to top |
|
|
Merlin-TC l33t
Joined: 16 May 2003 Posts: 603 Location: Germany
|
Posted: Wed Aug 31, 2005 10:31 am Post subject: |
|
|
I am having the same problem.
Any news or insights on how to fix it? |
|
Back to top |
|
|
frilled Retired Dev
Joined: 15 Mar 2004 Posts: 386 Location: Atlantis, inner city ring
|
Posted: Tue Nov 29, 2005 6:13 am Post subject: |
|
|
It's in /etc/dbus-1/system.conf. _________________ "Failure is not an option!"
"Sir, we are out of further options." |
|
Back to top |
|
|
cbushnell n00b
Joined: 17 Feb 2006 Posts: 2
|
Posted: Fri Feb 17, 2006 10:53 am Post subject: I have same problem.... |
|
|
only 1 minor difference. I have NO system_bus_socket file anywhere on my pc. I've seen quite a few forums that said make a symbolic link
Code: | ln -s /var/run/dbus/system_bus_socket /var/lib/dbus/system_bus_socket -f |
This didn't work for me because again, the file doesn't exist anywhere. Of course I didn't realize this until I'd already created the link, so that caused other problems..... but hey...
I currently have dbus 0.23.4-r1 installed and hal 0.4.7-r2.
Any help would be greatly appreciated. |
|
Back to top |
|
|
frilled Retired Dev
Joined: 15 Mar 2004 Posts: 386 Location: Atlantis, inner city ring
|
Posted: Fri Feb 17, 2006 11:14 am Post subject: Re: I have same problem.... |
|
|
Quote: | I currently have dbus 0.23.4-r1 installed and hal 0.4.7-r2. |
Any reason you keep the old versions around? Latest stable dbus is 0.60-r3, hal 0.5.5.1-r3.
May be easier to update than trying to fix the old ones .... _________________ "Failure is not an option!"
"Sir, we are out of further options." |
|
Back to top |
|
|
cbushnell n00b
Joined: 17 Feb 2006 Posts: 2
|
Posted: Fri Feb 17, 2006 12:00 pm Post subject: Old versions? |
|
|
If I do an emerge search for the dbus and hal, those are the versions that are listed..... Maybe I need to update my list? |
|
Back to top |
|
|
frilled Retired Dev
Joined: 15 Mar 2004 Posts: 386 Location: Atlantis, inner city ring
|
Posted: Fri Feb 17, 2006 12:13 pm Post subject: Re: Old versions? |
|
|
cbushnell wrote: | If I do an emerge search for the dbus and hal, those are the versions that are listed..... Maybe I need to update my list? |
You should definitely on a regular basis ... Try once in a while, too (needs the "gentoolkit" package, which should kinda be in the default profiles IMHO) ... _________________ "Failure is not an option!"
"Sir, we are out of further options." |
|
Back to top |
|
|
|