2012-05-03, 21:19
I had the same problem. From syslog I got this:
Basically it's saying that somewhere in my network the domain .local is already in use.
I wanted to find out where is this .local, so I tried this:
It seems my ISP is using that .local, so I'm out of luck trying to sort the problem inside my own network. I tried to change the domain-name in avahi-daemon.conf, but it didn't help. Next I tried to remove the file /var/run/avahi-daemon/disabled-for-unicast-local, but that also did not work. The third solution candidate I found with google was to change the option AVAHI_DAEMON_DETECT_LOCAL=1 >> AVAHI_DAEMON_DETECT_LOCAL=0 in /etc/default/avahi-daemon. And at least with the first couple of restarts everything seems fine. Avahi starts automatically and on my mac I can instantly see XMBC advertised in Airfoil.
Hope that helps...
Code:
dimangi@kotialttari:~$ cat /var/log/syslog |grep -i avahi | tail
May 3 21:35:28 kotialttari avahi-daemon[429]: Got SIGTERM, quitting.
May 3 21:35:28 kotialttari avahi-daemon[429]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.1.133.
May 3 21:35:30 kotialttari avahi-daemon[429]: avahi-daemon 0.6.30 exiting.
May 3 21:35:30 kotialttari avahi: Avahi detected that your currently configured local DNS server serves
May 3 21:35:30 kotialttari avahi: a domain .local. This is inherently incompatible with Avahi and thus
May 3 21:35:30 kotialttari avahi: Avahi disabled itself. If you want to use Avahi in this network, please
May 3 21:35:30 kotialttari avahi: contact your administrator and convince him to use a different DNS domain,
May 3 21:35:30 kotialttari avahi: since .local should be used exclusively for Zeroconf technology.
May 3 21:35:30 kotialttari avahi: For more information, see http://avahi.org/wiki/AvahiAndUnicastDotLocal
May 3 21:36:05 kotialttari dbus[421]: [system] Failed to activate service 'org.freedesktop.Avahi': timed out
dimangi@kotialttari:~$
Basically it's saying that somewhere in my network the domain .local is already in use.
I wanted to find out where is this .local, so I tried this:
Code:
dimangi@kotialttari:~$ host -t SOA local
local has SOA record ns1.inet.fi. hostmaster.sonera.fi. 1 14400 7200 864000 14400
dimangi@kotialttari:~$
It seems my ISP is using that .local, so I'm out of luck trying to sort the problem inside my own network. I tried to change the domain-name in avahi-daemon.conf, but it didn't help. Next I tried to remove the file /var/run/avahi-daemon/disabled-for-unicast-local, but that also did not work. The third solution candidate I found with google was to change the option AVAHI_DAEMON_DETECT_LOCAL=1 >> AVAHI_DAEMON_DETECT_LOCAL=0 in /etc/default/avahi-daemon. And at least with the first couple of restarts everything seems fine. Avahi starts automatically and on my mac I can instantly see XMBC advertised in Airfoil.
Code:
dimangi@kotialttari:~$ cat /var/log/syslog |grep -i avahi |tail
May 3 22:13:06 kotialttari avahi-daemon[433]: avahi-daemon 0.6.30 starting up.
May 3 22:13:07 kotialttari avahi-daemon[433]: Successfully called chroot().
May 3 22:13:07 kotialttari avahi-daemon[433]: Successfully dropped remaining capabilities.
May 3 22:13:07 kotialttari avahi-daemon[433]: No service file found in /etc/avahi/services.
May 3 22:13:07 kotialttari avahi-daemon[433]: Network interface enumeration completed.
May 3 22:13:07 kotialttari avahi-daemon[433]: Registering HINFO record with values 'I686'/'LINUX'.
May 3 22:13:07 kotialttari avahi-daemon[433]: Server startup complete. Host name is kotialttari.local. Local service cookie is 1021547625.
May 3 22:13:07 kotialttari avahi-daemon[433]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.133.
May 3 22:13:07 kotialttari avahi-daemon[433]: New relevant interface eth0.IPv4 for mDNS.
May 3 22:13:07 kotialttari avahi-daemon[433]: Registering new address record for 192.168.1.133 on eth0.IPv4.
dimangi@kotialttari:~$
Hope that helps...