Oracle Fusion MiddlewareのOracleホームに単一のパッチを適用するには、opatch apply
コマンドを使用します。
例1-1に、opatch apply
コマンドを使用してOracle Fusion MiddlewareのOracleホームに単一のパッチを適用する方法を示します。
この例では、次の内容が想定されています。
ダウンロードしたパッチは、My Oracle Supportでのパッチ番号の名前が付けられたディレクトリに保存されます。この場合、パッチ番号は15941858です。
ユーザーは、ディレクトリをパッチ・ディレクトリに変更し、opatch applyコマンドを実行します。または、ORACLE_HOME
/OPatch
ディレクトリからOPatchコマンドを実行し、コマンドへの引数としてパッチの場所を含めることができます。次に例を示します。
opatch apply /opt/patches/15941858/
OPatchディレクトリは、すでにホスト・コンピュータのPATH変数に含まれています。
例1-1 Oracle Fusion MiddlewareのOracleホームにパッチを適用するためのopatch applyコマンドの使用
> cd /opt/patches/15941858 > opatch apply Oracle Interim Patch Installer version 13.3.0.0.0 Copyright (c) 2013, Oracle Corporation. All rights reserved. Oracle Home : /opt/Oracle/products/fmw12c Central Inventory : /opt/Oracle/oraInventory from : /var/opt/Oracle/oraInst.loc OPatch version : 13.3.0.0.0 OUI version : 13.3.0.0.0 Log file location : /opt/Oracle/products/fmw12c/cfgtoollogs/opatch/15941858_Jun_10_2013_12_35_24/apply2013-06-10_12-35-15PM_1.log OPatch detects the Middleware Home as "/opt/Oracle/products/fmw12c" Applying interim patch '15941858' to OH '/opt/Oracle/products/fmw12c' Verifying environment and performing prerequisite checks... All checks passed. Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = '/opt/Oracle/products/fmw12c') Is the local system ready for patching? [y|n] y User Responded with: Y Backing up files... Patching component oracle.wls.core.app.server, 12.2.1.0.0... Verifying the update... Patch 15941858 successfully applied Log file location: /opt/Oracle/products/fmw12c/cfgtoollogs/opatch/15941858_Jun_10_2013_12_35_24/apply2013-06-10_12-35-15PM_1.log -------------------------------------------------------------------------------- There are no Interim patches installed in this Oracle Home. -------------------------------------------------------------------------------- OPatch succeeded.