我们有数千条以下信息/var/log/消息
我们也遇到了一个奇怪的问题,那就是机器每隔几天就会重启一次
为了避免这些信息需要做什么?
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.
答案1
尝试
systemctl disable --now avahi-daemon
并阅读您的操作系统文档...
(--now
也将停止正在运行的服务,否则您还必须使用systemctl stop avahi-daemon
)。
答案2
我们可以使用这两个命令停止该服务,然后在启动时将其关闭:
service avahi-daemon stop
chkconfig avahi-daemon off