<br><br><div><span class="gmail_quote">On 10/01/07, <b class="gmail_sendername">Havoc Pennington</b> <<a href="mailto:hp@redhat.com">hp@redhat.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Looks like the dbus daemon hasn't been started or something like that.<br><br>Havoc<br><br><br></blockquote></div><br>Hmm... looks like you might be right.<br><br>The /var/run/dbus directory is empty.<br>I also have HAL running, and using Htop, I can see the HAL daemon running, using the HAL user/group.
<br>However, even though I did set up a user/group for DBUS, I can't see it running in its user account.<br>This is the command I used to setup the DBUS user/group:<br><br><pre>groupadd -g 29 messagebus &&<br>
useradd -c "D-BUS Message Daemon User" -d /dev/null \<br> -u 29 -g messagebus -s /bin/false messagebus</pre><br>Also, at boot up, my box runs /etc/rc.d/rc.dbus to start (supposedly) the daemon. This is the contents of
rc.hal:<br><br><pre>#!/bin/sh<br>#<br># messagebus: The D-BUS systemwide message bus<br># description: This is a daemon which broadcasts notifications of system events \<br># and other messages. See <a href="http://www.freedesktop.org/software/dbus/">
http://www.freedesktop.org/software/dbus/</a><br>#<br><br>pidfile="/var/run/dbus/pid"<br>processname="dbus-daemon"<br>RETVAL=0<br><br># Sanity checks<br>[ -x /usr/bin/dbus-daemon ] || exit 0<br>[ ! "$(pidof $processname)" ] && rm -f $pidfile
<br><br>start() {<br>echo "Starting system message bus: /usr/bin/dbus-daemon --system"<br>if [ -x /usr/bin/dbus-daemon ];then<br> /usr/bin/dbus-daemon --system<br>fi<br>}<br><br>stop() {<br>echo "Stopping system message bus:"
<br>killall $processname<br>rm -f $pidfile<br>}<br><br># See how we were called.<br>case "$1" in<br> start)<br> start<br> ;;<br> stop)<br> stop<br> ;;<br> restart)<br> stop
<br> start<br> ;;<br> reload)<br> echo "Message bus can't reload its configuration, you have to restart it"<br> RETVAL=$?<br> ;;<br> *)<br> echo $"Usage: $0 {start|stop|restart|reload}"
<br> ;;<br>esac<br>exit $RETVAL<br><br>What do you suggest I can change to get things going properly?<br></pre>