Write Errors, or Files in Use,NoServicesForProcessException or CheckActiveFilesAndExecutables, during opatch apply or Patchset Installation.
(Doc ID 294350.1)
Last updated on JANUARY 09, 2025
Applies to:
Oracle Database Cloud Schema Service - Version N/A and laterGen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)
Generic Windows
Symptoms
During the installation patchset using Opatch or Oracle Universal Installer (OUI) or applying patch using opatch apply.
messages may appear indicating that certain files could not be copied or written.
OUI messages like:
- There is no service associated to processes that are using them
- Query Exception: NoServicesForProcessException
Query Exception Class: class oracle.sysman.oii.oiil.OiilQueryException - INFO: Certain files which need to be reinstalled by Oracle Universal Installer are being used by one or more applications.
- Failing check : CheckActiveFilesAndExecutables
In German, French or Spanish: - Mit den Prozessen, die sie benutzt haben, waren keine Dienste verkn�pft
- Aucun Service associ� aux processus qui les utilisent
- No hay servicios asociados a los procesos que los estaban utilizando
-or
- Error in writing to file D:\oracle\ora92\bin\oci.dll
OPatch encounters the following issues during file patching:
- Prerequisite check "CheckActiveFilesAndExecutables" failed
and
Following active files/executables/libs are used by ORACLE_HOME.
- Verifying environment and performing prerequisite checks...
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:
Following files are active :
D:\app\oracle\product\12.1.0\dbhome_1\bin\oci.dll
UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.
- The following files had problems with being patched
D:\oracle\ora92\bin
??????????? [ Couldn't copy ...
When using Windows cscript, (for some 8.1.7.4 patches etc):
- Microsoft JScript runtime error: Permission denied
This frequently involves files like:
- orageneric9.dll
- oracore9.dll
- oci.dll
Changes
Installation of a patchset or applying patch.
Cause
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
Symptoms |
Changes |
Cause |
Solution |