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$ ls

16902043                           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 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.log



OPatch 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

cmd=show&type=NOT&id=293369.1">
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)



Cause



Make warnings caused due to Options for ld command appears more than once.

Solution



 These warnings are safely ignorable.

----到目前为止安装。

版权声明:本文博客原创文章,博客,未经同意,不得转载。

solaris X86-64下一个ORACLE战斗11.2.0.3.8在一波折叠补丁的更多相关文章

  1. oracle 11.2.0.4单实例文件系统安装与补丁

    [TOC] 一,预安装处理 1.版本准备 操作系统:RHEL 6.5 数据库版本:Oracle 11.2.0.4 相关包:p13390677_112040_Linux-x86-64_1of7.zip  ...

  2. ORACLE RAC 11.2.0.4 CentOS release 6.9 静默安装1.0版本

    RAC11.2.0.4静默安装 1.0版本,20180613 #本文档IP地址使用X隐藏,个人可按照自己的当前环境IP进行适当修改 1. 清除原环境中的单实例软件 #清除原环境: 删除/etc/ora ...

  3. Ubuntu14.04搭建Oracle instantClient 11.2.0.4并配置cx_Oracle5.1.2

    一.配置Oracle instantClient 11.2.0.4 1.下载Oracle客户端: 打开http://www.oracle.com/technetwork/topics/linuxx86 ...

  4. csharp: ODP.NET,System.Data.OracleClient(.net 4.0) and System.Data.OleDb读取Oracle g 11.2.0的区别

    ODP.NET: 引用: using Oracle.DataAccess; //Oracle g 11.2.0 using Oracle.DataAccess.Client; using Oracle ...

  5. Oracle安装11.2.0.4.180116补丁及如何检查数据库安装补丁

    最近做了一个安装11.2.0.4.180116补丁的实验,突然想起之前和同事讨论的一个问题:如何检查数据库安装补丁的版本,之前搜到的是去查dba_registry_history,有的说在操作系统中执 ...

  6. oracle之 11.2.0.4 bbed安装

    一. bbed安装: 1.ORACLE 11G下安装BBED,需要从ORACLE 10G中复制三个包 sbbdpt.o .ssbbded.o 并将两个文件移到$ORACLE_HOME/rdbms/li ...

  7. 单机 Oracle 11g(11.2.0.4)手动打补丁PSU(11.2.0.4.8)

    环境说明:database : 11.2.0.4 x64os: centos6.7 x64 准备内容:OPatch : p6880880_112000_Linux-x86-64.zipDB PSU : ...

  8. 【ERROR】while loading shared libraries: /u01/app/oracle/product/11.2.0/lib/libclntsh.so.11.1: cannot

    问题: [oracle@mydb]$ lsnrctl status lsnrctl: error while loading shared libraries: /u01/app/oracle/pro ...

  9. 当有多于64合乎逻辑的cpu时刻,Windows 下一个Oracle db 实例启动(startup)什么时候会hang(待定)

    Bug 9772171 - Database startup hangs on Windows when machine has more than 64 cores [ID 9772171.8] 该 ...

随机推荐

  1. KVC该机制

    KVC该机制 KVC是cocoa的大招,用来间接获取或者改动对象属性的方式. 一.KVC的作用: KVC大招之中的一个: [self setValuesForKeysWithDictionary:di ...

  2. 重新想象 Windows 8 Store Apps (4) - 控件之提示控件: ProgressRing; 范围控件: ProgressBar, Slider

    原文:重新想象 Windows 8 Store Apps (4) - 控件之提示控件: ProgressRing; 范围控件: ProgressBar, Slider [源码下载] 重新想象 Wind ...

  3. ORACLE Install (10g r2) FOR Red Hat Enterprise Linux Server release 5.5 (64 bit) (转)

    OS Info----------# cat /etc/redhat-releaseRed Hat Enterprise Linux Server release 5.5 (Tikanga)# cat ...

  4. unicode下一个,读取数据库乱码问题

    TCHAR cbContent[512];           dyn.GetFieldValue(0,cbContent,512); // 中文会显示乱码 AfxMessageBox(cbConte ...

  5. hive RegexSerDe View

    EXTERNALkeyword它允许用户创建一个外部表.在表中的同时施工指定的路径中的实际数据(LOCATION).Hive 创建内部表时.会将数据移动到数据仓库指向的路径:若创建外部表,仅记录数据所 ...

  6. 关于telnet协议的研究以及用java进行封装实现自己的telnet客户端(转)

    最近在做一个远程控制的模块,其中用到了telnet协议,开始用的是apache-net包的telnetclient,但发现问题不少,比较慢,还有就是判断是否read完毕的问题.后来经过讨论打算实现自己 ...

  7. 《Java程序猿面试笔试宝典》之Java与C/C++有什么异同

    Java与C++都是面向对象语言,都使用了面向对象思想(比如封装.继承.多态等),因为面向对象有很多非常好的特性(继承.组合等),使得二者都有非常好的可重用性. 须要注意的是,二者并不是全然一样,以下 ...

  8. 华为上机题汇总----java

        以下华为上机题目都是网上整理得到的,代码都是自己调试过的,由于网上java答案较少,欢迎大家批评指正,也希望对准备华为上机的童鞋们有一点点帮助.在练习的过程中成长,加油!~~  第1题:输入字 ...

  9. SRM 620 D2L3: RandomGraph, dp

    称号:http://community.topcoder.com/stat? c=problem_statement&pm=13143&rd=15853 參考:http://apps. ...

  10. Oracle 六闪回技术,flashback

    Flashback 技术基于Undo segment基于内容的, 因此,限制UNDO_RETENTON参数. 要使用flashback 特征,您必须启用自己主动撤销管理表空间. 在Oracle 11g ...