红联Linux门户
Linux帮助

建立NIS的Master数据库找不到Master啊~~帮我看看~~

发布时间:2010-11-14 10:37:45来源:红联作者:zhangda16
我想建立一个数据库
/etc/hosts
127.0.0.1 localhost.localdomain localhost localhost4
::1 localhost6.localdomain6 localhost6
192.168.100.2 Master
192.168.100.1 Slave

建立数据库会变成这样
[root@localhost ~]# /usr/lib/yp/ypinit -m

At this point, we have to construct a list of the hosts which will run NIS
servers. localhost.localdomain 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 .
next host to add: localhost.localdomain
next host to add:
master变成了localhost.localdomain,而不是为=我想要的Master,这是为什么啊~~~~网上找了好久,好像都没有人遇到我这种问题~~~~:0w223dc :0w223dc

然后在客户端
/etc/hosts
127.0.0.1 localhost.localdomain localhost localhost4
::1 localhost6.localdomain6 localhost6
192.168.100.2 Master
192.168.100.1 Slave

[root@localhost ~]# /usr/lib/yp/ypinit -s Master
Can't enumerate map from Master. Please check it is running

[root@localhost ~]# /usr/lib/yp/ypinit -s localhost.localdomain
Can't enumerate map from Master. Please check it is running

客户机和服务器能 ping 通 ~~~现在该怎么办啊~~~~?????:0wszxc
文章评论

共有 0 条评论