Quote:
Originally Posted by AlucardZero
Search your server for ypinit. Maybe it's at /usr/lib64/yp/ypinit instead. Or maybe you need to install the YP server package.
Your client is most likely failing because your NIS server isn't running.
|
AlucardZero - Thanks so much. You're right; appearantely ypinit has been moved. The file ypinit is now at /usr/lib64/yp/ypinit.
After running ypinit -m on the server, I got the following output:
# /usr/lib64/yp/ypinit -m
At this point, we have to construct a list of the hosts which will run NIS
servers. dns1.ci.glendale.ca.us is in the list of NIS server hosts. Please continue to add
the names for the other hosts, one per line. When you are done with the
list, type a <control D>.
next host to add: dns1.ci.glendale.ca.us
next host to add:
The current list of NIS servers looks like this:
dns1.ci.glendale.ca.us
Is this correct? [y/n: y] y
We need a few minutes to build the databases...
Building /var/yp/ci.glendale.ca.us/ypservers...
Running /var/yp/Makefile...
gmake[1]: Entering directory `/var/yp/ci.glendale.ca.us'
Updating passwd.byname...
Updating passwd.byuid...
Updating group.byname...
Updating group.bygid...
Updating hosts.byname...
Updating hosts.byaddr...
Updating rpc.byname...
Updating rpc.bynumber...
Updating services.byname...
Updating services.byservicename...
Updating netid.byname...
Updating protocols.bynumber...
Updating protocols.byname...
Updating mail.aliases...
gmake[1]: Leaving directory `/var/yp/ci.glendale.ca.us'
dns1.ci.glendale.ca.us has been set up as a NIS master server.
Now you can run ypinit -s FQDN_of_Nis_server on all slave server.
***********************************************************************
But, the slave nis server doesn't have ypinit file at all (I did a find on the system).