这个RPC错误信息是什么意思?

我有OS RHNL版本6.2并使用NFS服务(nfs-utils-1.2.3)连接到NFS服务器,

并在文件/ var / log / messages中发现了很多消息:

Apr 1 11:08:35 XXX rpc.idmapd[3010]: nss_getpwnam: name '2' does not map into domain 'XXXX.com' Apr 1 11:14:26 XXX rpc.idmapd[3010]: nss_getpwnam: name '0' does not map into domain 'XXXX.com' Apr 1 11:18:36 XXX rpc.idmapd[3010]: nss_getpwnam: name '2' does not map into domain 'XXXX.com' Apr 1 11:24:27 XXX rpc.idmapd[3010]: nss_getpwnam: name '0' does not map into domain 'XXXX.com' Apr 1 11:28:37 XXX rpc.idmapd[3010]: nss_getpwnam: name '2' does not map into domain 'XXXX.com' Apr 1 11:34:27 XXX rpc.idmapd[3010]: nss_getpwnam: name '0' does not map into domain 'XXXX.com' Apr 1 11:38:37 XXX rpc.idmapd[3010]: nss_getpwnam: name '2' does not map into domain 'XXXX.com' Apr 1 11:44:28 XXX rpc.idmapd[3010]: nss_getpwnam: name '0' does not map into domain 'XXXX.com' Apr 1 11:48:37 XXX rpc.idmapd[3010]: nss_getpwnam: name '2' does not map into domain 'XXXX.com' 

这个消息是什么意思?

这意味着在/etc/idmapd.conf文件或/ etc / hosts文件中有一个主机名问题。 确保您的idmapd.conf文件在NFS服务器和客户端上都是相同的,同时确保您的客户端将localhost和localdomainparsing为回送地址(127.0.0.1),并且您的域名不parsing为回送。