You are not logged in.

#1 2005-11-17 04:46:27

bsdson.tw
Member
From: Taiwan
Registered: 2005-05-06
Posts: 161

failed on starting hal

I've started dbus, and can't get hal running..

[root@henry_lee ~]# ps aux | grep dbus
root      3818  0.0  0.2   2552   756 ?        S    09:37   0:00 /usr/bin/dbus-l
root      3819  0.0  0.3   2012   952 ?        Ss   09:37   0:00 dbus-daemon --f
dbus      4076  0.0  0.3   2012   868 ?        Ss   09:51   0:00 /usr/bin/dbus-d
root      4292  0.0  0.3   1940   784 pts/0    S+   12:41   0:00 grep dbus

if I run hal manually as below:

hald --daemon=no --verbose=yes

the tail of the output is as below:

09:53:33.162 [I] blockdev.c:566: block_add: sysfs_path=/sys/block/fd0 dev=/dev/fd0 is_part=0, parent=0x08097f48
09:53:33.162 [I] blockdev.c:633: doing floppy drive hack for floppy 0
09:53:33.163 [I] blockdev.c:390: Probing PC floppy /dev/fd0 to see if it is present
4171: 09:53:33.166: probe-pc-floppy.c:73: Checking if /dev/fd0 is actually present
4171: 09:53:33.166: probe-pc-floppy.c:88: floppy drive name is 'H1440'
09:53:33.167 [I] hald_dbus.c:3007: 4153: Got a connection
09:53:33.167 [I] hald_dbus.c:3008: dbus_connection_get_is_connected = 1
09:53:33.167 [I] hald_dbus.c:2969: local_server_message_handler: destination=(null) obj_path=/org/freedesktop/DBus/Local interface=org.freedesktop.DBus.Local method=Disconnected
09:53:33.168 [I] hald_dbus.c:2985: Client to local_server was disconnected
09:53:33.168 [I] hald_dbus.c:2995: unregistered
09:53:33.212 [I] util.c:601: child exited for pid 4171
09:53:33.212 [I] blockdev.c:300: entering; timed_out=0, return_code=0
09:53:33.217 [I] device_info.c:1370: *** Matched file /usr/share/hal/fdi/policy/10osvendor/10-storage-policy.fdi
09:53:33.218 [I] blockdev.c:139: Add callouts completed udi=/org/freedesktop/Hal/devices/platform_floppy_0_storage
09:53:33.218 [I] hald.c:89: Added device to GDL; udi=/org/freedesktop/Hal/devices/platform_floppy_0_storage
09:53:33.218 [I] acpi.c:1065: acpi_add: acpi_path=/proc/acpi/processor/CPU1 acpi_type=1, parent=0x00000000
09:53:33.224 [I] acpi.c:1037: Add callouts completed udi=/org/freedesktop/Hal/devices/acpi_CPU1
09:53:33.224 [I] hald.c:89: Added device to GDL; udi=/org/freedesktop/Hal/devices/acpi_CPU1
09:53:33.224 [I] acpi.c:1065: acpi_add: acpi_path=/proc/acpi/button/power/PWRF acpi_type=9, parent=0x00000000
09:53:33.229 [I] acpi.c:1037: Add callouts completed udi=/org/freedesktop/Hal/devices/acpi_PWRF
09:53:33.229 [I] hald.c:89: Added device to GDL; udi=/org/freedesktop/Hal/devices/acpi_PWRF
09:53:33.229 [I] acpi.c:1065: acpi_add: acpi_path=/proc/acpi/button/sleep/SLPB acpi_type=9, parent=0x00000000
09:53:33.235 [I] acpi.c:1037: Add callouts completed udi=/org/freedesktop/Hal/devices/acpi_SLPB
09:53:33.236 [I] hald.c:89: Added device to GDL; udi=/org/freedesktop/Hal/devices/acpi_SLPB
09:53:33.236 [I] hald.c:653: Device probing completed
09:53:33.236 [I] hald_dbus.c:3063: entering
09:53:33.236 [E] hald_dbus.c:3070: dbus_bus_get(): Failed to connect to socket /var/lib/dbus/system_bus_socket: Connection refused
09:53:33.236 [I] util.c:1262: Killing helper with pid 4171
09:53:33.236 [I] util.c:1262: Killing helper with pid 4169
09:53:33.236 [I] util.c:1262: Killing helper with pid 4158

does anyone know why it is not running correctly?
thank you very much..

should I provide any other information?[/list]

Offline

#2 2005-11-17 04:49:42

bsdson.tw
Member
From: Taiwan
Registered: 2005-05-06
Posts: 161

Re: failed on starting hal

HAL package version: 0.5.5.1
D-BUS Message Bus Daemon 0.50
kernel 2.6.13
use udev with devfs turned off (by boot option "devfs=nomount")

thank you very much..

Offline

#3 2005-11-17 12:19:31

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: failed on starting hal

Try one of the latest dbus versions, and make sure you restart dbus before starting hal. There have been some movements of socket locations.

Offline

#4 2005-11-18 02:51:32

bsdson.tw
Member
From: Taiwan
Registered: 2005-05-06
Posts: 161

Re: failed on starting hal

my dbus version is 0.50-8 which had just upgraded.
but still failed on starting hal.
and I'm sure that I've started dbus before hal.

what can I do now?

ps. how could I know which program will need dbus or hal?[/list]

Offline

#5 2005-11-18 03:12:17

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: failed on starting hal

what is hal doing exactly when you try to start it through /etc/rc.d/?

If it hangs or gives unknown user errors, try reinstalling filesystem.

Offline

#6 2005-12-20 02:29:05

bsdson.tw
Member
From: Taiwan
Registered: 2005-05-06
Posts: 161

Re: failed on starting hal

Excuse me, but after upgrading, my HAL still gets out of work.
I've noticed the following error message while running hald as

[root@henry_lee ~]# /usr/sbin/hald --daemon=no --verbose=yes --retain-privileges

(and the error messages: )

10:12:44.156 [I] hald.c:653: Device probing completed
10:12:44.156 [I] hald_dbus.c:3063: entering
10:12:44.156 [E] hald_dbus.c:3070: dbus_bus_get(): Failed to connect to socket /var/lib/dbus/system_bus_socket: Connection refused

Also I've checked the specified socket:

[root@henry_lee ~]# ls -l /var/lib/dbus/system_bus_socket srwxrwxrwx  1 root root 0 2005-11-12 12:39 /var/lib/dbus/system_bus_socket

But I don't know what else can I do...
Here is my versions:
HAL package version: 0.5.5.1
dbus package version: 0.50-8
kernel: 2.6.14
------------------
Does anyone know how to debug this?
Thanks in advance..

Offline

Board footer

Powered by FluxBB