成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

NIS服務器故障排除

運維 系統運維
NIS服務器生成數據庫的時候出錯:Unknown hostUpdating protocols...目標:將主機A配置為nis服務器,nis域名為testnis,主機A的nis域名為yangbo.testnis步驟如下。

NIS服務器生成數據庫的時候出錯:Unknown hostUpdating protocols...
目標:將主機A配置為nis服務器,nis域名為testnis,主機A的nis域名為yangbo.testnis
步驟如下:

1. 修改/etc/sysconfig/network文件, 加入一行:NISDOMAIN=testnis,即配置nis域名為testnis,并且修改HOSTNAME為yangbo.testnis
2. hostname命令修改主機名為yangbo.testnis
3. 修改/etc/hosts文件,將127.0.0.1這一行改為:127.0.0.1               yangbo.testnis yangbo yangbo
4. 啟動ypserv,yppasswdd服務成功
5. rpcinfo查詢ypserv和yppasswd已經成功使用了RPC服務:
         運行 rpcinfo -u yangbo ypserv,結果為
                program 100004 version 1 ready and waiting
                program 100004 version 2 ready and waiting
         運行 rpcinfo -u yangbo yppasswdd,結果為
                program 100009 version 1 ready and waiting
6. 建立NIS數據庫,這一步遇到了問題,系統提示:failed to send 'clear' to local ypserv: RPC: Unknown hostUpdating passwd.byuid...

--------我到網上查,有些人是說這是因為找不到的主機及ip 對應關系,可是在/etc/hosts文件中,這個映射關系我已經建立了阿。莫非我配置的不對?請問該怎么配置?
[root@yangbo ~]# /usr/lib/yp/ypinit -m

At this point, we have to construct a list of the hosts which will run NIS
servers. yangbo.testnis is in the list of NIS server hosts.  Please continue toadd                                                                              
the names for the other hosts, one per line.  When you are done with the         
list, type a <control D>.                                                        
        next host to add:  yangbo.testnis                                        
        next host to add:                                                        
The current list of NIS servers looks like this:                                 

yangbo.testnis

Is this correct?  [y/n: y]  y
We need a few minutes to build the databases...
Building /var/yp/testnis/ypservers...         
Running /var/yp/Makefile...                   
gmake[1]: Entering directory `/var/yp/testnis'
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 mail.aliases...
failed to send 'clear' to local ypserv: RPC: Unknown hostgmake[1]: Leaving directory `/var/yp/testnis'

yangbo.testnis has been set up as a NIS master server.

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

責任編輯:符甲 來源: 51CTO
相關推薦

2009-12-04 09:47:47

LinuxNFS服務器

2009-10-21 14:39:27

HP服務器故障排除

2009-10-21 14:16:50

服務器故障排除

2009-07-16 15:27:59

web服務器

2009-08-26 11:55:55

Dell服務器故障排除

2009-10-13 10:55:14

Web服務器故障排除

2011-05-25 10:52:45

2009-12-15 16:30:02

郵件服務器故障

2009-09-08 15:41:08

NFS服務器

2009-09-17 13:23:22

NIS服務器

2009-09-17 18:07:51

Nis服務器

2009-09-17 18:04:42

Nis服務器

2009-04-22 17:03:40

Linux服務器七要素

2009-08-14 17:34:02

2009-08-24 17:20:29

IBM刀片服務器宕機

2009-06-27 20:20:00

LinuxNFS故障

2009-09-17 18:05:51

Nis服務器

2010-04-19 17:18:14

2010-12-30 11:20:13

數據庫連接

2009-08-31 17:12:35

點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 狠狠干美女 | 一级黄色大片 | 亚洲成人黄色 | 日韩不卡一二区 | 国产精品a免费一区久久电影 | 亚洲成人免费视频 | 久久久免费精品 | 国产乱码久久久久久一区二区 | 久久亚洲一区二区 | 欧美情趣视频 | 超碰国产在线 | 久久久久久亚洲精品 | 81精品国产乱码久久久久久 | 水蜜桃亚洲一二三四在线 | 91pao对白在线播放 | 国产精品久久久久免费 | 免费av在线 | 成人在线电影网站 | 精品日本久久久久久久久久 | 亚洲一二三区不卡 | 91香蕉视频在线观看 | 精品综合网 | 香蕉视频1024 | 日本a v在线播放 | 国产成人小视频 | 成人性生交a做片 | 国产精品久久久久久久一区探花 | 精品欧美乱码久久久久久 | 农夫在线精品视频免费观看 | jizz亚洲人 | 亚洲欧美日韩精品久久亚洲区 | 午夜视频在线免费观看 | 色在线免费视频 | 亚洲成人高清 | 无码日韩精品一区二区免费 | 久久久精彩视频 | 七七婷婷婷婷精品国产 | 97日日碰人人模人人澡分享吧 | 国产日韩一区二区三区 | 极情综合网| 国产精品久久久久久久久久三级 |