Wednesday, January 25, 2017

Prerequisite check “CheckActiveFilesAndExecutables” failed (files are active) in Patching activity.



During apply patch with opatch command, on windows we will get the following error:
Prerequisite check “CheckActiveFilesAndExecutables” failed
On Windows System, When you try to apply the Patch after clean shutdown.
Sometime following error occured:
Following files are active :
d:\oracle\SID\11203\bin\oracommon11.dll
d:\oracle\SID\11203\bin\oraclient11.dll
d:\oracle\SID\11203\dbhome_1\bin\orageneric11.dll
d:\oracle\SID\\11203\bin\orapls11.dll
d:\oracle\SID\11203\bin\oran11.dll
d:\oracle\SID\11203\bin\oraxml11.dll
d:\oracle\SID\11203\bin\oci.dll
d:\oracle\SID\11203\bin\orannzsbb11.dll
d:\oracle\SID\11203\bin\oraasmclnt11.dll
INFO:Prerequisite check “CheckActiveFilesAndExecutables” failed.
OPatch failed with error code = 74/44
This is the common error occurred during the patch applied on window system.
One command is available for check which process is holdling lock on these files
Tasklist /m ora*
You can check with the tasklist command. It will provide you list on cmd.
Note:
1. Winmgmt (Windows Management Instrumentation ) is the service used by tasklist command.
If you already disable this service as mentioned in some readme file then you need to enable and start to run tasklist command
2. You always used cmd.ext run as administrator so that you will able to see other user open task also.
Suppose if you find the ora* files is used by some jave.exe then you can also kill that process.
Note: Before fire kill command check at internet what the effect of process if you kill it.
Sometime window process locked and it will cause server shutdown if you kill window process. So always check effect first.
IF some application java.exe is used you can kill them.
taskkill /pid processid_number

Source From  Sandeep Singh
https://smarttechways.com/2015/03/09/prerequisite-check-checkactivefilesandexecutables-failed-files-are-active-in-patching-activity/comment-page-1/#comment-531

No comments:

Post a Comment