重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 343|回复: 0
打印 上一主题 下一主题

[Oracle] "No NSS support for mDNS detected" in system log(/var/log/messages)

[复制链接]
跳转到指定楼层
楼主
发表于 2024-8-18 14:55:11 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
现象:
There is a warning message  in /var/log/messages:

<date> <hostname> avahi-daemon[####]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!


修改:
Installed avahi package and run /etc/init.d/avahi-daemon script.

原因:
This is caused by the lack of libnss_mdns library, which is referred by avahi to support mDNS(Multicast DNS) via NSS(Network Security Service). The avahi-daemon tries to open the shared library named "libnss_mdns*.so.2", In this case there is no such library installed onto the system, therefore avahi-daemon complains about no support for mDNS and logs the warning message in the system log.

nss-mdns is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc) providing host name resolution via Multicast DNS (using Zeroconf, aka Apple Bonjour / Apple Rendezvous ), effectively allowing name resolution by common Unix/Linux programs in the ad-hoc mDNS domain ".local". mDNS is basically used only by Apple PC to find out the server/client name each other automatically. But if the network is configured without Apple PCs, or with static hostnames or static ipadresses(in most cases), mDNS is not necessary.


处理方法:
Since there is no libnss_mdns library provided for Oracle Linux by Oracle, and mDNS is not necessary for most systems, the warning message can safely be ignored.

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-24 22:09 , Processed in 0.091459 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表