-2

我正在处理fedora 17,我正在尝试配置,我通过 ' yumNIS server ' 命令安装了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. 

谁能帮我解决这个问题,由于这个问题,客户端无法连接到我的服务器。

4

1 回答 1

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命令了,试试这个,我相信它一定会奏效的。

于 2013-07-25T15:43:21.127 回答