OPatch: Prerequisite check “CheckActiveFilesAndExecutables”



Share this article :

Symptom

You are doing an upgrade of Oracle patches using the OPatch utility. The activity is running on Windows operating system environment.

> opatch apply "C:\sapcd\ORA10_PATCHBUNDLE_10205\PATCHBUN
DLE10205P_22-10010776\16803782"
========================================================
GENERIC OPATCH VERSION - FOR USE IN SAP ENVIRONMENT ONLY
========================================================
Invoking OPatch 10.2.0.5.1

Oracle Interim Patch Installer version 10.2.0.5.1
Copyright (c) 2010, Oracle Corporation.  All rights reserved.


Oracle Home       : C:\oracle\ELY\102
Central Inventory : C:\Program Files\Oracle\Inventory
   from           : n/a
OPatch version    : 10.2.0.5.1
OUI version       : 10.2.0.5.0
OUI location      : C:\oracle\ELY\102\oui
Log file location : C:\oracle\ELY\102\cfgtoollogs\opatch\opatch.log

Patch history file: C:\oracle\ELY\102\cfgtoollogs\opatch\opatch_history.txt

ApplySession applying interim patch '16803782' to OH 'C:\oracle\ELY\102'

Running prerequisite checks...
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:

Following files are active :
C:\oracle\ELY\102\bin\oracle.exe
C:\oracle\ELY\102\rdbms\admin\oracle.sym
C:\oracle\ELY\102\bin\orajox10.dll
C:\oracle\ELY\102\rdbms\mesg\oraus.msb
C:\oracle\ELY\102\bin\orageneric10.dll
.....
.......
.........
..........

Out of sudden, below error coming out,

ApplySession failed during prerequisite checks: Prerequisite check 
"CheckActiveFilesAndExecutables" failed.
System intact, OPatch will not attempt to restore the system

OPatch failed with error code = 74

Solution

Open the Windows Services program (from Start > search for services.msc). Look for Oracle services which are still running and do stop them! Once stopped, you can re-run the Oracle patches again.

Tags:

Related posts

Difference: Delete, Truncate & Drop in SQL
Find Parameter in Oracle
Changing Oracle Parameter
Steps to Patch Oracle 10.2.0.4.0 to 10.2.0.5.0
© 2017 ITsiti. All Rights Reserved
Powered by KEEM