Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dbus problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pieterprovoost
n00b
n00b


Joined: 13 Aug 2005
Posts: 57

PostPosted: Wed Aug 17, 2005 7:17 pm    Post subject: dbus problems Reply with quote

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
View user's profile Send private message
lavacano
Apprentice
Apprentice


Joined: 29 May 2005
Posts: 190
Location: Poulsbo, WA

PostPosted: Wed Aug 17, 2005 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
pieterprovoost
n00b
n00b


Joined: 13 Aug 2005
Posts: 57

PostPosted: Thu Aug 18, 2005 7:41 am    Post subject: Reply with quote

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
View user's profile Send private message
lavacano
Apprentice
Apprentice


Joined: 29 May 2005
Posts: 190
Location: Poulsbo, WA

PostPosted: Thu Aug 18, 2005 8:26 am    Post subject: Reply with quote

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

Code:
emerge udev dbus


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
View user's profile Send private message
pieterprovoost
n00b
n00b


Joined: 13 Aug 2005
Posts: 57

PostPosted: Thu Aug 18, 2005 11:09 am    Post subject: Reply with quote

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
View user's profile Send private message
pieterprovoost
n00b
n00b


Joined: 13 Aug 2005
Posts: 57

PostPosted: Thu Aug 18, 2005 4:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ceh
n00b
n00b


Joined: 07 Jan 2005
Posts: 16

PostPosted: Thu Aug 18, 2005 4:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
pieterprovoost
n00b
n00b


Joined: 13 Aug 2005
Posts: 57

PostPosted: Thu Aug 18, 2005 4:50 pm    Post subject: Reply with quote

I have no idea. I just emerged dbus (0.23.4).
Back to top
View user's profile Send private message
Ceh
n00b
n00b


Joined: 07 Jan 2005
Posts: 16

PostPosted: Thu Aug 18, 2005 5:05 pm    Post subject: Reply with quote

Try version 0.23-r3.
Back to top
View user's profile Send private message
pieterprovoost
n00b
n00b


Joined: 13 Aug 2005
Posts: 57

PostPosted: Thu Aug 18, 2005 5:10 pm    Post subject: Reply with quote

How do I emerge this specific version (sorry, this is all very new to me)?
Back to top
View user's profile Send private message
Ceh
n00b
n00b


Joined: 07 Jan 2005
Posts: 16

PostPosted: Thu Aug 18, 2005 5:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
pieterprovoost
n00b
n00b


Joined: 13 Aug 2005
Posts: 57

PostPosted: Thu Aug 18, 2005 5:36 pm    Post subject: Reply with quote

This file doesn't exist here...
Back to top
View user's profile Send private message
pieterprovoost
n00b
n00b


Joined: 13 Aug 2005
Posts: 57

PostPosted: Thu Aug 18, 2005 11:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Merlin-TC
l33t
l33t


Joined: 16 May 2003
Posts: 603
Location: Germany

PostPosted: Wed Aug 31, 2005 10:31 am    Post subject: Reply with quote

I am having the same problem.
Any news or insights on how to fix it?
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Tue Nov 29, 2005 6:13 am    Post subject: Reply with quote

It's in /etc/dbus-1/system.conf.
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
cbushnell
n00b
n00b


Joined: 17 Feb 2006
Posts: 2

PostPosted: Fri Feb 17, 2006 10:53 am    Post subject: I have same problem.... Reply with quote

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
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Fri Feb 17, 2006 11:14 am    Post subject: Re: I have same problem.... Reply with quote

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
View user's profile Send private message
cbushnell
n00b
n00b


Joined: 17 Feb 2006
Posts: 2

PostPosted: Fri Feb 17, 2006 12:00 pm    Post subject: Old versions? Reply with quote

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
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Fri Feb 17, 2006 12:13 pm    Post subject: Re: Old versions? Reply with quote

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
Code:
emerge --sync
on a regular basis ... Try
Code:
glsa-check -t all
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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum