ITPub博客

首页 > 应用开发 > IT综合 > 打补丁打出新的BUG来了

打补丁打出新的BUG来了

原创 IT综合 作者:zhang41082 时间:2019-06-30 18:09:04 0 删除 编辑

ORACLE 10.2.0.2版本的RAC环境下,因为拿标准的TPC-C进行压力测试,发现后台ALERT日志中报有很多DEADLOCK,或许是TPC-C压力测试软件的问题,也或许是ORACLE的BUG,于是找到BUG相对应的补丁,OPATCH打上去,结果三个节点只有一个节点能起的来了,其他两个节点不能OPEN了,最后把新打的PATCH删掉,错误依旧。

[@more@]

手工启动会报ORA-03113: end-of-file on communication channel,尝试了一步步的来启动,结果发现是最后库OPEN的时候出现的问题,同时后台ALERT日志中报错:ORA-07445: exception encountered: core dump [kkxsyn()+584] [SIGSEGV] [Address not mapped to object] [0x000000168] [] [],METALINK发现是一个新的BUG,BUG号5128575。基本上就是说,你打PATCH的时候,ORACLE会忽悠你,说是PATCH打好了,其实只更新了你执行OPATCH的那个节点的库文件,其他的节点都没有更新,手工更新一下就OK了,下面是METALINK上详细的描述:

Installing the 10.2.0.2 Patch Set in a RAC installation
on any Unix platform does not correctly update the libknlopt.a
file on all nodes. The local node where the installer is run
does update libknlopt.a but remote nodes do not get the
updated file.

This can lead to dumps or internal errors on the remote nodes
if Oracle is subsequently relinked.
eg: Attempts to use PLSQL may dump in kkxcms or kkxsyn

The workaround steps below should be considered as a mandatory
post install steps for the 10.2.0.2 Patch Set.

Workaround:
Following install of 10.2.0.2 on a RAC system:
Ensure all instances are shut down
Manually copy $ORACLE_HOME/rdbms/lib/libknlopt.a from the local node
to all remote nodes and relink Oracle on all nodes.
eg: cd $ORACLE_HOME/rdbms/lib
make -f ins_rdbms.mk ioracle

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

请登录后发表评论 登录
全部评论

注册时间:2002-10-11

  • 博文量
    105
  • 访问量
    122256