重庆思庄Oracle、Redhat认证学习论坛

标题: Windows应用补丁失败提示CheckActiveFilesAndExecutables [打印本页]

作者: 刘泽宇    时间: 5 天前
标题: Windows应用补丁失败提示CheckActiveFilesAndExecutables
现象:
While trying to apply DB patch using OPatch in windows environment, it  fails with the following error:
--------------------------------------------------
Prerequisite check "CheckActiveFilesAndExecutables" failed
--------------------------------------------------

Example of this issue:
-------------------------------------------------------
Verifying environment and performing prerequisite checks...
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:

Following active files are used by opatch process :
%ORACLE_HOME%\jdk\bin\msvcr100.dll
%ORACLE_HOME%\jdk\jre\bin\msvcr100.dll
%ORACLE_HOME%\jdk\jre\bin\msvcp140.dll
%ORACLE_HOME%\jdk\jre\bin\vcruntime140.dll
%ORACLE_HOME%\jdk\jre\bin\plugin2\msvcr100.dll
-------------------------------------------------------

改动:
In windows environment, apply DB patch with opatch apply.

原因:
Some windows process is possibly holding the related dll files.

处理方法:
1)You can use the command : “tasklist /m <DLL_Name>” to find which process is holding the related dll files.

For Example:
C:\>tasklist /m msvcr100.dll

Once you know which process is holding the related dll files, you can stop the process and apply the patch again.

or

Download  the utility Process Explorer from :https://docs.microsoft.com/en-us ... ds/process-explorer
Install it.
Click Find Handle (ctrl-F) and entered  the mentioned dll's listed.


Stop the process  holding the related dll files and re-apply the patch.


2)

If you cannot identify the process, you can also rename the dll files and apply the patch again.






欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2