|
|
今天架设nis服务器是出现如下提示,以前也做过,不过没遇到过这种现象,求高手指点一下,谢谢!
2debian:/var/yp# rpcinfo -u 2debian ypserv
程序 100004 版本 1 就绪并等待
程序 100004 版本 2 就绪并等待
2debian:/var/yp# /usr/lib/yp/ypinit -m
At this point, we have to construct a list of the hosts which will run NIS
servers. 2debian 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: 2debian
next host to add:
The current list of NIS servers looks like this:
2debian
Is this correct? [y/n: y] y
We need a few minutes to build the databases...
Building /var/yp/sun244/ypservers...
Running /var/yp/Makefile...
make[1]: Entering directory `/var/yp/sun244'
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 netgroup...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating netgroup.byhost...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating netgroup.byuser...
failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating shadow.byname...
failed to send 'clear' to local ypserv: RPC: Unknown hostmake[1]: Leaving directory `/var/yp/sun244'
2debian has been set up as a NIS master server.
Now you can run ypinit -s 2debian on all slave server.
2debian:/var/yp# make
make[1]: Entering directory `/var/yp/sun244'
Updating netid.byname...
failed to send 'clear' to local ypserv: RPC: Unknown hostmake[1]: Leaving directory `/var/yp/sun244' |
|