Applying Patch failed with error code 41
692290Oct 11 2011 — edited Oct 12 2011Hi Everyone,
I was applying patch for Oracle 11g R2 patch set 12838161, but the operation failed with error code 41. Can any one please help me with this?? I checked the log in $ORACLE_HOME\cfgtoollogs\opatch but i wasn't able make out much from there. This is how the log file looks like..
[Oct 11, 2011 12:26:39 PM] OPatch invoked as follows: 'apply '
[Oct 11, 2011 12:26:39 PM] Oracle Home : E:\oracle\product\11.2.0\dbhome_1
Central Inventory : C:\Program Files\Oracle\Inventory
from : n/a
OPatch version : 11.2.0.1.8
OUI version : 11.2.0.1.0
Log file location : E:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\opatch\opatch2011-10-11_12-26-38PM.log
[Oct 11, 2011 12:26:39 PM] Patch history file: E:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\opatch\opatch_history.txt
[Oct 11, 2011 12:26:39 PM] Starting ApplySession at Tue Oct 11 12:26:39 GMT+03:00 2011
[Oct 11, 2011 12:26:39 PM] Starting Apply Session at Tue Oct 11 12:26:39 GMT+03:00 2011
[Oct 11, 2011 12:26:39 PM] PatchObject::PatchObject() Patch location is E:\oracle\12838161
[Oct 11, 2011 12:26:39 PM] PatchObject::createPatchObject() Patch location is E:\oracle\12838161
[Oct 11, 2011 12:26:39 PM] PatchObject::createPatchObject() patch location is E:\oracle\12838161
[Oct 11, 2011 12:26:39 PM] 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.
[Oct 11, 2011 12:26:39 PM] --------------------- Oracle Home discovery ---------------------
[Oct 11, 2011 12:26:39 PM] Applying interim patch '12838161' to OH 'E:\oracle\product\11.2.0\dbhome_1'
[Oct 11, 2011 12:26:39 PM] Starting to apply patch to local system at Tue Oct 11 12:26:39 GMT+03:00 2011
[Oct 11, 2011 12:26:39 PM] Verifying environment and performing prerequisite checks...
[Oct 11, 2011 12:26:42 PM] --------------------- Patch conflict detection for apply patch ---------------------
[Oct 11, 2011 12:26:42 PM] Patch 12838161 has no conflicts/superset wiht any other patch processed till now
[Oct 11, 2011 12:26:42 PM] Checking conflicts for patch: 12838161
[Oct 11, 2011 12:26:42 PM] Checking conflicts/supersets for patch: 12838161 with patch:12838161
[Oct 11, 2011 12:26:42 PM] Start the Apply initScript at Tue Oct 11 12:26:42 GMT+03:00 2011
[Oct 11, 2011 12:26:42 PM] Finish the Apply initScript at Tue Oct 11 12:26:42 GMT+03:00 2011
[Oct 11, 2011 12:26:42 PM] --------------------- Prerequisite for auto rollback ---------------------
[Oct 11, 2011 12:26:43 PM] --------------------- Prerequisite for apply ---------------------
[Oct 11, 2011 12:26:43 PM] Running prerequisite checks...
[Oct 11, 2011 12:26:43 PM] Space Needed : 2010396568
[Oct 11, 2011 12:26:43 PM] Prereq checkPatchApplicableOnCurrentPlatform Passed for patch : 12838161
[Oct 11, 2011 12:26:43 PM] Following files are active :
E:\oracle\product\11.2.0\dbhome_1\bin\orageneric11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oraclient11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\orapls11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oracommon11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oraxml11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oranhost11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oran11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oranro11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\orantcp11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\orazt11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\orahasgen11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oci.dll
E:\oracle\product\11.2.0\dbhome_1\bin\orasql11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oraldapclnt11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oraztkg11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\orannzsbb11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\orasnls11.dll
[Oct 11, 2011 12:26:43 PM] Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:
Following files are active :
E:\oracle\product\11.2.0\dbhome_1\bin\orageneric11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oraclient11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\orapls11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oracommon11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oraxml11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oranhost11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oran11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oranro11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\orantcp11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\orazt11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\orahasgen11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oci.dll
E:\oracle\product\11.2.0\dbhome_1\bin\orasql11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oraldapclnt11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\oraztkg11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\orannzsbb11.dll
E:\oracle\product\11.2.0\dbhome_1\bin\orasnls11.dll
[Oct 11, 2011 12:26:43 PM] [ Error during Prerequisite for apply phase ] Detail: OUI-67074:ApplySession failed during prerequisite checks: Prerequisite check "CheckActiveFilesAndExecutables" failed.
[Oct 11, 2011 12:26:43 PM] OUI-67035:System intact, OPatch will not attempt to restore the system
[Oct 11, 2011 12:26:43 PM] Finishing ApplySession at Tue Oct 11 12:26:43 GMT+03:00 2011
[Oct 11, 2011 12:26:43 PM] Total time spent waiting for user-input is 0 seconds. Finish at Tue Oct 11 12:26:43 GMT+03:00 2011
[Oct 11, 2011 12:26:43 PM] Log file location: E:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\opatch\opatch2011-10-11_12-26-38PM.log
[Oct 11, 2011 12:26:43 PM] Stack Description: oracle.opatch.PrereqFailedException: Prerequisite check "CheckActiveFilesAndExecutables" failed.
[Oct 11, 2011 12:26:43 PM] StackTrace: oracle.opatch.OPatchSessionHelper.runApplyPrereqs(OPatchSessionHelper.java:4799)
[Oct 11, 2011 12:26:43 PM] StackTrace: oracle.opatch.ApplySession.processLocal(ApplySession.java:3888)
[Oct 11, 2011 12:26:43 PM] StackTrace: oracle.opatch.ApplySession.process(ApplySession.java:5853)
[Oct 11, 2011 12:26:43 PM] StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:1787)
[Oct 11, 2011 12:26:43 PM] StackTrace: oracle.opatch.OPatch.main(OPatch.java:651)
These are the steps that i followed.
1) Shutdown the database
2) Stopped Oracle services
3) set env Oracle_home
4)went to the directory of patchfolder after unzipping it
5) and applied the patch through opatch utility
Oracle DB: 11g R2
OS: Windows 2008 R2 64bit
Regards,
Faisal katheri