您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

Oracle PRKC-1002错误原因和解决方案

2024/2/23 6:41:27发布19次查看
小编在 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 exe
小编在 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.
其实 prkc-1002 错误关键是解决时间同步问题,尽管我在安装 vmware-tools 之后,勾选 vmware-toolbox 的 miscellaneous options 选项,但 node1 的时间还是比 node2 的快十几秒。参考了一下《大话oracle rac》这本书,,决定选用 ntp 服务来使时间同步。 刚开始我是用 node1 来做 ntp 服务的,但做完后发现 node1 的时间还是比 node2 的快几秒,为了保守起见, 我用 node2 来做 ntp 服务。
在 node2 用 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
然后在 node1 用 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
若这样还不可以,那就要把安装数据库的 node1 的时间调得比 node2 慢点。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product