1)升级OPatch到11.2.0.3.0(老版本的为11.2.0.1.7不适合安装补丁)

-bash-3.00$ unzip p6880880_112000_SOLARIS64.zip
Archive:    p6880880_112000_SOLARIS64.zip
     creating: OPatch/
     creating: OPatch/oplan/
    inflating: OPatch/oplan/README.html    
    inflating: OPatch/oplan/README.txt    
     creating: OPatch/oplan/jlib/
    inflating: OPatch/oplan/jlib/oplan.jar    
    inflating: OPatch/oplan/jlib/oracle.oplan.classpath.jar    
    inflating: OPatch/oplan/jlib/automation.jar    
    inflating: OPatch/oplan/jlib/OsysModel.jar    
    inflating: OPatch/oplan/jlib/EMrepoDrivers.jar    
     creating: OPatch/oplan/jlib/apache-commons/
    inflating: OPatch/oplan/jlib/apache-commons/commons-cli-1.0.jar    
     creating: OPatch/oplan/jlib/jaxb/
    inflating: OPatch/oplan/jlib/jaxb/activation.jar    
    inflating: OPatch/oplan/jlib/jaxb/jaxb-api.jar    
    inflating: OPatch/oplan/jlib/jaxb/jaxb-impl.jar    
    inflating: OPatch/oplan/jlib/jaxb/jsr173_1.0_api.jar    
    inflating: OPatch/oplan/jlib/osysmodel-utils.jar    
    inflating: OPatch/oplan/jlib/CRSProductDriver.jar    
    inflating: OPatch/oplan/oplan            
     creating: OPatch/docs/
    inflating: OPatch/docs/FAQ                
    inflating: OPatch/docs/Users_Guide.txt    
    inflating: OPatch/docs/Prereq_Users_Guide.txt    
     creating: OPatch/jlib/
    inflating: OPatch/jlib/opatch.jar    
    inflating: OPatch/jlib/opatchsdk.jar    
    inflating: OPatch/jlib/oracle.opatch.classpath.jar    
    inflating: OPatch/jlib/oracle.opatch.classpath.unix.jar    
    inflating: OPatch/jlib/oracle.opatch.classpath.windows.jar    
     creating: OPatch/opatchprereqs/
     creating: OPatch/opatchprereqs/opatch/
    inflating: OPatch/opatchprereqs/opatch/opatch_prereq.xml    
    inflating: OPatch/opatchprereqs/opatch/rulemap.xml    
    inflating: OPatch/opatchprereqs/opatch/runtime_prereq.xml    
     creating: OPatch/opatchprereqs/oui/
    inflating: OPatch/opatchprereqs/oui/knowledgesrc.xml    
    inflating: OPatch/opatchprereqs/prerequisite.properties    
    inflating: OPatch/opatch                    
    inflating: OPatch/opatch.bat            
    inflating: OPatch/opatch.pl                
    inflating: OPatch/opatch.ini            
    inflating: OPatch/opatchdiag            
    inflating: OPatch/opatchdiag.bat    
    inflating: OPatch/emdpatch.pl            
    inflating: OPatch/README.txt            
     creating: OPatch/ocm/
     creating: OPatch/ocm/bin/
    inflating: OPatch/ocm/bin/emocmrsp    
     creating: OPatch/ocm/doc/
     creating: OPatch/ocm/lib/
    inflating: OPatch/ocm/lib/emocmclnt-14.jar    
    inflating: OPatch/ocm/lib/emocmclnt.jar    
    inflating: OPatch/ocm/lib/emocmcommon.jar    
    inflating: OPatch/ocm/lib/http_client.jar    
    inflating: OPatch/ocm/lib/jcert.jar    
    inflating: OPatch/ocm/lib/jnet.jar    
    inflating: OPatch/ocm/lib/jsse.jar    
    inflating: OPatch/ocm/lib/log4j-core.jar    
    inflating: OPatch/ocm/lib/osdt_core3.jar    
    inflating: OPatch/ocm/lib/osdt_jce.jar    
    inflating: OPatch/ocm/lib/regexp.jar    
    inflating: OPatch/ocm/lib/xmlparserv2.jar    
extracting: OPatch/ocm/ocm.zip            ls

inflating: OPatch/ocm/ocm_platforms.txt    
     creating: OPatch/crs/
     creating: OPatch/crs/log/
extracting: OPatch/crs/log/dummy        
    inflating: OPatch/crs/auto_patch.pl    
    inflating: OPatch/crs/crsconfig_lib.pm    
    inflating: OPatch/crs/crsdelete.pm    
    inflating: OPatch/crs/crspatch.pm    
    inflating: OPatch/crs/installPatch.excl    
    inflating: OPatch/crs/oracss.pm        
    inflating: OPatch/crs/patch112.pl    
    inflating: OPatch/crs/s_crsconfig_defs    
    inflating: OPatch/crs/s_crsconfig_lib.pm    
-bash-3.00$mv OPatch/ $ORACLE_HOME/11.2.0.3

2)应用补丁

-bash-3.00$ $ORACLE_HOME/11.2.0.3/OPatch/opatch apply -local
Oracle Interim Patch Installer version 11.2.0.3.0
Copyright (c) 2012, Oracle Corporation.    All rights reserved.

Oracle Home             : /data3/oracle/product/11.2.0.3
Central Inventory : /data3/oraInventory
     from                     : /data3/oracle/product/11.2.0.3/oraInst.loc
OPatch version        : 11.2.0.3.0
OUI version             : 11.2.0.3.0
Log file location : /data3/oracle/product/11.2.0.3/cfgtoollogs/opatch/opatch2012-10-30_21-14-24PM_1.log

Verifying environment and performing prerequisite checks...
OPatch continues with these patches:     13343438    13696216    13923374    14275605

Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:

You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:    
Email address/User Name:

You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:    Y

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/data3/oracle/product/11.2.0.3')

Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying sub-patch '13343438' to OH '/data3/oracle/product/11.2.0.3'

Patching component oracle.rdbms.rsf, 11.2.0.3.0...

Patching component oracle.rdbms, 11.2.0.3.0...

Patching component oracle.rdbms.dbscripts, 11.2.0.3.0...

Verifying the update...
Applying sub-patch '13696216' to OH '/data3/oracle/product/11.2.0.3'

Patching component oracle.rdbms.rsf, 11.2.0.3.0...

Patching component oracle.rdbms, 11.2.0.3.0...

Patching component oracle.sdo.locator, 11.2.0.3.0...

Patching component oracle.sysman.console.db, 11.2.0.3.0...

Patching component oracle.sysman.oms.core, 10.2.0.4.4...

Verifying the update...
Applying sub-patch '13923374' to OH '/data3/oracle/product/11.2.0.3'
ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.3.0 ]    not present in the Oracle Home or a higher version is found.

Patching component oracle.rdbms.rsf, 11.2.0.3.0...

Patching component oracle.rdbms, 11.2.0.3.0...

Patching component oracle.rdbms.dbscripts, 11.2.0.3.0...

Patching component oracle.network.rsf, 11.2.0.3.0...

Patching component oracle.network.listener, 11.2.0.3.0...

Patching component oracle.sysman.console.db, 11.2.0.3.0...

Verifying the update...
Applying sub-patch '14275605' to OH '/data3/oracle/product/11.2.0.3'
ApplySession: Optional component(s) [ oracle.precomp.lang, 11.2.0.3.0 ]    not present in the Oracle Home or a higher version is found.

Patching component oracle.network.client, 11.2.0.3.0...

Patching component oracle.network.rsf, 11.2.0.3.0...

Patching component oracle.precomp.common, 11.2.0.3.0...

Patching component oracle.rdbms, 11.2.0.3.0...

Patching component oracle.rdbms.dbscripts, 11.2.0.3.0...

Patching component oracle.rdbms.rman, 11.2.0.3.0...

Patching component oracle.rdbms.rsf, 11.2.0.3.0...

Patching component oracle.rdbms.util, 11.2.0.3.0...

Verifying the update...

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: symbol `_start' has differing types:
                (file /data3/oracle/product/11.2.0.3/lib/prod/lib/v9/crt1.o type=FUNC; file /data3/oracle/product/11.2.0.3/lib//libserver11.a(skds.o) type=OBJT);

Composite patch 14275605 successfully applied.
OPatch Session completed with warnings.
Log file location: /data3/oracle/product/11.2.0.3/cfgtoollogs/opatch/opatch2012-10-30_21-14-24PM_1.log

OPatch completed with warnings.
-bash-3.00$

3)查看opatch版本情况

bash-3.00$ .$ORACLE_HOME/product/11.2.0.3/OPatch/opatch lsinventory
Invoking OPatch 11.2.0.3.0
Oracle Interim Patch Installer version 11.2.0.3.0
Copyright (c) 2009, Oracle Corporation.    All rights reserved.
Oracle Home             : $ORACLE_HOME/product/ora920
Central Inventory : /data/oraInventory
     from                     : /var/opt/oracle/oraInst.loc
OPatch version        : 11.2.0.3.0
OUI version             : 11.2.0.3.4
OUI location            : $ORACLE_HOME/product/ora920/oui
Log file location : $ORACLE_HOME/product/ora920/cfgtoollogs/opatch/opatch2012-09-24_16-10-50PM.log
Patch history file: $ORACLE_HOME/product/ora920/cfgtoollogs/opatch/opatch_history.txt
Lsinventory Output file location : $ORACLE_HOME/product/ora920/cfgtoollogs/opatch/lsinv/lsinventory2012-09-24_16-10-50PM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Database 11g                                                                                                    11.2.0.3.4
There are 1 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.

转载于:https://blog.51cto.com/alexy/1051904

oracle打补丁到11.2.0.3.4相关推荐

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

    环境说明: database : 11.2.0.4 x64 os: centos6.7 x64 准备内容: OPatch : p6880880_112000_Linux-x86-64.zip DB P ...

  2. Oracle11.2.0.4 windows32+64bit path补丁21+11.2.0.4.160419 p22064588 p22839608

    2016年6月3日最新补丁-Oracle11.2.0.4 for windows32+64bit,p22064588 patch11.2.0.4.21,p22839608 11.2.0.4.16041 ...

  3. Oracle RAC 11g R2(11.2.0.4)部署文档

    环境准备: 主机 名称 部署应用 IP 系统盘空间分配 数据存储 空间 系统配置信息 node1 node2 oracle linux  6.7 Oracle11g RAC11.2.0.4 pub:e ...

  4. oracle tfa,Oracle数据库11G RAC 11.2.0.4 GI单独安装tfa

    天萃荷净 11.2.0.4 GI单独安装tfa 在11.2.0.4安装rac执行root.sh之时需要在root的环境变量中指定可以直接执行unzip命令(在非Linux,Win环境下root用户默认 ...

  5. 如何升级oracle版本?(11.2.0.1至11.2.0.4)

    oracle数据库是目前使用比较广泛的关系型数据库之一,随着官方对漏洞的修复和功能模块的增加,oracle数据库的版本已经从原来普遍使用的8.0发展到现在的12c,很多企业和单位都需要定期对数据库进行 ...

  6. Oracle 11.2.0.3.7 PSU补丁升级

    说明:这是新上线主机,还没有建库的.如果库已经存在,那么最后还要进行刷库操作! 环境:Red Hat Enterprise Linux 6.4 (x86_64) 将Oracle数据库从11.2.0.3 ...

  7. Oracle 11.2.0.4 RAC 手动打补丁

    文章目录 1 补丁介绍 1.1 下载补丁和最新OPatch 1.2 补丁说明 2 检查数据库当前OPatch版本 3 确认停止oem 1.查看oem运行状态: 2.如果是运行状态,则需要关闭: 4 更 ...

  8. oracle 11G 11.2.0.4 RAC环境打补丁

    一.准备工作 1,数据库环境 操作系统版本  : RedHat 7.2 x64    数据库版本    : Oracle 11.2.0.4 x64 RAC     Grid          : 11 ...

  9. 【Oracle】11G 11.2.0.4 RAC环境打补丁

    一.准备工作 1,数据库环境 操作系统版本  : RedHat 7.2 x64    数据库版本    : Oracle 11.2.0.4 x64 RAC     Grid          : 11 ...

最新文章

  1. android os开机画面,Android简单实现启动画面的方法
  2. why I cannot get any search result from P8F
  3. 计算机二级web题目(8.1)--综合选择题2
  4. Hadoop:HDFS的概念理解和体系架构-成都加米谷大数据分享
  5. Git 使用篇二:搭建远程服务器
  6. oracle脑裂复现,Oracle rac集群环境中的特殊问题
  7. 8.2 GOF设计模式一: 单实例模式 SingleTon
  8. django基于大数据的应届生求职系统--python-计算机毕业设计
  9. 安卓游戏服务器修改,【httpcather/Thor】课程二,用抓包工具修改微信小游戏,还能保存到服务器...
  10. c语言电机正反转,步进电机正反转(单片机C语言程序设计).doc
  11. 对于自组织团队的一些思考
  12. 微信小程序踩坑”日记“--Failed to load image xxx (404)
  13. JAVA怎么给扇形加边框_PS怎么制作扇形边框 扇面边框教程
  14. 摩托罗拉Android 7寸,3.7寸屏600MHz处理器 摩托罗拉MT710评测
  15. hadoop环境新手安装教程
  16. python培训中心-python培训中心
  17. 博科SAN交换机基本配置(华为SNS系列交换机为例OEM博科)
  18. MATLAB+mmap
  19. springboot大学生网络教学平台的设计与实现毕业设计源码281819
  20. 基于java的华容道小游戏

热门文章

  1. 【人脸表情识别】不得不读的重要论文推荐(2015-2018篇)
  2. 【杂谈】有三AI知识星球指导手册出炉!和公众号相比又有哪些内容?
  3. 全球及中国血铅检测服务行业应用动态及未来产销需求预测报告2022版
  4. 获山东科技最高奖-农业大健康·万书波:沉醉谋定花生增产
  5. Java面试总结(2018 - 12 - 10)
  6. xvfb-run: error: xauth command not found 解决方式
  7. Jumping Jack
  8. 转 知道这20个正则表达式,能让你少写1,000行代码
  9. wp7 HubTile
  10. Bitlocker and BitLocker To Go