OPatch failed with error code 73 (These not-installed components)

lovehewenyu發表於2013-08-12

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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章