在应用更新过程中产品清单被锁定
问题:在版本更新过程中,在以下情况下可能会锁定 OPatch 产品清单:
ApplyUpdate
时,一个或多个服务正在运行。ApplyUpdate
进程由于 OPatch 问题而挂起。[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
解决方案:在以下路径下查找并删除锁定:
<MIDDLEWARE_HOME>\.patch_storage
<MIDDLEWARE_HOME>\EPMSystem11R1\.patch_storage
<ORACLE_INVENTORY DIR>\Inventory\
(应删除锁定文件夹)注:
如果其他进程正在使用文件或文件夹,请关闭相应的应用程序或终止该进程,然后再次重新运行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
。Oracle/Middleware/EPMSystem11R1/products/financialreporting/lib/resources/esapi
中的所有属性文件 (*.properties
) 复制到新创建的目录中。ESAPI.properties
并更新 ESAPI.Logger
条目:
ESAPI.Logger=org.owasp.esapi.logging.slf4j.Slf4JLogFactory