Binding to the NIS domain: [ OK ]
Listening for an NIS domain server....................[FAILED]
在/var/log/messages只是说try to contact NIS server fails之类的话,
无法知道错误到底在哪里。
NIS Server应该没有问题,我用rpcinfo -p 可以查到服务已起来
192.168.0.2是NIS Server
这是我的yp.conf文件
# /etc/yp.conf - ypbind configuration file
# Valid entries are
#
#domain NISDOMAIN server HOSTNAME
# Use server HOSTNAME for the domain NISDOMAIN.
#
#domain NISDOMAIN broadcast
# Use broadcast on the local net for domain NISDOMAIN
#
#ypserver HOSTNAME
# Use server HOSTNAME for the local domain. The
# IP-address of server must be listed in /etc/hosts.
#
domain erry server 192.168.0.2