OPatch failed with error code 73 (These not-installed components are oracle.crs:11.2.0.1.0)
1、问题缘由
applying patch 9413827 before upgrading crs to 11.2.0.3.0学习中
参考文献
http://oraclecimen.blogspot.com/2012/11/applying-patch-9413827-before-upgrading.html
自己没有完全理解这个操作过程导致自己浪费了一天的时间,我了去,狠狠抽自己一下!
总结:以后不懂的命令必须去看懂简介再去使用
命令帮助如下:
[oracle@dou_rac1 ~]$ /u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch -help
2、问题描述
[oracle@dou_rac1 ~]$ /u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch napply custom/server/ -local -oh /u01/app/oracle/product/11.2.0/dbhome_1 -id 9413827
Invoking OPatch 11.1.0.6.6
Oracle 中间补丁程序安装程序版本 11.1.0.6.6
版权所有 (c) 2009, Oracle Corporation。保留所有权利。
UTIL session
Oracle 主目录 : /u01/app/oracle/product/11.2.0/dbhome_1
主产品清单: /u01/app/oraInventory
从 : /etc/oraInst.loc
OPatch 版本 : 11.1.0.6.6
OUI 版本 : 11.2.0.1.0
OUI 位置 : /u01/app/oracle/product/11.2.0/dbhome_1/oui
日志文件位置 : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2013-08-09_08-35-43上午.log
Patch history file: /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch_history.txt
Invoking utility "napply"
Checking conflict among patches...
Checking if Oracle Home has components required by patches...
UtilSession 失败: Patch 9413827 requires component(s) that are not installed in OracleHome. These not-installed components are oracle.crs:11.2.0.1.0,
OPatch failed with error code 73
3、问题解决
[oracle@dou_rac1 ~]$ /u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch napply /u01/opatch/9413827/custom/server/ -local -oh /u01/app/oracle/product/11.2.0/dbhome_1 -id 9413827
--最后把custom/server/换成了绝对路径,问题解决
4、参考文献
applying patch 9413827 before upgrading crs to 11.2.0.3.0
http://oraclecimen.blogspot.com/2012/11/applying-patch-9413827-before-upgrading.html
(题外话,真的很喜欢这位老师的BLOG,以后向您学习!)
patch id 9413827
with root
/u01/app/11.2.0/grid/crs/install/rootcrs.pl -unlock
su - oracle
9413827/custom/scripts/prepatch.sh -dbhome $ORACLE_HOME
First applying patch for grid;
/u01/app/11.2.0/grid/OPatch/opatch napply -local -oh $CRS_HOME -id 9413827
then for database;
/u01/app/oracle/product/11.2.0/db_1/OPatch/opatch napply 9413827/custom/server/ -local -oh $ORACLE_HOME -id 9413827
again with root
chmod +w /u01/app/11.2.0/grid/log/rac1/agent/
chmod +w /u01/app/11.2.0/grid/log/rac1/agent/crsd/
su - oracle
custom/server/9413827/custom/scripts/postpatch.sh -dbhome $ORACLE_HOME
su - root
/u01/app/11.2.0/grid/crs/install/rootcrs.pl -patch
same steps for node 2 too..
OPatch failed with error code 73
http://www.oracle-notes.com/2012/08/17/opatch-failed-with-error-code-73/
Solutions:
1. Specify the full path and the patch under …/custom/server/ .. directory.
Example: /OPatch/opatch napply -oh -local /depot/patches/11.2/GIPSU2/12311357/custom/server/12311357
For more details see Document 763680.1
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26442936/viewspace-768317/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26442936/viewspace-768317/