[clug] dbus and hald problem

Rainer Klein rklein at tpg.com.au
Sun Mar 22 23:29:46 GMT 2009


Looking at your error message, I would guess there is an access right issue 
involved.

Here is an output from my openSuSE box:

> ls -arl /var/*/*dbus*
/var/run/dbus:
total 5
srwxrwxrwx  1 root       root          0 2009-03-15 20:08 system_bus_socket
-rw-r--r--  1 root       root          5 2009-03-15 20:08 pid
drwxr-xr-x 23 root       root       1384 2009-03-22 20:16 ..
drwxr-xr-x  2 messagebus messagebus  112 2009-03-15 20:08 .

/var/lib/dbus:
total 5
-rw-r--r--  1 root root   33 2008-06-10 22:38 machine-id
drwxr-xr-x 42 root root 1096 2009-02-22 21:29 ..
drwxr-xr-x  2 root root   80 2008-06-10 22:38 .

Further, the related init script on my openSuSE system is not labeld 
as 'messagebus', but as 'dbus' script. So one checks for it like:

> chkconfig --list dbus
dbus                      0:off  1:off  2:on   3:on   4:off  5:on   6:off

I hope this is of any help to you.

Regards,
Rainer

On Sun, 22 Mar 2009, Adrian wrote:
> I am trying to resolve a problem with hald and dbus.
>
> Here are some diagnostics:
>
>
> [adrian at adios ~]$ sudo service messagebus restart
> Stopping system message bus:                                    [FAILED]
> Starting system message bus: Failed to start message bus: Failed to bind
> socket "/var/run/dbus/system_bus_socket": No such file or directory
> [FAILED] [adrian at adios ~]$
>
> sudo chkconfig --list messagebus
> messagebus      0:off   1:off   2:off   3:off   4:off   5:off   6:off
>
>
> lshal
> error: dbus_bus_get: org.freedesktop.DBus.Error.FileNotFound: Failed to
> connect to socket /var/run/dbus/system_bus_socket: No such file or
> directory
>
> Any suggestions?
>
>
>
> Adrian Blake
> Molonglo Radio Observatory
> 1152 Hoskinstown Rd
> Bungendore
> NSW 2621
> ph 02 80042212




More information about the linux mailing list