solaris X86-64下一个ORACLE战斗11.2.0.3.8补丁:正确的步骤:1.BUG6880880 。OPATCH补丁2.BUG16902043。11.2.0.3.8补丁情感是练啊观看easy一波三折的事情--图像OPATCH的版本号问题在安装11.2.0.3.8补丁前有提示的。要细心唉。
MOS还是非常好用的哈哈。
安装过程:1.环境检查
-bash-3.2$ ls16902043 alert_byssolaris.logDesktop p16902043_112030_Solaris86-64.zipDocuments u01-bash-3.2$ cd 16902043/-bash-3.2$ ls13343438 13923374 14727310 16619892 README.html patchmd.xml13696216 14275605 16056266 16902043 README.txt-bash-3.2$ ./opatch lsinventory CdetailInvoking OPatch 11.2.0.1.7Oracle Interim Patch Installer version 11.2.0.1.7Copyright (c) 2011, Oracle Corporation. All rights reserved.Oracle Home : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1Central Inventory : /export/home/oracle/u01/app/oraInventory from : /var/opt/oracle/oraInst.locOPatch version : 11.2.0.1.7OUI version : 11.2.0.3.0Log file location : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-05-13_16-18-52PM.logLsinventory 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.0There are 1 products installed in this Oracle Home.There are no Interim patches installed in this Oracle Home.--------------------------------------------------------------------------------OPatch succeeded.-bash-3.2$ ls16902043 alert_byssolaris.logDesktop p16902043_112030_Solaris86-64.zipDocuments 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.7Oracle Interim Patch Installer version 11.2.0.1.7Copyright (c) 2011, Oracle Corporation. All rights reserved.PREREQ sessionOracle Home : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1Central Inventory : /export/home/oracle/u01/app/oraInventory from : /var/opt/oracle/oraInst.locOPatch version : 11.2.0.1.7OUI version : 11.2.0.3.0Log file location : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-05-13_16-21-21PM.logInvoking prereq "checkconflictagainstohwithdetail"Prereq "checkConflictAgainstOHWithDetail" passed.OPatch succeeded.#####################################################
2.開始安装
-bash-3.2$ cd ..-bash-3.2$ pwd/export/home/oracle/16902043-bash-3.2$ ls13343438 13923374 14727310 16619892 README.html patchmd.xml13696216 14275605 16056266 16902043 README.txt-bash-3.2$ opatch applyInvoking OPatch 11.2.0.1.7Oracle Interim Patch Installer version 11.2.0.1.7Copyright (c) 2011, Oracle Corporation. All rights reserved.Oracle Home : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1Central Inventory : /export/home/oracle/u01/app/oraInventory from : /var/opt/oracle/oraInst.locOPatch version : 11.2.0.1.7OUI version : 11.2.0.3.0Log file location : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-05-13_16-27-02PM.logVerifying environment and performing prerequisite checks...UtilSession failed: Patch 13696216 requires OPatch version 11.2.0.3.0.Patch 13923374 requires OPatch version 11.2.0.3.0.Patch 14275605 requires OPatch version 11.2.0.3.0.Patch 14727310 requires OPatch version 11.2.0.3.0.Patch 16056266 requires OPatch version 11.2.0.3.0.Patch 16619892 requires OPatch version 11.2.0.3.0.Patch 16902043 requires OPatch version 11.2.0.3.0.The OPatch version being used (11.2.0.1.7) doesn't meet the minimum version required by the patch(es). Please download latest OPatch from My Oracle Support.Log file location: /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-05-13_16-27-02PM.logOPatch failed with error code 73从提示中能够看到:The OPatch version being used (11.2.0.1.7) doesn't meet the minimum version required by the patch(es)
是OPATCH版本号低。
OPatch - Where Can I Find the Latest Version of OPatch?
[Video] (文档 ID 224346.1)
文档最后找到:
For Oracle11g Release 2 (11.2.0.x),
select release "11.2.0.0.0" (description "OPatch 11.2") and download
p6880880_112000_platform.zip
As of December 2013 the OPatch release is 11.2.0.3.6
####下载补丁p6880880_112000_platform.zip -----事实上这个在PSU的README的最開始就有:
2.1 OPatch Utility
You must use the OPatch utility version 11.2.0.3.0 or later to apply this patch. Oracle recommends that you use the latest released OPatch version for 11.2, which is available for download from My Oracle Support patch 6880880 by selecting the 11.2.0.0.0 release.
For information about OPatch documentation, including any known issues, see My Oracle Support Document 293369.1 OPatch documentation list.
3.安装OPATCH
在ORACLE_HOME下备份OPATCH文件夹: -bash-3.2$ tar -cvf opatch.tar OPatch/解压p6880880_112000_platform.zip,将ORACLE_HOME下备份OPATCH文件夹文件删除,再移动解压文件夹。-bash-3.2$ mv OPatch/ /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/-bash-3.2$ opatch -help 查看是否可用。###############################4.再次打补丁(数据库关闭、监听关闭、DBCONSOLE关闭) :
-bash-3.2$ opatch apply日志中有warnings:-bash-3.2$ tail /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-05-13_18-29-20PM_1.log[May 13, 2014 6:52:15 PM] 1) OUI-67215: OPatch found the word "warning" in the stderr of the make command. Please look at this stderr. You can re-run this make command. Stderr output: ld: warning: option -YP appears more than once, first setting taken ld: warning: option -Q appears more than once, first setting taken[May 13, 2014 6:52:15 PM] --------------------------------------------------------------------------------[May 13, 2014 6:52:15 PM] OUI-67008:OPatch Session completed with warnings.[May 13, 2014 6:52:15 PM] Finishing UtilSession at Tue May 13 18:52:15 CST 2014[May 13, 2014 6:52:15 PM] Log file location: /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-05-13_18-29-20PM_1.log从MOS上查询此报错:
Opatch Warning During Patch Apply : "ld: warning: option -YP appears more than once, first setting taken" (文档 ID 1571550.1) 能够忽略: Applies to:Oracle Database - Enterprise Edition - Version 11.2.0.3 to 11.2.0.4 [Release 11.2]Oracle Solaris on SPARC (64-bit)Oracle Solaris on x86-64 (64-bit)CauseMake warnings caused due to Options for ld command appears more than once.Solution
These warnings are safely ignorable. ----到目前为止安装。
版权声明:本文博客原创文章,博客,未经同意,不得转载。
本文转自mfrbuaa博客园博客,原文链接:http://www.cnblogs.com/mfrbuaa/p/4641434.html,如需转载请自行联系原作者