11.2.0.3 的 p13936424_112030_Linux-x86-64.zip
一、停止在线服务模式下、单机版安装
1、oracle 的补丁安装工具目录
/u01/app/oracle/product/11.2.0/db_1/OPatch
2、修改环境变量
vim .bash_profile
添加:/u01/app/oracle/product/11.2.0/db_1/OPatch 到PATH后面即可
export PATH=$PATH:$ORACLE_HOME/bin:.:/u01/app/oracle/product/11.2.0/db_1/OPatch
3、解压补丁文件
unzip p13936424_112030_Linux-x86-64.zip
4、停止oracle、停止监听程序
srvctl status database -d codb0
srvctl stop database -d codb0
lsnrctl status
lsnrctl stop
5、安装补丁
cd 13936424
[oracle@ctp-codb0 13936424]$ 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 : /u01/app/oracle/product/11.2.0/db_1
Central Inventory : /u01/app/oraInventory
from : /etc/oraInst.loc
OPatch version : 11.2.0.1.7
OUI version : 11.2.0.3.0
Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-03-11_13-07-37PM.log
Applying interim patch '13936424' to OH '/u01/app/oracle/product/11.2.0/db_1'
Verifying environment and performing prerequisite checks...
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/product/11.2.0/db_1')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Patching component oracle.rdbms, 11.2.0.3.0...
Patch 13936424 successfully applied
Log file location: /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-03-11_13-07-37PM.log
OPatch succeeded.
二、在线安装以及RAC模式安装,见补丁包内README.txt即可。
三、补丁包:p13936424_112030_Linux-x86-64.zip见附件