您的位置:首页 > 数据库 > Oracle

ORACLE RAC安装问题解决记录(1)-PRKR-1007,PRKC-1020,PRKO-2005

2008-04-30 17:15 375 查看
系统环境
主机:Window2003R2 SP2 VMWare3.1 GSX Server装了两台Redhat Linux AS3 U4
每台机器512M内存
其上装了Oracle9.2.0.4 for linux 32



问题现象:
两台机器都启动正常,oracm及gsd都启动正常
第一台启动gsd服务的机器srvctl config显示正常
但第二台启动gsd服务的机器运行srvctl时出错
出错提示如下:

[oracle@linux-yzs2 bin]$ srvctl config
PRKC-1020 : Exception while executing the operation on the remote node linux-yzs2


[oracle@linux-yzs2 bin]$ srvctl start database -d rac
PRKR-1007 : getting of cluster database rac configuration failed,
PRKC-1020 : Exception while executing the operation on the remote node linux-yzs2
PRKO-2005 : Application error: Failure in getting Cluster Database Configuration for: rac

问题原因:
/etc/hosts文件中的127.0.0.1多配置一下机器名,hosts 内容如下:
[root@linux-yzs2 bin]# cat /etc/hosts

127.0.0.1 linux-yzs2 localhost.localdomain localhost

192.168.0.26 linux-yzs1
192.168.0.27 linux-yzs2
192.168.1.6 linux-yzs-prv1
192.168.1.7 linux-yzs-prv2

解决方法:
将127.0.0.1 的机器名去了
改成如下

[root@linux-yzs2 bin]# cat /etc/hosts

127.0.0.1 localhost.localdomain localhost

192.168.0.26 linux-yzs1
192.168.0.27 linux-yzs2
192.168.1.6 linux-yzs-prv1
192.168.1.7 linux-yzs-prv2
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐