Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Hal exited code 1, was: Issues with Firefox 26 and sound (html5 videos)



On 21 January 2014 15:18, Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost> wrote:
> Have you enabled sysutils/hal properly?
> How about the following command as root?
>
> # /etc/rc.d/hal status
>
> You should have the following or similar.
>
> hal is running as pid 474.
>
> If you cannot get "running", please see:
> https://wiki.netbsd.org/tutorials/using_pulseaudio/#index1h2

It looks like I have a problem with hal or dbus here.

I have followed the instructions on the wiki, copied
/usr/pkg/share/examples/rc.d/hal to /etc/rc.d, enabled hal in rc.conf,
modified /usr/pkg/etc/pulse/default.pa, rebooted, but I have an exit
code from dmesg:

[/etc/rc starting at Tue Jan 21 16:33:25 CET 2014]
[running rcorder]
rcorder: requirement `dbus' in file `/etc/rc.d/hal' has no providers.
rcorder exited with code 1
.....
[running /etc/rc.d/hal]
Starting hal.
/etc/rc.d/hal exited with code 1
...........

[failures]
The following components reported failures:
    rcorder /etc/rc.d/mountall /etc/rc.d/postfix /etc/rc.d/hal
See /var/run/rc.log for more information.

Trying to start it manually fails:

-bash-4.2# /etc/rc.d/hal status
hal is not running.
-bash-4.2# /etc/rc.d/hal start
Starting hal.
-bash-4.2# /etc/rc.d/hal status
hal is not running.
-bash-4.2# ps aux|grep hal
root  921  0.0  0.1  10800   1120 ttyp0 O+    3:44PM 0:00.00 grep hal

-bash-4.2# /usr/pkg/sbin/hald --daemon=no --verbose=yes
15:56:57.782 [I] hald.c:673: hal 0.5.14
15:56:57.784 [I] hald.c:674: using child timeout 250s
15:56:57.784 [I] hald.c:739: Will not daemonize
15:57:02.749 [I] hald_dbus.c:5444: local server is listening at
unix:path=/var/run/hald/dbus-xakAxkBtHg,guid=c42fb962f113d88b88b8b67e52de8abe
15:57:02.750 [E] hald_dbus.c:5821: dbus_bus_get(): Failed to connect
to socket /var/run/dbus/system_bus_socket: No such file or directory

I do have dbus:

-bash-4.2# pkg_info|grep dbus
dbus-1.6.18         Message bus system
dbus-glib-0.100.2   GLib bindings for the D-BUS message bus system


Any clue?


-- 
Ottavio


Home | Main Index | Thread Index | Old Index