正确步骤:
1.BUG6880880 ,OPATCH的补丁
2.BUG16902043,11.2.0.3.8补丁
感慨就是要实践啊看着容易的事也一波三折--像OPATCH的版本问题在安装11.2.0.3.8补丁前有提示的,要细心唉。
MOS还是很好用的哈哈。
1.环境检查
-bash-3.2$ ls16902043 alert_byssolaris.log
Desktop p16902043_112030_Solaris86-64.zip
Documents u01
-bash-3.2$ cd 16902043/
-bash-3.2$ ls
13343438 13923374 14727310 16619892 README.html patchmd.xml
13696216 14275605 16056266 16902043 README.txt
-bash-3.2$ ./opatch lsinventory Cdetail
Invoking OPatch 11.2.0.1.7
Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation. All rights reserved.
Oracle Home : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1
Central Inventory : /export/home/oracle/u01/app/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 11.2.0.1.7
OUI version : 11.2.0.3.0
Log file location : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-05-13_16-18-52PM.log
Lsinventory Output file location : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2014-05-13_16-18-52PM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.3.0
There are 1 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.
-bash-3.2$ ls
16902043 alert_byssolaris.log
Desktop p16902043_112030_Solaris86-64.zip
Documents u01
###########
-bash-3.2$ cd 16902043/
-bash-3.2$ pwd
/export/home/oracle/16902043/16902043
-bash-3.2$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Invoking OPatch 11.2.0.1.7
Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation. All rights reserved.
PREREQ session
Oracle Home : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1
Central Inventory : /export/home/oracle/u01/app/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 11.2.0.1.7
OUI version : 11.2.0.3.0
Log file location : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-05-13_16-21-21PM.log
Invoking prereq "checkconflictagainstohwithdetail"
Prereq "checkConflictAgainstOHWithDetail" passed.
OPatch succeeded.
#####################################################
2.开始安装
-bash-3.2$ cd ..-bash-3.2$ pwd
/export/home/oracle/16902043
-bash-3.2$ ls
13343438 13923374 14727310 16619892 README.html patchmd.xml
13696216 14275605 16056266 16902043 README.txt
-bash-3.2$ opatch apply
Invoking OPatch 11.2.0.1.7
Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation. All rights reserved.
Oracle Home : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1
Central Inventory : /export/home/oracle/u01/app/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 11.2.0.1.7
OUI version : 11.2.0.3.0
Log file location : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-05-13_16-27-02PM.log
Verifying environment and performing prerequisite checks...
UtilSession failed:
Patch 13696216 requires