Linux

linux redhat + 如何解決主機響應包無效的問題

  • April 25, 2018

我們在/var/log/messages中有數千條以下消息

我們也有奇怪的問題,機器每隔幾天就會重啟

為了避免這些消息需要做什麼?

Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.62.110.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.42.214.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.56.252.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.60.181.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.56.229.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.61.249.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.60.171.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.44.218.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.60.164.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.61.247.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.58.59.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.62.106.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.61.244.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.61.38.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.58.58.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.54.180.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.60.163.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.61.246.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.54.182.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.61.46.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.47.248.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.7.166.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.60.94.
Apr 25 00:08:31 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.46.108.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.58.56.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.34.247.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.60.180.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.36.86.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.27.116.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.62.111.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.45.202.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.48.29.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.48.32.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.61.135.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.47.244.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.58.63.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.48.52.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.62.207.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.58.159.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.56.199.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.42.241.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.60.61.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.35.160.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.22.128.
Apr 25 00:08:32 app_linux02 avahi-daemon[953]: Invalid response packet from host 91.61.56.231.

嘗試

systemctl disable --now avahi-daemon

並閱讀您的作業系統文件…

--now也將停止正在執行的服務,否則您將不得不使用systemctl stop avahi-daemon)。

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

service avahi-daemon stop 
chkconfig avahi-daemon off

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