can't connect to avahi-daemon? Why not?!

Dr. Michael J. Chudobiak mjc at avtechpulse.com
Fri Jul 19 15:42:25 UTC 2013


Hi all,

I'm having a hard time making the new cups server broadcast method work. 
The avahi-daemon on my print server is not cooperating. It appears to be 
running, but nothing can access it. Why?

Any help most appreciated! Debugging output below...

- Mike


[root at ulmo ~]# avahi-browse -a
Failed to create client object: Daemon not running

but ...

[root at ulmo ~]# systemctl status avahi-daemon.service
avahi-daemon.service - Avahi mDNS/DNS-SD Stack
    Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled)
    Active: active (running) since Thu 2013-07-18 18:24:11 EDT; 17h ago
  Main PID: 474 (avahi-daemon)
    Status: "Server startup complete. Host name is ulmo.local. Local 
service cookie is 1758851528."
    CGroup: name=systemd:/system/avahi-daemon.service
            ├─474 avahi-daemon: running [ulmo.local]
            └─478 avahi-daemon: chroot helper

Jul 18 22:37:20 ulmo avahi-daemon[474]: Received response from host 
192.168.0.43 with ....0'
Jul 18 23:37:20 ulmo avahi-daemon[474]: Received response from host 
192.168.0.43 with ....0'
Jul 19 00:37:20 ulmo avahi-daemon[474]: Received response from host 
192.168.0.43 with ....0'
Jul 19 01:37:20 ulmo avahi-daemon[474]: Received response from host 
192.168.0.43 with ....0'
Jul 19 02:37:20 ulmo avahi-daemon[474]: Received response from host 
192.168.0.43 with ....0'
Jul 19 03:37:20 ulmo avahi-daemon[474]: Received response from host 
192.168.0.43 with ....0'
Jul 19 04:37:20 ulmo avahi-daemon[474]: Received response from host 
192.168.0.43 with ....0'
Jul 19 05:37:20 ulmo avahi-daemon[474]: Received response from host 
192.168.0.43 with ....0'
Jul 19 06:37:20 ulmo avahi-daemon[474]: Received response from host 
192.168.0.43 with ....0'
Jul 19 07:37:20 ulmo avahi-daemon[474]: Received response from host 
192.168.0.43 with ....0'
Jul 19 08:29:32 ulmo avahi-daemon[474]: Files changed, reloading.
Jul 19 08:29:32 ulmo avahi-daemon[474]: Files changed, reloading.
Jul 19 08:29:32 ulmo avahi-daemon[474]: Files changed, reloading.
Jul 19 08:29:32 ulmo avahi-daemon[474]: Files changed, reloading.
Jul 19 08:29:32 ulmo avahi-daemon[474]: Service group file 
/services/udisks.service ch...ng.
Jul 19 08:29:32 ulmo avahi-daemon[474]: Service "ulmo" 
(/services/udisks.service) succ...ed.
Jul 19 08:29:33 ulmo avahi-daemon[474]: Withdrawing address record for 
192.168.0.2 on em1.
Jul 19 08:29:33 ulmo avahi-daemon[474]: Leaving mDNS multicast group on 
interface em1.....2.
Jul 19 08:29:33 ulmo avahi-daemon[474]: Interface em1.IPv4 no longer 
relevant for mDNS.
Jul 19 08:29:33 ulmo avahi-daemon[474]: Joining mDNS multicast group on 
interface em1.....2.
Jul 19 08:29:33 ulmo avahi-daemon[474]: New relevant interface em1.IPv4 
for mDNS.
Jul 19 08:29:33 ulmo avahi-daemon[474]: Registering new address record 
for 192.168.0.2...v4.

selinux and iptables are OK:

[root at ulmo ~]# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   permissive
Mode from config file:          permissive
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Max kernel policy version:      28

[root at ulmo ~]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination



More information about the users mailing list