Article 51DXJ Avahi-daemon Error Messages that May be Solved by Editing the Configuration File

Avahi-daemon Error Messages that May be Solved by Editing the Configuration File

by
Steve R.
from LinuxQuestions.org on (#51DXJ)
My /var/log/syslog file has been displaying some messages related to the avahi-daemon that warrant investigation. Though, the messages below are in the syslog file, I have not noticed any problem with the operation of the computer.

Quote:

No service file found in /etc/avahi/services.

avahi-daemon.service: Failed with result 'timeout'.

Failed to start Avahi mDNS/DNS-SD Stack.
The avahi-daemon manpage has not been that informative and unfortunately lacked usable examples.

Quote:
host-name= Set the host name avahi-daemon tries to register on the LAN. If omited defaults to the system host name as set with the sethostname() system call.
domain-name= Set the default domain name avahi-daemon tries to register its host name and services on the LAN in. If omitted defaults to ".local".
I took a wild stab and used the domain-name identified on my router. For the host-name, I used localhost. I was unable to find an example of a "properly configured" /etc/avahi/avahi-daemon.conf file. See my file below.

Code:# This file is part of avahi.
#
# avahi is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# avahi is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with avahi; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.

# See avahi-daemon.conf(5) for more information on this configuration
# file!

[server]
#host-name=foo
host-name=localhost
#domain-name=local
domain-name=Stargate
#browse-domains=0pointer.de, zeroconf.org
use-ipv4=yes
use-ipv6=yes
#allow-interfaces=eth0
#deny-interfaces=eth1
#check-response-ttl=no
#use-iff-running=no
#enable-dbus=yes
#--------------------------
# modified 3/24/2020
# https://askubuntu.com/questions/676863/how-do-i-get-rid-of-a-ghost-printer-in-gnome/70021
# Apparrantly line below is now obsolete
# restart service with; sudo service avahi-daemon restart
# https://forums.linuxmint.com/viewtopic.php?t=296554
# sudo systemctl restart avahi-daemon.service
enable-dbus=no
#--------------------------
#disallow-other-stacks=no
#allow-point-to-point=no
#cache-entries-max=4096
#clients-max=4096
#objects-per-client-max=1024
#entries-per-entry-group-max=32
ratelimit-interval-usec=1000000
ratelimit-burst=1000

[wide-area]
enable-wide-area=yes

[publish]
#disable-publishing=no
#disable-user-service-publishing=no
#add-service-cookie=no
#publish-addresses=yes
publish-hinfo=no
publish-workstation=no
#publish-domain=yes
#publish-dns-servers=192.168.50.1, 192.168.50.2
#publish-resolv-conf-dns-servers=yes
#publish-aaaa-on-ipv4=yes
#publish-a-on-ipv6=no

[reflector]
#enable-reflector=no
#reflect-ipv=no

[rlimits]
#rlimit-as=
#rlimit-core=0
#rlimit-data=8388608
#rlimit-fsize=0
#rlimit-nofile=768
#rlimit-stack=8388608
#rlimit-nproc=3latest?d=yIl2AUoC8zA latest?i=A8_IHIbAw44:SMoY14a0mJk:F7zBnMy latest?i=A8_IHIbAw44:SMoY14a0mJk:V_sGLiP latest?d=qj6IDK7rITs latest?i=A8_IHIbAw44:SMoY14a0mJk:gIN9vFwA8_IHIbAw44
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments