NIS client cannot find NIS server (Opensuse)

Posted by Tony on Server Fault See other posts from Server Fault or by Tony
Published on 2012-09-17T04:33:24Z Indexed on 2012/09/17 15:40 UTC
Read the original article Hit count: 428

Filed under:
|
|

I installed NIS server on head node of a virtual cluster(VirtualBox). One of the node (let's say node-1) can find NIS server and work with it, but another node (node-2) just can't find the NIS server in Yast while it can ping and ssh to both head node and node-1. BTW, all the nodes are VMs, head node and node-1 are on the same physical machine, node-2 is on another physical machine.

I set the domain name in /etc/hosts and /etc/yp.conf, and ypwhich sometimes gives the correct domainname several minutes later complains about "ypwhich: Can't communicate with ypbind", and will back to work after some time. Also tried rpcinfo -p hostname and it worked as expected.

I almost tried every thing I can find on internet, but seems that not many people had this problem.

Any help would be very appreciated.

© Server Fault or respective owner

Related posts about virtual-machines

Related posts about opensuse