偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

NIS服務(wù)器故障排除

運(yùn)維 系統(tǒng)運(yùn)維
NIS服務(wù)器生成數(shù)據(jù)庫(kù)的時(shí)候出錯(cuò):Unknown hostUpdating protocols...目標(biāo):將主機(jī)A配置為nis服務(wù)器,nis域名為testnis,主機(jī)A的nis域名為yangbo.testnis步驟如下。

NIS服務(wù)器生成數(shù)據(jù)庫(kù)的時(shí)候出錯(cuò):Unknown hostUpdating protocols...
目標(biāo):將主機(jī)A配置為nis服務(wù)器,nis域名為testnis,主機(jī)A的nis域名為yangbo.testnis
步驟如下:

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

--------我到網(wǎng)上查,有些人是說(shuō)這是因?yàn)檎也坏降闹鳈C(jī)及ip 對(duì)應(yīng)關(guān)系,可是在/etc/hosts文件中,這個(gè)映射關(guān)系我已經(jīng)建立了阿。莫非我配置的不對(duì)?請(qǐng)問(wèn)該怎么配置?
[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.  

責(zé)任編輯:符甲 來(lái)源: 51CTO
相關(guān)推薦

2009-12-04 09:47:47

LinuxNFS服務(wù)器

2009-10-21 14:16:50

服務(wù)器故障排除

2009-10-21 14:39:27

HP服務(wù)器故障排除

2009-07-16 15:27:59

web服務(wù)器

2009-08-26 11:55:55

Dell服務(wù)器故障排除

2009-10-13 10:55:14

Web服務(wù)器故障排除

2009-12-15 16:30:02

郵件服務(wù)器故障

2011-05-25 10:52:45

2009-09-08 15:41:08

NFS服務(wù)器

2009-09-17 13:23:22

NIS服務(wù)器

2009-09-17 18:07:51

Nis服務(wù)器

2009-09-17 18:04:42

Nis服務(wù)器

2009-04-22 17:03:40

Linux服務(wù)器七要素

2009-08-14 17:34:02

2009-08-24 17:20:29

IBM刀片服務(wù)器宕機(jī)

2009-06-27 20:20:00

LinuxNFS故障

2009-09-17 18:05:51

Nis服務(wù)器

2010-04-19 17:18:14

2010-12-30 11:20:13

數(shù)據(jù)庫(kù)連接

2009-08-31 17:12:35

點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)