hald not starting[Solved]

Discussions Regarding Software

Moderator: Moderators

hald not starting[Solved]

Postby Tiago » Mon Feb 04, 2008 13:45

After a couple of days of python-updater and revdep-rebuild i find myself with a nasty problem to solve, apparentlly my hald is there but not there and won't restart or do anthing for that matter...
Here's what happens:
"#hald restart" returns one fo two things:

Code: Select all
 * Starting Hardware Abstraction Layer daemon ...                                                                                                     [ !! ]
 * ERROR: hald failed to start


OR

Code: Select all
 
* Starting Hardware Abstraction Layer daemon ...
 * start-stop-daemon: /usr/sbin/hald is already running                                                                                               [ !! ]
 * ERROR: hald failed to start


After this i tried to start/stop the daemon and here's the result:

Code: Select all
localhost linux # /etc/init.d/hald stop
 * WARNING: hald is already stopped
localhost linux # /etc/init.d/hald start
 * Starting Hardware Abstraction Layer daemon ...
 * start-stop-daemon: /usr/sbin/hald is already running                                                                                               [ !! ]
 * ERROR: hald failed to start

So i decided to use the status command and it seems like the /etc/init.d/hald is not running but the /usr/sbin/hald is. Now, i had never noticed or tried to find out if in a regular situatuion they are both running, but my guess is yes... So i decided to see what goin on:

Code: Select all
 # hald --daemon=no --verbose=yes
13:25:52.821 [I] hald.c:634: hal 0.5.10
13:25:52.822 [I] hald.c:699: Will not daemonize
13:25:52.822 [I] hald_dbus.c:5285: local server is listening at unix:abstract=/var/run/hald/dbus-9SAq0oBHw5,guid=22d1e465a4788393fd1da61a47a71260
13:25:52.822 [E] hald_dbus.c:5579: dbus_bus_get(): Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused


Now, i remeber updating dbus earlier on, is there something i'm supposed to do now to get things running again?

Thanks

-----------------------------------------------

I've been tweaking my pc for a while now and i found out that the problem is definately related to the dbus, since i have problems with the avahi daemon aswell:

Code: Select all
Found user 'avahi' (UID 110) and group 'avahi' (GID 445).
Successfully dropped root privileges.
avahi-daemon 0.6.22 starting up.
dbus_bus_get_private(): Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
WARNING: Failed to contact D-Bus daemon.


So i've been searching around in the sabayon forums and the gentoo forums/wiki but all i found was some people with similar problems but no solution :? Since i updated dbus i figure that there might be something wrong with it or maybe the installation didn't go well and i missed it since it was in the midlle of some 100 packages being updated. My sys-apps/dbus version is 1.1.4.
Last edited by Tiago on Tue Feb 05, 2008 16:00, edited 1 time in total.
Tiago
Young Hen
 
Posts: 31
Joined: Mon Oct 29, 2007 17:13
Location: Madrid, Spain

Re: hald not starting

Postby watson540 » Tue Feb 05, 2008 7:34

are you running a custom kernel?

i had a problem with dbus and hald because i left 'inotify' out of the kernel
User avatar
watson540
Simple Hen
 
Posts: 78
Joined: Tue Mar 13, 2007 7:28

Re: hald not starting

Postby Tiago » Tue Feb 05, 2008 14:45

Actually i had to reconfigure kernel because in the middle of some updates i received an error about kernel not being configured so I ran the make oldconfig command just to configure kernel on top of the previous configuration. There were some new options but that wasn't a problem.
Anyway I had the nerve to restart my computer and that didn't bother me anymore, although every time i try to restart dbus , all the other daemons using it go completely nuts mainly avahi and hald, but as long as they work it's fine by me :) .
Tiago
Young Hen
 
Posts: 31
Joined: Mon Oct 29, 2007 17:13
Location: Madrid, Spain


Return to Software in General

Who is online

Users browsing this forum: No registered users and 1 guest