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

在VMWare Server 1.0.8中安装Oracle RAC时, 碰到到了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 " 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慢点

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7865774/viewspace-625875/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/7865774/viewspace-625875/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值