免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4008 | 回复: 3
打印 上一主题 下一主题

[故障求助] rac 两台主机的信任关系建立不起来 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-03-18 16:18 |只看该作者 |倒序浏览
$ rsh rac2 date
rcmd2: socket: The file access permissions do not allow the specified action.
$ ls
smit.log          smit.log.bak      smit.script       smit.transaction
$ rcp ./smit.log rac2:/home/oracle
rcmd2: socket: The file access permissions do not allow the specified action.

rac1下的/etc/hosts.equiv与/home/oracle/.rhosts   /etc/hosts
本机的ip地址是10.217.90.200
/etc/hosts内容:
# 10.2.0.2              x25sample       # x.25 name/address
127.0.0.1               loopback localhost      # loopback (lo0) name/address
10.217.90.200   rac1
10.217.90.202   rac1-vip
192.168.90.1    rac1-priv

10.217.90.201   rac2
10.217.90.203   rac2-vip
192.168.90.2    rac2-priv

/etc/hosts.equiv内容:
# ls -l /etc/hosts.equiv
-rw-------    1 root     system         2085 Mar 17 17:52 /etc/hosts.equiv
内容如下:
# -@group               denies access to all users on hosts in group
# +@group1 +@group2     allows access to users in group2 on hosts in group1
#public
rac1   oracle
rac2   oracle
ORACLE家目录/home/oracle/.rhosts文件内容:
$ more .rhosts
#public
10.217.90.201   oracle
$
-------------------------------------------------------------------

rac2下的/etc/hosts.equiv与/home/oracle/.rhosts   /etc/hosts
本机的ip地址是10.217.90.201
/etc/hosts.equiv内容:
#public
rac1   oracle
rac2   oracle

/etc/hosts文件内容:
# 10.2.0.2              x25sample       # x.25 name/address
127.0.0.1               loopback localhost      # loopback (lo0) name/address
10.217.90.200   rac1
10.217.90.202   rac1-vip
192.168.90.1    rac1-priv

10.217.90.201   rac2
10.217.90.203   rac2-vip
192.168.90.2    rac2-priv

ORACLE家目录/home/oracle/.rhosts文件内容:
$ more .rhosts
10.217.90.200   oracle

问题:大家看到了这个信任关系就是建立不起来。

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2011-03-18 18:38 |只看该作者
hosts里有的,系统有ip地址的,都要在rhosts文件里体现出来

论坛徽章:
0
3 [报告]
发表于 2011-03-19 13:47 |只看该作者
奇怪的问题/etc/hosts.equiv中内容如下:
#public
rac1 +
rac2 +

两台机器都是。在其他小鸡上信任关键、远程拷贝没有问题。怎么就偏偏这两个小鸡存在问题呢?系统版本 为
# oslevel -r
5300-09

论坛徽章:
0
4 [报告]
发表于 2011-03-19 13:48 |只看该作者
报如下错误:
$ rsh rac1 date
rcmd2: socket: The file access permissions do not allow the specified action.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP