Cannot start avahi-daemon on FreeBSD 9.1

loozhengyuan

New Member


Messages: 1

I installed CUPS, gutenprint and avahi-daemon to get Airprint enabled on my network printer. CUPS was successfully configured, and it can communicate with my printer. But I can't seem to start Avahi. Can anyone help?

Code:
root@alpha:/ # avahi-daemon
Found user 'avahi' (UID 558) and group 'avahi' (GID 558).
Successfully dropped root privileges.
avahi-daemon 0.6.29 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
dbus_bus_get_private(): Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
WARNING: Failed to contact D-Bus daemon.
 

zeissoctopus

Active Member

Reaction score: 40
Messages: 167

Adding the following lines in /etc/rc.conf to invoke avahi-daemon
Code:
avahi_daemon_enable="YES"
avahi_dnsconfd_enable="YES"
 

kpa

Beastie's Twin

Reaction score: 1,846
Messages: 6,318

The second line is not be needed unless you want to use mDNS broadcasted DNS forwarder settings. What you do need is:

Code:
dbus_enable="YES"

And then service dbus start.
 
Top