Linux

究竟什麼是 AVAHI?

  • May 2, 2019

CentOS 5.2

我的 VPS 主機重新啟動(現在檢查主機支持),我在 /var/log/messages 中註意到以下內容

Aug 28 11:57:52 echo avahi-daemon[21633]: **Found user 'avahi' (UID 70) and group 'avahi' (GID 70).**
Aug 28 11:57:52 echo avahi-daemon[21633]: **Successfully dropped root privileges.**
Aug 28 11:57:52 echo avahi-daemon[21633]: **avahi-daemon 0.6.16 starting up.**
Aug 28 11:57:52 echo avahi-daemon[21633]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Aug 28 11:57:52 echo avahi-daemon[21633]: dbus_bus_get(): Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Aug 28 11:57:52 echo avahi-daemon[21633]: WARNING: Failed to contact D-Bus daemon.
Aug 28 11:57:52 echo init: no more processes left in this runlevel

究竟什麼是avahi?這是標準消息嗎?

正如 Iain 所說,Avahi 提供了與 Bonjour 或 Rendezvous for Linux 類似的功能。在伺服器上,我真的不需要它……我已經在我設置的伺服器上關閉了它。

您可以使用以下兩個命令停止服務,然後在啟動時將其關閉:

service avahi-daemon stop 
chkconfig avahi-daemon off

Avahi 是一個通過 mDNS/DNS-SD 協議套件促進本地網路上的服務發現的系統。更多資訊在這裡

引用自:https://serverfault.com/questions/175715