免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7541 | 回复: 0
打印 上一主题 下一主题

OPatch failed with error code 74 的解决方法 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-12-22 08:54 |只看该作者 |倒序浏览
问题描述:
客户的数据库是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顺利安装成功
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP