Can't match key hostname in map hosts.byname. Reason: No such key in map

       这个是执行yamatch `hostname` hosts之后报错。应该跟nis有关,需要看看那方面的知识了。

$ypcat -x
Use "ethers"    for map "ethers.byname"
Use "aliases"   for map "mail.aliases"
Use "services"  for map "services.byname"
Use "protocols" for map "protocols.bynumber"
Use "hosts"     for map "hosts.byname"
Use "networks"  for map "networks.byaddr"
Use "group"     for map "group.byname"
Use "passwd"    for map "passwd.byname"

你可能感兴趣的:(Can't match key hostname in map hosts.byname. Reason: No such key in map)