更新の適用中にインベントリがロックされる
問題: リリース更新中、次のシナリオでOPatchインベントリがロックされることがあります。
ApplyUpdate
の実行中に1つ以上のサービスが実行されていた。ApplyUpdate
プロセスがハングする。[Error during Oracle Home discovery Phase].Detail: OPatchSession cannot load inventory for the given Oracle Home C:\Oracle\Middleware\EPMSystem11R1.Possible causes are: No read or write permission to ORACLE_HOME/.patch_storage Central Inventory is locked by another OUI instance No read permission to Central Inventory The lock file exists in ORACLE_HOME/.patch_storage The Oracle Home does not exist in Central Inventory
解決策: 次のパスの下にあるlockを見つけて削除します。
<MIDDLEWARE_HOME>\.patch_storage
<MIDDLEWARE_HOME>\EPMSystem11R1\.patch_storage
<ORACLE_INVENTORY DIR>\Inventory\
(locksフォルダを削除します)注:
ファイルまたはフォルダが他のプロセスによって使用されている場合は、アプリケーションを閉じるか、プロセスを強制終了して、ApplyUpdate
スクリプトを再度実行します。環境内に製品がインストールされていないのにリリース更新が実行される
問題: リリース更新中、環境内に特定の製品がインストールされていない場合、かつ、ApplyUpdate.ps1
|またはApplyUpdate.sh
が実行されている場合、サマリーおよび詳細ログに警告が表示されます。
Summary log 2022/04/05 08:56:36 WARN Failed to apply EssbaseServer OPatch.Check OPatch log for more details
Detail log The details are: Patch 33485383: Required component(s) missing : [ oracle.epmsystem.essbase.server, 11.1.2.4.0 ] [ Error during Prerequisite for apply Phase].Detail: OPatch failed during prerequisite checks: Prerequisite check "CheckApplicable" failed.System is intact, OPatch will not restore the system Recommended actions : This patch requires some components to be installed in the home.Either the Oracle Home doesn't have the components or this patch is not suitable for this Oracle Home.OPatch failed with error code = 39
解決策: この場合、OPatch (ApplyUpdate
スクリプトによって内部的に使用される)は、製品がインストールされていないことを自動的に検出し、このパッチの適用をスキップします。ApplyUpdateDetail-<date>.log
に次のメッセージが表示されます。
Patch 33485383: Required component(s) missing : [ oracle.epmsystem.essbase.server, 11.1.2.4.0 ] [Error during Prerequisite for apply Phase].Detail: OPatch failed during prerequisite checks: Prerequisite check "CheckApplicable" failed.System is intact, OPatch will not restore the system Recommended actions : This patch requires some components to be installed in the home.Either the Oracle Home doesn't have the components or this patch is not suitable for this Oracle Home.OPatch failed with error code = 39
製品がすでに更新されているのにリリース更新が実行される
問題: リリース更新中、環境内に特定の製品のOPatchがすでに適用されている場合、かつ、ApplyUpdate.ps1
|またはApplyUpdate.sh
が実行されている場合、サマリーおよび詳細ログに警告が表示されます。
Summary log 2022/04/05 23:17:47 WARN Failed to apply EssbaseServer OPatch.Check OPatch log for more details
Detail log The following patch(es) are already installed in the Oracle Home. [33485386] Please roll back the existing identical patch(es) first.
解決策: この場合、OPatch (ApplyUpdate
スクリプトによって内部的に使用される)は、製品またはFMWのOPatchがすでにインストール/適用されていることを自動的に検出し、このパッチの適用をスキップします。ApplyUpdateDetail-<date>.log
に次のメッセージが表示されます。
The following patch(es) are already installed in the Oracle Home. [33485386] Please roll back the existing identical patch(es) first.
問題:
解決策:
Oracle/Middleware/EPMSystem11R1/products/financialreporting/lib/owasp-esapi/resources
。*.properties
)をOracle/Middleware/EPMSystem11R1/products/financialreporting/lib/resources/esapi
から新しく作成されたディレクトリにコピーします。ESAPI.properties
を編集してESAPI.Logger
エントリを次のように更新します:
ESAPI.Logger=org.owasp.esapi.logging.slf4j.Slf4JLogFactory