收到邮件说要打一下这个psu的补丁,所以就找了一个11.2.0.3的database做了一下,下面是步骤:

Database 11.2.0.3.2 PSU Patch 13696216

1、download  Patch 13696216
2、安装:
其实安装步骤在自许文件中都有,这里主要要说明的就是如何升级optch
[oracle@oracle11g-std 13696216]$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Invoking OPatch 11.2.0.1.7

Oracle 中间补丁程序安装程序版本 11.2.0.1.7
版权所有 (c) 2011, Oracle Corporation。保留所有权利。

PREREQ session

Oracle Home       : /home/oracle/app/product/11.2.0.3
Central Inventory : /home/oracle/oraInventory_new
   from           : /etc/oraInst.loc
OPatch version    : 11.2.0.1.7
OUI version       : 11.2.0.3.0
Log file location : /home/oracle/app/product/11.2.0.3/cfgtoollogs/opatch/opatch2012-05-30_19-02-39下午.log

Invoking prereq "checkconflictagainstohwithdetail"

ZOP-47: The patch(es) has supersets with other patches installed in the Oracle Home (or) among themselves.

ZOP-40: The patch(es) has conflicts with other patches installed in the Oracle Home (or) among themselves.

Prereq "checkConflictAgainstOHWithDetail" failed.

Summary of Conflict Analysis:

There are no patches that can be applied now.

Following patches have conflicts. Please contact Oracle Support and get the merged patch of the patches : 
13772618, 13696216, 13742464, 13632717

Following patches are not required, as they are subset of the patches in Oracle Home or subset of the patches in the given list : 
13742438, 13742437, 13742436, 13742435, 13742434, 13742433

Following patches will be rolled back from Oracle Home on application of the patches in the given list : 
13772618, 13742464, 13742438, 13742437, 13742436, 13742435, 13742434, 13742433, 13632717

Conflicts/Supersets for each patch are:

Patch : 13696216

Bug Conflict with 13772618
        Conflicting bugs are:
        13772618,  12748240,  12780098

Bug Conflict with 13742464
        Conflicting bugs are:
        13742464,  13503598,  13554409

Bug Superset of 13742438
        Super set bugs are:
        13742438

Bug Superset of 13742437
        Super set bugs are:
        13742437

Bug Superset of 13742436
        Super set bugs are:
        13742436

Bug Superset of 13742435
        Super set bugs are:
        13742435

Bug Superset of 13742434
        Super set bugs are:
        13742434

Bug Superset of 13742433
        Super set bugs are:
        13742433

Bug Conflict with 13632717
        Conflicting bugs are:
        13632717

OPatch succeeded.
[oracle@oracle11g-std 13696216]$ opatch apply
Invoking OPatch 11.2.0.1.7

Oracle 中间补丁程序安装程序版本 11.2.0.1.7
版权所有 (c) 2011, Oracle Corporation。保留所有权利。

参数错误... For the composite patch you have specified, the number of entries in the composite.xml does not equal the number of inventory.xml's. This could mean you are trying to apply the active constituent alone. Please supply the top-level directory of the composite patch, not one of its subdirectories, for opatch apply. If you still get this error after applying the top-level directory the composite patch may be improperly packaged.

Please check the arguments and try again.

OPatch failed with error code 135
[oracle@oracle11g-std 13696216]$ cd ..
[oracle@oracle11g-std 13696216]$ opatch apply
Invoking OPatch 11.2.0.1.7

Oracle 中间补丁程序安装程序版本 11.2.0.1.7
版权所有 (c) 2011, Oracle Corporation。保留所有权利。

Oracle Home       : /home/oracle/app/product/11.2.0.3
Central Inventory : /home/oracle/oraInventory_new
   from           : /etc/oraInst.loc
OPatch version    : 11.2.0.1.7
OUI version       : 11.2.0.3.0
Log file location : /home/oracle/app/product/11.2.0.3/cfgtoollogs/opatch/opatch2012-05-30_19-03-24下午.log

Verifying environment and performing prerequisite checks...
UtilSession 失败:

Patch 13696216 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: /home/oracle/app/product/11.2.0.3/cfgtoollogs/opatch/opatch2012-05-30_19-03-24下午.log
从错误提示知道是当前的opatch的版本太低,需要对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 22-Mar-2012 the OPatch release is 11.2.0.3.0
然后就要去找这个补丁了

按照这个可以下到最新的opatch
升级opatch
备份原opatch
[oracle@oracle11g-std 11.2.0.3]$ tar -cvf OPatch.tar OPatch/
[oracle@oracle11g-std ~]$ unzip p6880880_112000_Linux-x86-64.zip 
mv OPatch/ /home/oracle/app/product/11.2.0.3/
[oracle@oracle11 OPatch]$ ./opatch -help

Oracle 中间补丁程序安装程序版本 11.2.0.3.0
版权所有 (c) 2012, Oracle Corporation。保留所有权利。
确认版本是11.2.0.3.0
此时再打补丁13696216

[oracle@oracle11 13696216]$ opatch apply

Oracle 中间补丁程序安装程序版本 11.2.0.3.0
版权所有 (c) 2012, Oracle Corporation。保留所有权利。

Oracle Home       : /home/oracle/app/product/11.2.0.3
Central Inventory : /home/oracle/oraInventory
   from           : /home/oracle/app/product/11.2.0.3/oraInst.loc
OPatch version    : 11.2.0.3.0
OUI version       : 11.2.0.3.0
Log file location : /home/oracle/app/product/11.2.0.3/cfgtoollogs/opatch/opatch2012-05-30_22-27-23下午_1.log

Verifying environment and performing prerequisite checks...
Composite Patch 13696216 is a bug superset of 13772618,13742464,13742438,13742437,13742436,13742435,13742434,13742433,13632717 in OH.

在应用指定列表中的补丁程序时, 以下补丁程序将从 Oracle 主目录中回退:
   13772618   13742464   13742438   13742437   13742436   13742435   13742434   13742433   13632717

是否继续? [y|n]
y
User Responded with: Y
OPatch continues with these patches:   13343438  13696216

是否继续? [y|n]
y
User Responded with: Y
All checks passed.
...........................................
SQL> startup
ORACLE instance started.

Total System Global Area  304807936 bytes
Fixed Size                  2227864 bytes
Variable Size             209715560 bytes
Database Buffers           88080384 bytes
Redo Buffers                4784128 bytes
Database mounted.
Database opened.
SQL> @?/rdbms/admin/catbundle.sql psu apply

PL/SQL procedure successfully completed.

PL/SQL procedure successfully completed.
............................................................
到此psu就打完了,接下来就是验证安装的psu

[oracle@oracle11 ~]$ cd app/product/11.2.0.3/OPatch
[oracle@oracle11 OPatch]$ ./opatch lsinventory

Oracle 中间补丁程序安装程序版本 11.2.0.3.0
版权所有 (c) 2012, Oracle Corporation。保留所有权利。

Oracle Home       : /home/oracle/app/product/11.2.0.3
Central Inventory : /home/oracle/oraInventory
   from           : /home/oracle/app/product/11.2.0.3/oraInst.loc
OPatch version    : 11.2.0.3.0
OUI version       : 11.2.0.3.0
Log file location : /home/oracle/app/product/11.2.0.3/cfgtoollogs/opatch/opatch2012-05-30_23-31-36下午_1.log

Lsinventory Output file location : /home/oracle/app/product/11.2.0.3/cfgtoollogs/opatch/lsinv/lsinventory2012-05-30_23-31-36下午.txt

--------------------------------------------------------------------------------
已安装的顶级产品 (1):

Oracle Database 11g                                                  11.2.0.3.0
此 Oracle 主目录中已安装 1 个产品。

中间补丁程序 (1) :

Patch  13696216     : applied on Wed May 30 22:39:07 CST 2012
Unique Patch ID:  14596729
Patch description:  "Database Patch Set Update : 11.2.0.3.2 (13696216)"
   Created on 3 Apr 2012, 22:02:51 hrs PST8PDT
Sub-patch  13343438; "Database Patch Set Update : 11.2.0.3.1 (13343438)"
   Bugs fixed:
     13070939, 13035804, 10350832, 13632717, 13041324, 12919564, 13420224
     13742437, 12861463, 12834027, 13742438, 13332439, 13036331, 13499128
     12998795, 12829021, 13492735, 9873405, 13742436, 13503598, 12960925
     12718090, 13742433, 12662040, 9703627, 12905058, 12938841, 13742434
     12849688, 12950644, 13362079, 13742435, 12620823, 12917230, 12845115
     12656535, 12764337, 13354082, 12588744, 11877623, 12612118, 12847466
     13742464, 13528551, 12894807, 13343438, 12582664, 12780983, 12748240
     12797765, 12780098, 13696216, 12923168, 13466801, 13772618, 11063191, 13554409

--------------------------------------------------------------------------------

OPatch succeeded.
[oracle@oracle11 OPatch]$

ORACLE PSU AND OPATTCH UPGRADE相关推荐

  1. oracle 11.2.0.4 mos,Oracle 11.2.0.4 最终版本发布以来的 Oracle PSU 列表

    Oracle 11.2.0.4 最终版本发布以来的 Oracle PSU 列表 Oracle 11g R2 是目前客户的主流版本,这个版本后续发布了一系列的补丁,今天列表整理一下,供大家参考. 云和恩 ...

  2. 打Oracle PSU时碰到的一些问题处理

    一.1   安装程序错误   UtilSession failed: Prerequisite check "CheckPatchApplicableOnCurrentPlatform&qu ...

  3. oracle psu无法开库,Oracle 12.2应用PSU后数据库无法启动

    环境介绍 数据库:Oracle Database 12.2 PSU:p30783652 数据库补丁应用完成,检查补丁应用情况 cd  /u01/app/oracle/product/12.2.0/db ...

  4. Oracle PSU 简介

    Oracle RAC创建完毕后,我们通常需要打上最新的PSU,因为里面是包含GI和DB的补丁集合:但大家头疼的是Oracle每季度都发布了好多种类搞得不知说错: 下面我为朋友介绍一下: 因为我安装的R ...

  5. oracle psu补丁sql脚本,打上12.1.2的最新PSU补丁集(20180417),打完后发现没跑脚本,如何补救?...

    ORACLE 12.1.2, LINUX6.8,补丁集是 20180417 版本 [root@rac21 /u01/app/12.1.2/grid/OPatch] #./opatchauto appl ...

  6. [Oracle] CPU/PSU补丁安装详细教程

    Oracle CPU的全称是Critical Patch Update, Oracle对于其产品每个季度发行一次安全补丁包,通常是为了修复产品中的安全隐患,以下是对CPU/PSU补丁安装的具体操作步骤 ...

  7. [Oracle] CPU/PSU补丁安装教程

    什么是CPU/PSU Oracle CPU的全称是Critical Patch Update, Oracle对于其产品每个季度发行一次安全补丁包,通常是为了修复产品中的安全隐患. Oracle PSU ...

  8. Oracle 10.2.0.5.4 Patch Set Update (PSU) – Patch No: p12419392

    有关Oracle patch和PSU,PSR 说明参考我的blog: Oracle 补丁体系 及opatch 工具 介绍 http://blog.csdn.net/tianlesoftware/art ...

  9. oracle数据库gi,Oracle_RAC数据库GI的PSU升级(11.2.0.4.0到11.2.0.4.8)

    Oracle_RAC数据库GI的PSU升级(11.2.0.4.0到11.2.0.4.8) 本次演示为升级oracle rac数据库,用GI的psu升级,从11.2.0.4.0升级到11.2.0.4.8 ...

最新文章

  1. 图像分割之(三)从Graph Cut到Grab Cut
  2. 2021夏季每日一题 【week6 完结】
  3. docker for ubuntu安装
  4. Mongodb 备份 还原 导出 导入 等批量操作
  5. C#.NET验证码智能识别学习笔记---06 解决java jre问题:JTessBoxEditor.jar打开的时报找不到或无法加载主类 com.sun.tools.javac.Main错误
  6. iOS中在NavigationController的toolbar中添加Segment控件
  7. sql语句ding_SQL语句映射文件增删改查、参数、缓存
  8. 立项、合同、项目章程、可行性分析、建设方案、项目范围、关系等比较重要的部分
  9. 如何评价《守望先锋》架构设计?
  10. 2021年最值得推荐的29个开源软件,想提升自己的程序员赶快收藏
  11. VFIO代码分析(3)VFIO-PCI驱动2
  12. 第三方APK如何隐藏虚拟按键
  13. 前端社招第一次面试问到的题【面试通过5k】
  14. 量化交易中,如何快速把股票代码转换成Int整形?
  15. 协作通信-af df的matlab仿真,协作通信三种协作方式(AF+DF+CC)的matlab仿真程序
  16. Symfony5 系列教程1-安装并认识symfony
  17. 5G通信时代汽车智能座舱发展趋势探讨
  18. Embarcadero专访丹麦Delphi程序员格伦-杜弗克Glenn Dufke
  19. 张小庆,在路上-开始(2)第一天上班
  20. java 实现 word xml 模板转pdf

热门文章

  1. 【51】51单片机C语言中.c文件和.h文件的关联
  2. 使用 CSS3 创建下拉菜单
  3. java 表达式引擎,Aviator 轻量级表达式引擎
  4. Android4.1手写笔输入、悬浮事件分析
  5. 【M14】明智运用异常规范
  6. 健康问答语料的爬虫(C#)
  7. 信息安全系统设计基础exp_4
  8. unity3D暴力街区射击大战游戏截图
  9. gts分布式事务框架踩坑记录
  10. 关于jsp的心得(一)