论坛风格切换切换到宽版
  • 856阅读
  • 4回复

[问题求助][RedHat] 【求助】客户端无法连接NIS服务器【已解决】 [复制链接]

上一主题 下一主题
离线kevin0426.
 
发帖
2245
C币
-192909
威望
427
贡献值
1
银元
-3
铜钱
5091
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
服务器端:
cat /etc./.sysconfig/network[成人用品]
NETWORKING=yes
NETWORK.ING_IPV6=no教育
HOSTNAME=localhost.loc.aldomai.n服务器
NISDOMAIN=re.dhat.local             汽车


servi.ce ypserv status    健康
yp.serv (pid 18421) is running.....


cat /var/yp/securenets. --- 印刷
25.5.255.255.255         localhos.t.
25..5.255.255.0           192.168.10.0(本地网段)           女人


service iptables statu.s             电子
Firewall is stoppe.d.电脑


[root@localhost. redhat.loca.l]# pwd           鲜花
/var/yp/redhat.loc.al--------------彩票
[root@loc.alhost redhat.lo.cal]# ls(广告)
group.bygid   hosts.byname  passwd.byna.me     protocols.bynumb.er  serv.ices.byname(广告)
gro.up.byname  mail.aliase.s  passwd.byuid      r.pc.byname          services.byservicename(广告)
hosts.bya.ddr  netid.byname  protocols.byname  rpc.bynumber        ypse.rvers--------------彩票
(.已设置 /u.sr/lib/yp/ypinit -m)健康


serv.ice portmap status.
portmap (.pid 18445) is running.....


客户端出错信息:
Stoppin.g portmap:                                .          [  OK  ].
Starting portmap:                                .  .        [  OK  ]            杀毒
Turning on .al.low_ypbind SELinux boolean              乙肝
Bindin.g to the NIS d.omain:                                 [  OK  ](广告)
Turni.ng off allow_ypbind SELi.nux boolean..............     [FAILED]<性病>


------------.-----------------.-学习
已解决,谢谢各位,由于本人疏忽,客户机的nisdomain输入错一个字符,导致无法加入NIS服务器http://upload.bbs.csuboy.com/Mon_1004/126_6976_893987e7a18c182.gif[/img](广告)

[ 本帖最后由 sjz198.3 于 2009-2-21 20:36 编.辑 ]学习

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线huandream1.
发帖
1997
C币
-559569
威望
361
贡献值
5
银元
-1
铜钱
4513
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
Re:[RedHat]


QUOTE:Turning off allow_ypbind SELinux boolean..............     [FAILED]

设置selinux的
或者是关闭selinux

离线laa110.
发帖
2019
C币
-152388
威望
394
贡献值
1
银元
-2
铜钱
4669
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
Re:[RedHat]
selinux会引起一些问题,建议刚开始的时候关闭selinux。。

离线pchhh.
发帖
1960
C币
-235489
威望
365
贡献值
1
银元
0
铜钱
4343
人人网人气币
0
只看该作者 地板  发表于: 2010-04-13
Re:[RedHat]
两台机器都已经关闭SELinux
cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted
[root@localhost ~]# cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted

并都重启,但是还是刚才那个结果

发帖
2112
C币
-235117
威望
406
贡献值
1
银元
-2
铜钱
4772
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-13
Re:[RedHat]

快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个