NFS Services Administrator's Guide

Troubleshooting NFS Services
Common Problems with NIS
Chapter 8314
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
Make sure the slave servers have cron scripts that schedule regular
updates of the map.