NFS Services Administrator's Guide

Troubleshooting NFS Services
Common Problems with NIS
Chapter 8 311
If the NIS client is bound to a slave server, make sure the slave
server is listed in the NIS master server’s ypservers database.
Follow these steps:
1. Issue the following command on the NIS client to determine
which server the client is bound to:
/usr/bin/ypwhich
2. Log in as root to the NIS master server and issue the following
command to change to the directory where the domain databases
reside:
cd /var/yp/domainname
3. On the NIS master server, issue the following command to write
the contents of the ypservers database to a temporary file:
/usr/sbin/makedbm -u ypservers > tempfile
4. If the NIS slave server is not listed in tempfile, use a text editor
to add it, and then issue the following command to rebuild the
ypservers database:
/usr/sbin/makedbm tempfile ypservers