- 论坛徽章:
- 0
|
创建NIS服务器时,在执行/usr/lib/yp/ypinit -m 行成数据库时,出现如下反馈信息:
At this point, we have to construct a list of the hosts which will run NIS
servers. keynic 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: keynic
next host to add:
The current list of NIS servers looks like this:
keynic
Is this correct? [y/n: y] y
We need a few minutes to build the databases...
Building /var/yp/niskeynic/ypservers...
Running /var/yp/Makefile...
gmake[1]: Entering directory `/var/yp/niskeynic'
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/niskeynic'
keynic has been set up as a NIS master server.
Now you can run ypinit -s keynic on all slave server.
我现把可疑的一部分标为红色,我找了一下资料说,failed to send 'clear' to local ypserv:这是忘了启动ypserv监控程序,但是我在创建NIS域niskeynic后就service ypserv start 启动了监控程序,请各位大虾帮个忙,这红色部分问题可能出在哪? |
|