You are not logged in.

#1 2006-12-24 11:42:46

mini
Member
Registered: 2006-12-18
Posts: 132

Problem with dbus and hal [SOLVED]

When I will start dbus and hal I get followin error:

# # /etc/rc.d/hal start
:: Starting D-BUS system messagebus                                          [BUSY] Failed to start message bus: Could not get UID and GID for username "81"
                                                                             [FAIL]
:: Starting Hardware Abstraction Layer                                       [FAIL]
# /etc/rc.d/dbus start
:: Starting D-BUS system messagebus                                          [BUSY] Failed to start message bus: Could not get UID and GID for username "81"

Offline

#2 2006-12-24 12:00:49

hightower
Member
Registered: 2006-04-02
Posts: 182

Re: Problem with dbus and hal [SOLVED]

Have you got a user named dbus?

# less /etc/group

If not make the following:

# usr/sbin/groupadd -g 81 dbus
# usr/sbin/useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus

Additionally make sure that dbus is started before hal, change the order in your /etc/rc.conf.

hightower

Offline

#3 2006-12-24 12:25:12

dienadel
Member
Registered: 2005-12-23
Posts: 179

Re: Problem with dbus and hal [SOLVED]

hightower wrote:

Additionally make sure that dbus is started before hal, change the order in your /etc/rc.conf.

HAL starts dbus if it isn't up, so, putting only HAL in rc.conf is enough

Bye!

Offline

#4 2006-12-24 12:27:30

mini
Member
Registered: 2006-12-18
Posts: 132

Re: Problem with dbus and hal [SOLVED]

Thank you, it is working now.

Offline

#5 2007-05-15 15:19:37

strike_anywhere
Member
Registered: 2005-12-24
Posts: 9

Re: Problem with dbus and hal [SOLVED]

Hi.
I have this error when starting " hald --verbose=yes daemon=no " :

[root@evil log]# hald --verbose=yes --daemon=no
17:12:08.402 [i] hald.c:532: hal 0.5.9
17:12:08.402 [i] hald.c:597: Will not daemonize
17:12:08.403 [i] hald_dbus.c:4806: local server is listening at unix:abstract=/var/run/hald/dbus-Y5yI6kou43,guid=b3a6b46955380139996896004649cdc8
Runner started - allowed paths are '/usr/lib/hal:/usr/lib/hal/scripts:/usr/bin'
17:12:08.414 [i] hald_runner.c:299: Runner has pid 4574
17:12:08.417 [W] ci-tracker.c:200: Could not get uid for connection: org.freedesktop.DBus.Error.NameHasNoOwner Could not get UID of name 'org.freedesktop.DBus': no such name
17:12:08.417 [E] hald_dbus.c:4461: Cannot get caller info for org.freedesktop.DBus
17:12:08.417 [i] hald_runner.c:180: runner connection is 0x8091888
17:12:08.419 [i] mmap_cache.c:251: cache mtime is 1179241633
*** [DIE] osspec.c:watch_fdi_files():349 : Unable to initialize inotify: Function not implemented

Help me!!

Offline

#6 2007-05-15 16:33:02

detto
Member
Registered: 2006-01-23
Posts: 510

Re: Problem with dbus and hal [SOLVED]

Why you want to start it with hald, you got a nice script in /etc/rc.d/ for this wink

Offline

#7 2008-11-06 07:58:54

rocknrolf77
Member
From: Oslo, Norway
Registered: 2007-05-07
Posts: 68

Re: Problem with dbus and hal [SOLVED]

Thank's, this fixed my issue to.

Offline

Board footer

Powered by FluxBB