My Oracle Support Banner

Files in Use errors, when applying patches on Windows (Doc ID 418479.1)

Last updated on FEBRUARY 03, 2022

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Microsoft Windows x64 (64-bit)
z*OBSOLETE: Microsoft Windows Server 2003
z*OBSOLETE: Microsoft Windows 2000
Microsoft Windows 2000Microsoft Windows Server 2003Microsoft Windows Server 2003 (64-bit AMD64 and Intel EM64T)
Microsoft Windows
Microsoft Windows (32-bit)
Microsoft Windows XP


This type of error can occur when using the Opatch utility to apply an
interim (aka, CPU or Bundle) patch, or when using the setup.exe utility to apply a patchset.

You get errors saying some files can not be copied.
Normally, the files are .DLL files.

A typical error message will look like:
(NOTE: This is just an example. Directory names, file names and the number
of files can be different).
OPatch encounters the following issues during file patching:
The following files had problems with being patched:
1. d:\oracle\product\920\bin\oracore9.dll
[ Couldn't copy d:\temp\5654905\files\bin\oracore9.dll to
d:\oracle\product\920\bin\oracore9.dll from D:/TEMP/5654905. ]
2. d:\oracle\product\920\bin\orannzsbb9.dll
[ Couldn't copy d:\temp\5654905\files\bin\orannzsbb9.dll to
d:\oracle\product\920\bin\orannzsbb9.dll from D:/TEMP/5654905. ]
3. d:\oracle\product\920\bin\oraxml9.dll
[ Couldn't copy d:\temp\5654905\files\bin\oraxml9.dll to
d:\oracle\product\920\bin\oraxml9.dll from D:/TEMP/5654905. ]
4. d:\oracle\product\920\bin\orageneric9.dll
[ Couldn't copy d:\temp\5654905\files\bin\orageneric9.dll to
d:\oracle\product\920\bin\orageneric9.dll from D:/TEMP/5654905. ]
5. d:\oracle\product\920\bin\oranmsp.dll
[ Couldn't copy d:\temp\5654905\files\bin\oranmsp.dll to
d:\oracle\product\920\bin\oranmsp.dll from D:/TEMP/5654905. ]
6. d:\oracle\product\920\bin\oracommon9.dll
[ Couldn't copy d:\temp\5654905\files\bin\oracommon9.dll to
d:\oracle\product\920\bin\oracommon9.dll from D:/TEMP/5654905. ]
7. d:\oracle\product\920\bin\oranls9.dll
[ Couldn't copy d:\temp\5654905\files\bin\oranls9.dll to
d:\oracle\product\920\bin\oranls9.dll from D:/TEMP/5654905. ]
8. d:\oracle\product\920\bin\oran9.dll
[ Couldn't copy d:\temp\5654905\files\bin\oran9.dll to
d:\oracle\product\920\bin\oran9.dll from D:/TEMP/5654905. ]
9. d:\oracle\product\920\bin\oranro9.dll
[ Couldn't copy d:\temp\5654905\files\bin\oranro9.dll to
d:\oracle\product\920\bin\oranro9.dll from D:/TEMP/5654905. ]
10. d:\oracle\product\920\bin\orapls9.dll
[ Couldn't copy d:\temp\5654905\files\bin\orapls9.dll to
d:\oracle\product\920\bin\orapls9.dll from D:/TEMP/5654905. ]
11. d:\oracle\product\920\bin\orasql9.dll
[ Couldn't copy d:\temp\5654905\files\bin\orasql9.dll to
d:\oracle\product\920\bin\orasql9.dll from D:/TEMP/5654905. ]
12. d:\oracle\product\920\bin\oraldapclnt9.dll
[ Couldn't copy d:\temp\5654905\files\bin\oraldapclnt9.dll to
d:\oracle\product\920\bin\oraldapclnt9.dll from D:/TEMP/5654905. ]
13. d:\oracle\product\920\bin\oraclient9.dll
[ Couldn't copy d:\temp\5654905\files\bin\oraclient9.dll to
d:\oracle\product\920\bin\oraclient9.dll from D:/TEMP/5654905. ]

Replying 'Y' will terminate the patch installation immediately. It WILL
NOT restore any updates that have been performed to this point. It WILL
NOT update the inventory.
Replying 'N' will update the inventory showing the patch has been applied.
NOTE: After replying either 'Y' or 'N' it is critical to review:
Metalink Note <> How to rollback a failed Interim patch installation.

Do you want to STOP?
Please respond Y|N >
File Patching Error!
ERROR: OPatch failed during patching, possibly due to missing files.


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.