天天看點

給11.2.0.3 更新13936424 更新檔

                 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]

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即可。