LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 868|回复: 2

debian下架设nis服务器出现问题,求助

[复制链接]
发表于 2006-5-12 11:32:18 | 显示全部楼层 |阅读模式
今天架设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'
 楼主| 发表于 2006-5-12 16:01:53 | 显示全部楼层
大家帮忙想想办法,我找了很久不知道则么解决,谢谢!
回复 支持 反对

使用道具 举报

发表于 2006-6-8 12:56:37 | 显示全部楼层
启动ypserv
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表