My Oracle Support Banner EM: "opatchauto apply -analyze" Command Throws Warning Messages (Doc ID 2706015.1)

Last updated on SEPTEMBER 07, 2020

Applies to:

Enterprise Manager Base Platform - Version to [Release 12.1]
Information in this document applies to any platform.


"opatchauto apply -analyze" command on Windows OMS sever throws warning messages as below

<PATCH_UNZIP_LOCATION>\31250739><OMS_HOME>\OPatch\opatchauto apply -analyze -oh <OMS_HOME>

OPatch Automation Tool

Copyright (c) 2014, Oracle Corporation. All rights reserved.

OPatchauto version :

OUI version :

Running from : <OMS_HOME>

Log file location : <OMS_HOME>\cfgtoollogs\opatch\opatch2020-08-26_21-12-56PM_1.log

OPatchauto log file: <OMS_HOME>\cfgtoollogs\opatchauto\31250739\opatch_oms_2020-08-26_21-12-58PM_analyze.log

Please enter OMS weblogic admin server URL(t3s://<OMS_HOSTNAME>:7101):>


Please enter OMS weblogic admin server username:> weblogic

Please enter OMS weblogic admin server password:>

Configuration Validation: Success

Running apply prerequisite checks for sub-patch(es) "31250739" and Oracle Home "


Please monitor OPatch log file: <OMS_HOME>\cfgtoollogs\opatch\31250739_Aug_26_2020_21_12_56\ApplyPrereq2020-08-26_21-14-11PM_2.log

Sub-patch(es) "31250739" are successfully analyzed for Oracle Home "<OMS_HOME>"


OPatchauto finds that there are active files locked for patching with respect to the following sub-patches [31250739]

. This could be due to running of weblogic admin server on which OPatchauto is dependent for configuration detection.

OPatchauto recommends the following actions for the mentioned patches:

1. Please stop Weblogic admin server and OMS processes by executing the command

"<OMS_HOME>\BIN\emctl.bat stop oms -all".

2. Please clean up all lingering processes related to active files using tool like Process Explorer.

3. Please run: "<OMS_HOME>\OPatch\opatchauto checkApplicable -ph

D:\Patch\p31250739_121050_Generic\31250739 -oh <OMS_HOME>" to re-verify if any active processes still lock to be patched files.

If command succeeds with no errors, Please re-start Weblogic admin server only by executing the command "<OMS_HOME>\BIN\emctl.bat start oms -admin_only"

to perform patching operations through opatchauto in non-analyze mode.

Complete Summary


All log file names referenced below can be accessed from the directory "<OMS_HOME>\cfgtoollogs\opatch\2020-08-26_21-12-56PM_SystemPatch_31250739_1"

Prerequisites analysis summary:


The following sub-patch(es) are applicable:

Oracle Home Name Sub-patches Log file

---------------- ----------- --------

oms12c1 31250739 31250739_ApplyPrereq2020-08-26_21-14-11PM_2.log

Log file location: <OMS_HOME>\cfgtoollogs\opatchauto\31250739\opa


OPatchauto succeeded.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.