亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 3805 | 回復(fù): 1
打印 上一主題 下一主題

[服務(wù)應(yīng)用] NIS客戶端不能開啟ypbind服務(wù) [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2012-07-09 13:23 |只看該作者 |倒序?yàn)g覽
不知道為什么一直報(bào)如下的錯(cuò)誤。。。。有點(diǎn)暈 還是沒(méi)有配置好嗎? 求指教。。。。

  1. [root@localhost ~]# service ypbind restart
  2. Shutting down NIS service:                                 [  OK  ]
  3. Starting NIS service:                                      [  OK  ]
  4. Binding NIS service: ..................                    [FAILED]
復(fù)制代碼
客戶端的yp.conf是這樣的
  1. [root@localhost ~]# cat /etc/yp.conf
  2. # /etc/yp.conf - ypbind configuration file
  3. # Valid entries are
  4. #
  5. # domain NISDOMAIN server HOSTNAME
  6. #       Use server HOSTNAME for the domain NISDOMAIN.
  7. #
  8. # domain NISDOMAIN broadcast
  9. #       Use  broadcast  on  the local net for domain NISDOMAIN
  10. #
  11. # domain NISDOMAIN slp
  12. #       Query local SLP server for ypserver supporting NISDOMAIN
  13. #
  14. # ypserver HOSTNAME
  15. #       Use server HOSTNAME for the  local  domain.  The
  16. #       IP-address of server must be listed in /etc/hosts.
  17. #
  18. # broadcast
  19. #       If no server for the default domain is specified or
  20. #       none of them is rechable, try a broadcast call to
  21. #       find a server.
  22. #
  23. domain fxd server 192.168.98.74
復(fù)制代碼
服務(wù)端的/etc/sysconfig/network文件

  1. [root@localhost ~]# cat /etc/sysconfig/network
  2. NETWORKING=yes
  3. HOSTNAME=localhost.localdomain
  4. NISDOMAIN=fxd
復(fù)制代碼
服務(wù)端的/etc/ypserv.conf文件:
  1. vim /etc/ypserv.conf
  2. [root@localhost ~]# vim /etc/ypserv.conf
  3. #
  4. # ypserv.conf   In this file you can set certain options for the NIS server,
  5. #               and you can deny or restrict access to certain maps based
  6. #               on the originating host.
  7. #
  8. #               See ypserv.conf(5) for a description of the syntax.
  9. #

  10. # Some options for ypserv. This things are all not needed, if
  11. # you have a Linux net.

  12. # Should we do DNS lookups for hosts not found in the hosts table ?
  13. # This option is ignored in the moment.
  14. dns: no

  15. # How many map file handles should be cached ?
  16. files: 30

  17. # Should we register ypserv with SLP ?
  18. # slp: no
  19. # After how many seconds we should re-register ypserv with SLP ?
  20. # slp_timeout: 3600

  21. # xfr requests are only allowed from ports < 1024
  22. xfr_check_port: yes

  23. # The following, when uncommented,  will give you shadow like passwords.
  24. # Note that it will not work if you have slave NIS servers in your
  25. # network that do not run the same server as you.

  26. # Host                     : Domain  : Map              : Security
  27. #
  28. # *                        : *       : passwd.byname    : port
  29. # *                        : *       : passwd.byuid     : port

  30. # Not everybody should see the shadow passwords, not secure, since
  31. # under MSDOG everbody is root and can access ports < 1024 !!!
  32. *                          : *       : shadow.byname    : port
  33. *                          : *       : passwd.adjunct.byname : port

  34. # If you comment out the next rule, ypserv and rpc.ypxfrd will
  35. # look for YP_SECURE and YP_AUTHDES in the maps. This will make
  36. # the security check a little bit slower, but you only have to
  37. # change the keys on the master server, not the configuration files
  38. # on each NIS server.
  39. # If you have maps with YP_SECURE or YP_AUTHDES, you should create
  40. # a rule for them above, that's much faster.
  41. # *                        : *       : *                : none
復(fù)制代碼

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2012-07-09 14:55 |只看該作者
日志文件里看看有什么提示
http://linux.vbird.org/linux_server/0430nis.php#nis_client
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP