-
avahi-daemon does not restart on connection failure (for example, after router reboot)
OS version: Unraid 7.2.0-rc.1 I have a router, an Unraid server and a client MacBook. If I reboot the router, Unraid servers disappears from the Network view in Finder on macOS. It seems like avahi-daemon fails to restart when the server is getting back online. Here are the logs that I gathered: Oct 15 17:07:55 sojourn avahi-daemon[2207]: Leaving mDNS multicast group on interface br0.IPv6 with address <IPv6 address>. # this is when I restarted router Oct 15 17:07:55 sojourn avahi-daemon[2207]: Joining mDNS multicast group on interface br0.IPv6 with address <link-local IPV6 address>. Oct 15 17:08:20 sojourn rc.avahidaemon: Updating Avahi mDNS/DNS-SD daemon... Oct 15 17:08:20 sojourn rc.avahidaemon: Restarting Avahi mDNS/DNS-SD daemon... Oct 15 17:08:20 sojourn rc.avahidaemon: Stopping Avahi mDNS/DNS-SD daemon... Oct 15 17:08:20 sojourn rc.avahidaemon: /usr/sbin/avahi-daemon -k Oct 15 17:08:20 sojourn avahi-daemon[2207]: Got SIGTERM, quitting. Oct 15 17:08:20 sojourn avahi-daemon[2207]: Leaving mDNS multicast group on interface br0.IPv6 with address <link-local IPv6 address>. Oct 15 17:08:20 sojourn avahi-dnsconfd[2223]: read(): EOF Oct 15 17:08:20 sojourn avahi-daemon[2207]: avahi-daemon 0.8 exiting. Oct 15 17:08:20 sojourn rc.avahidaemon: Avahi mDNS/DNS-SD daemon... Stopped. Oct 15 17:08:21 sojourn rc.avahidaemon: Starting Avahi mDNS/DNS-SD daemon... Oct 15 17:08:21 sojourn rc.avahidaemon: Avahi mDNS/DNS-SD daemon... Bind failed. Also, sometimes SSH server crashes too. And here are some other logs at the moment after network restart that may be interesting for you: Oct 15 17:09:43 sojourn dhcpcd[1837]: br0: REPLY6 received from fe80::52ff:20ff:fed5:ccf Oct 15 17:09:43 sojourn dhcpcd[1837]: br0: refresh in 86400 seconds Oct 15 17:09:55 sojourn reload_services: execute queued job 13 Oct 15 17:09:56 sojourn rc.ntpd: Updating NTP server daemon... Oct 15 17:09:56 sojourn ntpd[98903]: ntpd exiting on signal 1 (Hangup) Oct 15 17:09:56 sojourn ntpd[100233]: ntpd [email protected] Fri Jul 4 19:14:57 UTC 2025 (1): Starting Oct 15 17:09:56 sojourn ntpd[100233]: Command line: /usr/sbin/ntpd -g -u ntp:ntp Oct 15 17:09:56 sojourn ntpd[100233]: ---------------------------------------------------- Oct 15 17:09:56 sojourn ntpd[100233]: ntp-4 is maintained by Network Time Foundation, Oct 15 17:09:56 sojourn ntpd[100233]: Inc. (NTF), a non-profit 501(c)(3) public-benefit Oct 15 17:09:56 sojourn ntpd[100233]: corporation. Support and training for ntp-4 are Oct 15 17:09:56 sojourn ntpd[100233]: available at https://www.nwtime.org/support Oct 15 17:09:56 sojourn ntpd[100233]: ---------------------------------------------------- Oct 15 17:09:56 sojourn ntpd[100233]: DEBUG behavior is enabled - a violation of any diagnostic assertion will cause ntpd to abort Oct 15 17:09:56 sojourn ntpd[100235]: proto: precision = 0.041 usec (-24) Oct 15 17:09:56 sojourn ntpd[100235]: basedate set to 2025-06-22 Oct 15 17:09:56 sojourn ntpd[100235]: gps base set to 2025-06-22 (week 2372) Oct 15 17:09:56 sojourn ntpd[100235]: initial drift restored to 0.357239 Oct 15 17:09:56 sojourn ntpd[100235]: Listen normally on 0 lo 127.0.0.1:123 Oct 15 17:09:56 sojourn ntpd[100235]: Listen normally on 1 br0 192.168.97.253:123 Oct 15 17:09:56 sojourn ntpd[100235]: Listen normally on 2 lo [::1]:123 Oct 15 17:09:56 sojourn ntpd[100235]: Listen normally on 3 br0 [fd2b:e71e:28c1:0:1ac0:4dff:feef:5ef]:123 Oct 15 17:09:56 sojourn ntpd[100235]: Listen normally on 4 br0 [fe80::1ac0:4dff:feef:5ef%5]:123 Oct 15 17:09:56 sojourn ntpd[100235]: Listening on routing socket on fd #21 for interface updates Oct 15 17:09:56 sojourn ntpd[100235]: kernel reports TIME_ERROR: 0x2041: Clock Unsynchronized Oct 15 17:09:56 sojourn ntpd[100235]: kernel reports TIME_ERROR: 0x2041: Clock Unsynchronized Oct 15 17:09:56 sojourn rc.nginx: Updating Nginx server daemon... Oct 15 17:09:56 sojourn rc.nginx: Reloading Nginx server daemon... Oct 15 17:09:56 sojourn rc.nginx: Checking configuration for correct syntax and then trying to open files referenced in configuration... Oct 15 17:09:56 sojourn rc.nginx: /usr/sbin/nginx -t -c /etc/nginx/nginx.conf Oct 15 17:09:56 sojourn rc.nginx: Reloading Nginx server daemon configuration... Oct 15 17:09:56 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 127.0.0.1:80 failed (98: Address already in use) Oct 15 17:09:56 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 192.168.97.253:80 failed (98: Address already in use) Oct 15 17:09:56 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 127.0.0.1:443 failed (98: Address already in use) Oct 15 17:09:56 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 192.168.97.253:443 failed (98: Address already in use) Oct 15 17:09:57 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 127.0.0.1:80 failed (98: Address already in use) Oct 15 17:09:57 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 192.168.97.253:80 failed (98: Address already in use) Oct 15 17:09:57 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 127.0.0.1:443 failed (98: Address already in use) Oct 15 17:09:57 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 192.168.97.253:443 failed (98: Address already in use) Oct 15 17:09:57 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 127.0.0.1:80 failed (98: Address already in use) Oct 15 17:09:57 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 192.168.97.253:80 failed (98: Address already in use) Oct 15 17:09:57 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 127.0.0.1:443 failed (98: Address already in use) Oct 15 17:09:57 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 192.168.97.253:443 failed (98: Address already in use) Oct 15 17:09:58 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 127.0.0.1:80 failed (98: Address already in use) Oct 15 17:09:58 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 192.168.97.253:80 failed (98: Address already in use) Oct 15 17:09:58 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 127.0.0.1:443 failed (98: Address already in use) Oct 15 17:09:58 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 192.168.97.253:443 failed (98: Address already in use) Oct 15 17:09:58 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 127.0.0.1:80 failed (98: Address already in use) Oct 15 17:09:58 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 192.168.97.253:80 failed (98: Address already in use) Oct 15 17:09:58 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 127.0.0.1:443 failed (98: Address already in use) Oct 15 17:09:58 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: bind() to 192.168.97.253:443 failed (98: Address already in use) Oct 15 17:09:59 sojourn nginx: 2025/10/15 17:09:56 [emerg] 99110#99110: still could not bind() Oct 15 17:09:59 sojourn rc.nginx: Restarting Nginx server daemon... Oct 15 17:10:00 sojourn rc.samba: Updating Samba server daemon... Oct 15 17:10:00 sojourn rc.samba: Restarting Samba server daemon... Oct 15 17:10:00 sojourn rc.samba: Stopping Samba server daemon... Oct 15 17:10:00 sojourn rc.samba: killall --ns 100537 smbd nmbd wsdd2 winbindd Oct 15 17:10:00 sojourn wsdd2[99244]: 'Terminated' signal received. Oct 15 17:10:00 sojourn winbindd[99248]: [2025/10/15 17:10:00.364148, 0, traceid=1] ../../source3/winbindd/winbindd_dual.c:2013(winbindd_sig_term_handler) Oct 15 17:10:00 sojourn winbindd[99248]: Got sig[15] terminate (is_parent=1) Oct 15 17:10:00 sojourn wsdd2[99244]: terminating. Oct 15 17:10:00 sojourn rc.samba: Samba server daemon... Stopped. Oct 15 17:10:00 sojourn rc.samba: Starting Samba server daemon... Oct 15 17:10:00 sojourn rc.samba: /usr/sbin/smbd -D Oct 15 17:10:00 sojourn rc.samba: /usr/sbin/wsdd2 -d -4 -6 Oct 15 17:10:00 sojourn wsdd2[100619]: starting. Oct 15 17:10:00 sojourn rc.samba: /usr/sbin/winbindd -D Oct 15 17:10:01 sojourn rc.samba: Samba server daemon... Started. Oct 15 17:10:01 sojourn webgui: Successful login user root from 192.168.97.10 Oct 15 17:10:22 sojourn flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup update Oct 15 17:10:26 sojourn emhttpd: spinning down /dev/sdb
hdkv
Members
-
Joined
-
Last visited