免费注册 查看新帖 |

Chinaunix

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

能搜有关rcp的文章全看了,还是不知问题出在哪里??????? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-14 16:54 |只看该作者 |倒序浏览
在vmware里安装了两个CentOS ,想做oracle 10g的RAC,在rcp这一步卡住了.
A.主机oracle1 配置文件如下:
[root@oracle1 root]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost
192.168.0.127   oracle1
172.16.0.1      node1
172.16.0.2      node2
192.168.0.128   oracle2
[root@oracle1 root]# cat /etc/hosts.equiv
+oracle1 oracle
+oracle2 oracle
+node1   oracle
+node2   oracle
+oracle1 root
+oracle2 root
+node1   root
+node2   root
++
[root@oracle1 root]# su - oracle
[oracle@oracle1 oracle]$ cat .rhosts
oracle1 oracle
oracle2 oracle
node1   oracle
node2   oracle
[oracle@oracle1 oracle]$  rsh oracle2 ls -l /etc/hosts.equiv
-rw-------    1 root     root           67 Jul 13 23:22 /etc/hosts.equiv
[oracle@oracle1 oracle]$ rcp /oracle/a oracle2:/oracle/b
Trying krb4 rcp...
trying normal rcp (/usr/bin/rcp)
rcmd: socket: Permission denied

*************************************
B.主机oracle2 配置如下:

[root@oracle2 root]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost
172.16.0.2      node2
192.168.0.128   oracle2
192.168.0.127   oracle1
172.16.0.1      node1
[root@oracle2 root]# cat /etc/hosts.equiv
+oracle1 oracle
+oracle2 oracle
+node1   oracle
+node2   oracle
++
[root@oracle2 root]# su - oracle
[oracle@oracle2 oracle]$ cat .rhosts
oracle1 oracle
oracle2 oracle
node1   oracle
node2   oracle
[oracle@oracle2 oracle]$ rsh oracle1 ls -l /etc/hosts.equiv
-rw-------    1 root     root          123 Jun 24 03:48 /etc/hosts.equiv
[oracle@oracle2 oracle]$ rcp /oracle/a oracle1:/oracle/b
Trying krb4 rcp...
trying normal rcp (/usr/bin/rcp)
rcmd: socket: Permission denied
********************
问题是:
1,rsh 可以,rlogin也行,
就是rcp用不了,Permission denied,问题出在哪里呢?

2,是不是rhosts的格式不对呢?格式应该怎么写呢?

[ 本帖最后由 26510777 于 2006-7-14 16:58 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-07-14 17:30 |只看该作者
我写了手册,就在本版,仔细看吧.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP