日期:2014-05-16  浏览次数:20449 次

oracle db打one-off-patch 一例
因为EBS form界面有一个报错,是一个小bug,下面打一个小patch修补一下。
【下面的过程没有停库】

解压p8496830_111070_Linux-x86-64.zip
cd 8496830
$ORACLE_HOME/OPatch/opatch apply -invPtrLoc /u01/ERPT1/db/tech_st/11.1.0/oraInst.loc

[ora@erpt1 8496830]$ $ORACLE_HOME/OPatch/opatch apply -invPtrLoc /u01/ERPT1/db/tech_st/11.1.0/oraInst.loc
Invoking OPatch 11.1.0.6.2
Oracle Interim Patch Installer version 11.1.0.6.2
Copyright (c) 2007, Oracle Corporation. All rights reserved.
Oracle Home : /u01/ERPT1/db/tech_st/11.1.0
Central Inventory : /u01/oraInventory
   from : /u01/ERPT1/db/tech_st/11.1.0/oraInst.loc
OPatch version : 11.1.0.6.2
OUI version : 11.1.0.7.0
OUI location : /u01/ERPT1/db/tech_st/11.1.0/oui
Log file location : /u01/ERPT1/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2014-04-21_10-48-52AM.log
ApplySession applying interim patch '8496830' to OH '/u01/ERPT1/db/tech_st/11.1.0'
Running prerequisite checks...
OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/ERPT1/db/tech_st/11.1.0')