Trent,

The --system dbus is indeed running. Looking at proc/<pid>/fd, I see 0
through 12 files (named 0->12) but a "ls -l" shows that they either
point to /dev/null or to a socket:[XXXX]. How should I fix this?

Thanks for the help! :)

-Nick

On 6/8/06, Trent Lloyd <[EMAIL PROTECTED]> wrote:
Hi Nicholas,

On Thu, Jun 08, 2006 at 11:18:43AM -0400, Nicholas Andrews wrote:
> avahi-0.6.10, configured with all defaults except no QT bindings, no
> mono, and no python.
>
> dbus-0.61, default configuration
>
> libdaemon-0.10, default configuration
>
> On debian stable, I compiled the example with the following command:
>
> gcc client-browse-services.c `pkg-config avahi-client --cflags --libs`
>
> There were no warnings and no errors. When I run the executable, I get
> the following error: "Failed to create client: An unexpected DBUS
> error occured"
>
> Both dbus-daemon and dbus-start appear to be running, however I don't
> see the avahi-daemon. If I try to start it again with "avahi-daemon"
> it fails with:
>
> dbus_bus_get(): Failed to connect to socket
> /usr/local/var/run/dbus/system_bus_socket: No such file or directory
> WARNING: Failed to contact D-BUS daemon.

This means that we don't have your system bus socket right, if dbus is
running do a "ps aux|grep dbus" find the dbus with "--system" it may be
that you dont have a sytem bus running (there are two, --system and
--session) if not you can start one with (at a guess)
/usr/local/bin/dbus-daemon --system

If it is running, check /proc/<pid>/fd and look for the
system_bus_socket file and see if its location is different.

Let me know how that goes for you.

Cheers,
Trent

> Am I missing a configuration step?
>
> Cheers!
>
> -Nick
> _______________________________________________
> avahi mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/avahi

--
Trent Lloyd <[EMAIL PROTECTED]>
Bur.st Networking Inc.
_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi

_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi

Reply via email to