| 查看: 370 | 回复: 1 | ||
[求助]
NIS 配置方面问题
|
|
[root@linux ~]# /usr/lib/yp/ypinit -m At this point, we have to construct a list of the hosts which will run NIS servers. master.smile 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: master.smile <==这个地方系统会主动捉到 next host to add: <==按下 [ctrl]-d The current list of NIS servers looks like this: master.smile Is this correct? [y/n: y] y We need a few minutes to build the databases... Building /var/yp/smile/ypservers... Running /var/yp/Makefile... gmake[1]: Entering directory `/var/yp/smile' Updating passwd.byname... ....中间省略.... gmake[1]: Leaving directory `/var/yp/smile' master.smile has been set up as a NIS master server. Now you can run ypinit -s master.smile on all slave server. 要注意出现的资讯当中,在告知你可以直接输入 [ctrl]-d 以结束的那个地方, 你的主机名称会主动的被捉出来,注意!这个主机名称务必需要在 /etc/hosts 可以被找到 IP 的对应, 否则会出现问题。另外,万一在执行 ypinit -m 时,出现如下的错误,那肯定就是有些资料没有被建立了! "gmake[1]: *** No rule to make target `/etc/aliases\', needed by `mail.aliases\'. Stop. gmake[1]: Leaving directory `/var/yp/abcnis\ make: *** [target] Error 2 Error running Makefile. Please try it by hand. [root@www ~]# touch /etc/aliases # 解决方法很简单吶!缺少什么档案,就 touch 他就是了! [root@www ~]# /usr/lib/yp/ypinit -m # 然后再重新执行一次即可!" 我的问题是:但我touch /etc/aliases 后问题仍然没有解决,报错如没touch之前。。。求助各位高手该怎么解决。。。 |
» 猜你喜欢
有时候真觉得大城市人没有县城人甚至个体户幸福
已经有11人回复
表哥与省会女结婚,父母去帮带孩子被省会女气回家生重病了
已经有7人回复
同年申请2项不同项目,第1个项目里不写第2个项目的信息,可以吗
已经有8人回复
依托企业入选了国家启明计划青年人才。有无高校可以引进的。
已经有7人回复
依托企业入选了国家启明计划青年人才。有无高校可以引进的。
已经有10人回复
天津大学招2026.09的博士生,欢迎大家推荐交流(博导是本人)
已经有9人回复
有院领导为了换新车,用横向课题经费买了俩车
已经有10人回复
AI 太可怕了,写基金时,提出想法,直接生成的文字比自己想得深远,还有科学性
已经有6人回复
» 本主题相关价值贴推荐,对您同样有帮助:
集群配置ssh,需要要给每个用户都单独配置吗?
已经有26人回复
2楼2014-04-11 23:24:50













回复此楼
~~~~