欢迎测试同行进来留言

关于PRKC-1002问题的解决办法

上一篇 / 下一篇  2010-08-25 16:47:42 / 个人分类:oracle在linux5x下的安装

在VMWareServer1.0.8中安装OracleRAC时, 碰到到了PRKC-1002错误:

WARNING: Error while copying directory /u01/oracle/product/10.2.0/db_1 with exclude file list 'null' to nodes 'rac2'. [PRKC-1002 : All the submitted commands did not execute successfully]

到Oracle技术支持找到了问题的原因如何解决:

Cause

This is because the date on the local node is higher than the date on the remote node(s). 

Solution

To fix this, set the times of the nodes to be the same.  You can do this with "ntpupdate <nodename>" to sync the dates.

就是解决时间同步后即可. 尽管我安装VMWare的tools之后,并勾选vmware-toolbox的Miscellaneous Options选项,但节点1的时间还是比节点2的快十几秒. 参考了一下《大话Oracle RAC》这本书, 决定选用NTP服务来使时间同步. 刚开始我是用节点1来做NTP服务的,但做完后发现节点1的时间还是比节点2的快几秒,为了保守起见, 我用节点2来做NTP服务.

在节点2用root用记编辑/etc/ntp.conf,加入下面这段

## add for rac
server 127.127.1.0 
fudge  127.127.1.0 stratum 11
driftfile /var/lib/ntp/drift
broadcastdelay 0.008

然后在节点1用root用记编辑/etc/ntp.conf,加入下面这段

## add for rac
server 192.168.1.131 prefer
driftfile /var/lib/ntp/drift
broadcastdelay 0.008

#注意是127.127.1.0而不是127.0.0.1,还有就是192.168.1.131 是节点一的IP地址

然后在两个节点执行下面的命令使NTP服务启动

/etc/init.d/ntpd start

若这样还不可以,那就要把安装数据库的节点1的时间调得比节点2慢点


TAG:

 

评分:0

我来说两句

Open Toolbar