NIS: error message coming after executing "/usr/lib/yp/ypinit -m"
Hi
A list of error message comes when ypinit build nis database. Please have a look below for more detail:-
[root@linuxserver1 ~]# /usr/lib/yp/ypinit -m
At this point, we have to construct a list of the hosts which will run NIS
servers. linuxserver1.cheemas.com 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: linuxserver1.cheemas.com
next host to add:
The current list of NIS servers looks like this:
linuxserver1.cheemas.com
Is this correct? [y/n: y] y
We need a few minutes to build the databases...
Building /var/yp/cheemas.com/ypservers...
Running /var/yp/Makefile...
gmake[1]: Entering directory `/var/yp/cheemas.com'
Updating passwd.byname...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating
passwd.byuid...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating
group.byname...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating
group.bygid...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating
hosts.byname...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating
hosts.byaddr...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating
rpc.byname...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating
rpc.bynumber...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating
services.byname...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating
services.byservicename...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating
netid.byname...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating
protocols.bynumber...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating
protocols.byname...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating
mail.aliases...
failed to send 'clear' to local ypserv: RPC: Unknown hostgmake[1]:
Leaving directory `/var/yp/cheemas.com'
linuxserver1.cheemas.com has been set up as a NIS master server.
Why it is coming please advise. Ironically I am able to login on another linux machine with nis user id. Note: I am implementing this on RHEL 5.
Thanks
Charanjit Singh
Last edited by cj_cheema; 08-12-2009 at 07:41 AM.
|