NIS配置中的端口映射器故障

时间:2013-04-20 06:52:22

标签: fedora clear yum nis

我正在处理fedora 17,我正在尝试配置NIS server,我通过' yum '安装 ypser,rpcbind,ypbind 包命令,一切都很好,但在最后一步,当主机名必须存储在数据库中,然后在按 ctrl + d 和' y '后,我收到端口映射器失败,但主机已成功添加到数据库中。

我收到以下错误..

At this point, we have to construct a list of the hosts which will run NIS servers. dlp 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: vinita

next host to add:                  # Ctrl + D key

The current list of NIS servers looks like this:

vinita

Is this correct? [y/n: y] y        # answer yes

We need a few minutes to build the databases...

Building /var/yp/server.world/ypservers...

Running /var/yp/Makefile...

gmake[1]: Entering directory `/var/yp/server.world'

Updating passwd.byname...

Failure to send 'clear' to loca ypserv : RPC : port mapper failureUpdating passwd.byid.

Failure to send 'clear' to loca ypserv : RPC : port mapper failureUpdating shadow.byname.

Failure to send 'clear' to loca ypserv : RPC : port mapper failureUpdating group.byname.

Failure to send 'clear' to loca ypserv : RPC : port mapper failureUpdating group.bygid.

Failure to send 'clear' to loca ypserv : RPC : port mapper failureUpdating hosts.byname.

Failure to send 'clear' to loca ypserv : RPC : port mapper failureUpdating hosts.byaddr.

Failure to send 'clear' to loca ypserv : RPC : port mapper failureUpdating rpc.byname.

Failure to send 'clear' to loca ypserv : RPC : port mapper failureUpdating rpc.bynumber.

Failure to send 'clear' to loca ypserv : RPC : port mapper failureUpdating service.byname.

Failure to send 'clear' to loca ypserv : RPC : port mapper failureUpdating service.byservicename.

Failure to send 'clear' to loca ypserv : RPC : port mapper failureUpdating netid.byname.

Failure to send 'clear' to loca ypserv : RPC : port mapper failureUpdating protocols.bynumber.

Failure to send 'clear' to loca ypserv : RPC : port mapper failureUpdating protocols.byname.

Failure to send 'clear' to loca ypserv : RPC : port mapper failureUpdating mail.aliases.

Failure to send 'clear' to loca ypserv : RPC : port mapper failure# netgrp shadow publickey.

Failure to send 'clear' to loca ypserv : RPC : port mapper network ethers bootparams printcap.

gmake[1]: Leaving directory `/var/yp/server.world'

vinita has been set up as a NIS master server.

Now you can run ypinit -s vinita on all slave server. 

任何人都可以帮我解决这个问题,因为这个问题客户端无法连接到我的服务器。

1 个答案:

答案 0 :(得分:4)

这不是配置和安装NIS服务器等问题。您面临的问题是您的操作系统。在安装/配置ypbind,ypserv和其他软件包之前,我建议你将这些 shell命令放在fedora终端中。

$ user@user sudo su

然后输入您的密码

# root@user apt-get clean
# root@user apt-get autoclean
# root@user apt-get update
# root@user apt-get upgrade
# root@user apt-get dist-upgrade
# root@user reboot

然后您可以使用所有ypservypbind命令,试试这个,我相信一定会有效。