At attempt to install the interim patch, in my case 11.2.0.3 bundle patch 4, on top 11.2.0.3 on Windows Server 2008 R2 x64 by means of OPatch versions 11.2.0.3 I receive an error.
Key phrases:
Prerequisite check «CheckActiveFilesAndExecutables» failed.
srvm.jar — c:appadminproduct11.2.0gridouijlibsrvm.jar
The message on screen:
c:appadminproduct11.2.0grid13783453>opatch apply Oracle Interim Patch Installer version 11.2.0.3.0 Copyright (c) 2012, Oracle Corporation. All rights reserved. Oracle Home : c:appadminproduct11.2.0grid Central Inventory : C:Program FilesOracleInventory from : n/a OPatch version : 11.2.0.3.0 OUI version : 11.2.0.3.0 Log file location : c:appadminproduct11.2.0gridcfgtoollogsopatch13783453_Apr_11_2012_14_00_3 1apply2012-04-11_14-00-30PM_1.log Applying interim patch '13783453' to OH 'c:appadminproduct11.2.0grid' Verifying environment and performing prerequisite checks... Patch 13783453: Optional component(s) missing : [ oracle.precomp.common, 11.2.0.3.0 ] , [ oracle.pre comp.lang, 11.2.0.3.0 ] , [ oracle.ntoledb.odp_net_2, 11.2.0.3.0 ] , [ oracle.rdbms.tg4msql, 11.2.0. 3.0 ] , [ oracle.rdbms.oci, 11.2.0.3.0 ] , [ oracle.ntoramts, 11.2.0.3.0 ] , [ oracle.rdbms.ic, 11.2 .0.3.0 ] , [ oracle.sysman.console.db, 11.2.0.3.0 ] Prerequisite check "CheckActiveFilesAndExecutables" failed. The details are: Following files are active : c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar Log file location: c:appadminproduct11.2.0gridcfgtoollogsopatch13783453_Apr_11_2012_14_00_31 apply2012-04-11_14-00-30PM_1.log Recommended actions: OPatch needs to modify files which are being used by some processes. OPatch failed with error code = 41 c:appadminproduct11.2.0grid13783453>
The message in log-file Opatch — c:appadminproduct11.2.0gridcfgtoollogsopatch13783453_Apr_11_2012_14_00_31
apply2012-04-11_14-00-30PM_1.log:
[11.04.2012 14:00:33] OPatch invoked as follows: 'apply ' [11.04.2012 14:00:33] OUI-67077: Oracle Home : c:appadminproduct11.2.0grid Central Inventory : C:Program FilesOracleInventory from : n/a OPatch version : 11.2.0.3.0 OUI version : 11.2.0.3.0 OUI location : c:appadminproduct11.2.0gridoui Log file location : c:appadminproduct11.2.0gridcfgtoollogsopatch13783453_Apr_11_2012_14_00_31apply2012-04-11_14-00-30PM_1.log [11.04.2012 14:00:33] Patch history file: c:appadminproduct11.2.0gridcfgtoollogsopatchopatch_history.txt [11.04.2012 14:00:33] Starting ApplySession at Wed Apr 11 14:00:33 MSD 2012 [11.04.2012 14:00:33] Starting Apply Session at Wed Apr 11 14:00:33 MSD 2012 [11.04.2012 14:00:34] OPatch will do the following: [Oracle Home discovery] : Configure and Validate Oracle Home info. [Prerequisite for apply] : Invoke prerequisites to see if patch can be applied. [Patch conflict detection for apply patch] : Check if any conflict with already installed patches in Oracle Home. [11.04.2012 14:00:34] --------------------- Oracle Home discovery --------------------- [11.04.2012 14:00:34] OUI-67086:ApplySession applying interim patch '13783453' to OH 'c:appadminproduct11.2.0grid' [11.04.2012 14:00:34] Applying interim patch '13783453' to OH 'c:appadminproduct11.2.0grid' [11.04.2012 14:00:34] Starting to apply patch to local system at Wed Apr 11 14:00:34 MSD 2012 [11.04.2012 14:00:34] Verifying environment and performing prerequisite checks... [11.04.2012 14:00:37] Start the Apply initScript at Wed Apr 11 14:00:37 MSD 2012 [11.04.2012 14:00:37] Finish the Apply initScript at Wed Apr 11 14:00:37 MSD 2012 [11.04.2012 14:00:37] --------------------- Prerequisite for apply --------------------- [11.04.2012 14:00:37] Running prerequisite checks... [11.04.2012 14:00:37] Patch "13783453" is ignored as it is not a "Fusion Applications patch". [11.04.2012 14:00:37] Check if patch "13783453" is a no-op patch. [11.04.2012 14:00:37] Opt. comp. not in OH inventory: oracle.precomp.common, 11.2.0.3.0 [11.04.2012 14:00:37] Opt. comp. not in OH inventory: oracle.precomp.lang, 11.2.0.3.0 [11.04.2012 14:00:37] Opt. comp. not in OH inventory: oracle.ntoledb.odp_net_2, 11.2.0.3.0 [11.04.2012 14:00:37] Opt. comp. not in OH inventory: oracle.rdbms.tg4msql, 11.2.0.3.0 [11.04.2012 14:00:37] Opt. comp. not in OH inventory: oracle.rdbms.oci, 11.2.0.3.0 [11.04.2012 14:00:37] Opt. comp. not in OH inventory: oracle.ntoramts, 11.2.0.3.0 [11.04.2012 14:00:37] Opt. comp. not in OH inventory: oracle.rdbms.ic, 11.2.0.3.0 [11.04.2012 14:00:37] Opt. comp. not in OH inventory: oracle.sysman.console.db, 11.2.0.3.0 [11.04.2012 14:00:37] [ oracle.precomp.common, 11.2.0.3.0 ] , [ oracle.precomp.lang, 11.2.0.3.0 ] , [ oracle.ntoledb.odp_net_2, 11.2.0.3.0 ] , [ oracle.rdbms.tg4msql, 11.2.0.3.0 ] , [ oracle.rdbms.oci, 11.2.0.3.0 ] , [ oracle.ntoramts, 11.2.0.3.0 ] , [ oracle.rdbms.ic, 11.2.0.3.0 ] , [ oracle.sysman.console.db, 11.2.0.3.0 ] [11.04.2012 14:00:37] None of the selected patches are no-op. patches.. [11.04.2012 14:00:38] Space Needed : 2416.715MB [11.04.2012 14:00:38] Prereq checkPatchApplicableOnCurrentPlatform Passed for patch : 13783453 [11.04.2012 14:00:38] Patch 13783453: Optional component(s) missing : [ oracle.precomp.common, 11.2.0.3.0 ] , [ oracle.precomp.lang, 11.2.0.3.0 ] , [ oracle.ntoledb.odp_net_2, 11.2.0.3.0 ] , [ oracle.rdbms.tg4msql, 11.2.0.3.0 ] , [ oracle.rdbms.oci, 11.2.0.3.0 ] , [ oracle.ntoramts, 11.2.0.3.0 ] , [ oracle.rdbms.ic, 11.2.0.3.0 ] , [ oracle.sysman.console.db, 11.2.0.3.0 ] [11.04.2012 14:00:39] Following files are active : c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar [11.04.2012 14:00:39] Prerequisite check "CheckActiveFilesAndExecutables" failed. The details are: Following files are active : c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar c:appadminproduct11.2.0gridouijlibsrvm.jar [11.04.2012 14:00:39] OPatch will clean up 'restore.sh,make.txt' files and 'rac,scratch,backup' directories. You will be still able to rollback patches after this cleanup. Do you want to proceed? [y|n] [11.04.2012 14:00:42] Y (auto-answered by -silent) [11.04.2012 14:00:42] User Responded with: Y [11.04.2012 14:00:42] Size of directory "c:appadminproduct11.2.0grid.patch_storage" before cleanup is 56 bytes. [11.04.2012 14:00:42] Deleting the directory "c:appadminproduct11.2.0grid.patch_storage13783453_Mar_17_2012_00_06_51backup" [11.04.2012 14:00:42] Deleted the directory "c:appadminproduct11.2.0grid.patch_storage13783453_Mar_17_2012_00_06_51backup" [11.04.2012 14:00:42] Size of directory "c:appadminproduct11.2.0grid.patch_storage" after cleanup is 56 bytes. [11.04.2012 14:00:42] UtilSession: Backup area for restore has been cleaned up. For a complete list of files/directories deleted, Please refer log file. [11.04.2012 14:00:42] [ Error during Prerequisite for apply phase ] Detail: OUI-67074:ApplySession failed during prerequisite checks: Prerequisite check "CheckActiveFilesAndExecutables" failed. [11.04.2012 14:00:42] OUI-67035:System is intact, OPatch will not restore the system [11.04.2012 14:00:42] Finishing ApplySession at Wed Apr 11 14:00:42 MSD 2012 [11.04.2012 14:00:42] Total time spent waiting for user-input is 0 seconds. Finish at Wed Apr 11 14:00:42 MSD 2012 [11.04.2012 14:00:42] Log file location: c:appadminproduct11.2.0gridcfgtoollogsopatch13783453_Apr_11_2012_14_00_31apply2012-04-11_14-00-30PM_1.log [11.04.2012 14:00:42] Stack Description: oracle.opatch.PrereqFailedException: Prerequisite check "CheckActiveFilesAndExecutables" failed. [11.04.2012 14:00:42] StackTrace: oracle.opatch.OPatchSessionHelper.runApplyPrereqs(OPatchSessionHelper.java:6420) [11.04.2012 14:00:42] StackTrace: oracle.opatch.ApplySession.processLocal(ApplySession.java:3856) [11.04.2012 14:00:42] StackTrace: oracle.opatch.ApplySession.process(ApplySession.java:5932) [11.04.2012 14:00:42] StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:2063) [11.04.2012 14:00:42] StackTrace: oracle.opatch.OPatch.main(OPatch.java:583)
It Bug 13902704: SRVM.JAR IS LOCKED BY OPATCH 11.2.0.3.
It will be corrected in the future for now only workaround, to rename oracle.opatch.classpath.jar in oracle.opatch.classpath1.jar, to apply a patch and to rename it reversely.
move %ORACLE_HOME%OPatchjliboracle.opatch.classpath.jar %ORACLE_HOME%OPatchjliboracle.opatch.classpath1.jar opatch apply move %ORACLE_HOME%OPatchjliboracle.opatch.classpath1.jar %ORACLE_HOME%OPatchjliboracle.opatch.classpath.jar