问题描述:
客户的数据库是hp安腾平台,数据库是10G,要求升级数据库到10.2.0.4.8
操作步骤如下:
1.升级到10.2.0.4后,进行了crs的bundle 升级,patch是 9294403
2.然后打了patch 9352164 将数据库升级到10.2.0.4.4
3.开始打patch 11724977 将数据库升级到10.2.0.4.8 报下面的错误
/orabak/11724977
$ opatch apply
Invoking OPatch 10.2.0.5.1
Oracle Interim Patch Installer version 10.2.0.5.1
Copyright (c) 2010, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/product/10.2.0/db
Central Inventory : /oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 10.2.0.5.1
OUI version : 10.2.0.4.0
OUI location : /oracle/product/10.2.0/db/oui
Log file location : /oracle/product/10.2.0/db/cfgtoollogs/opatch/opatch2011-08-24_09-40-05AM.log
Patch history file: /oracle/product/10.2.0/db/cfgtoollogs/opatch/opatch_history.txt
ApplySession applying interim patch '11724977' to OH '/oracle/product/10.2.0/db'
Execution of 'sh /orabak/11724977/custom/scripts/init -apply 11724977 ':
Return Code = 0
Running prerequisite checks...
Patch 11724977: Optional component(s) missing : [ oracle.rdbms.dv, 10.2.0.4.0 ] , [ oracle.rdbms.dv.oc4j, 10.2.0.4.0 ]
Prerequisite check "CheckApplicable" failed.
The details are:
Patch 11724977:
Copy Action: Desctination File "/oracle/product/10.2.0/db/lib32/libnnz10.so" is not writeable.
'oracle.network.rsf.ic, 10.2.0.4.0': Cannot copy file from 'libnnz10.so' to '/oracle/product/10.2.0/db/lib32/libnnz10.so'
ApplySession failed during prerequisite checks: Prerequisite check "CheckApplicable" failed.
System intact, OPatch will not attempt to restore the system
OPatch failed with error code 74
解决方法:
使用操作系统命令fuser /oracle/product/10.2.0/db/lib32/libnnz10.so 检查这个库文件是被那个进程使用中
结果发现是被emagent使用,也就是这个实例配置了OEM,真是伤不起啊。。。
kill掉这个进程,patch顺利安装成功
阅读(10099) | 评论(0) | 转发(0) |