Friday, April 11, 2014

Opatch apply come across file in use


During Opatch apply come across below error message.

D:\>cd oracle\MIS\11204\Patches.11204\18069285\

D:\oracle\MIS\11204\Patches.11204\18069285>d:\oracle\MIS\11204\OPatch\opatch app
ly
========================================================
GENERIC OPATCH VERSION - FOR USE IN SAP ENVIRONMENT ONLY
========================================================
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation.  All rights reserved.


Oracle Home       : D:\ORACLE\MIS\11204
Central Inventory : C:\Program Files\Oracle\Inventory
   from           : n/a
OPatch version    : 11.2.0.3.6
OUI version       : 11.2.0.4.0
Log file location : D:\ORACLE\MIS\11204\cfgtoollogs\opatch\18069285_Apr_10_2014_
18_51_57\apply2014-04-10_18-51-57PM_1.log

Applying interim patch '18069285' to OH 'D:\ORACLE\MIS\11204'
Verifying environment and performing prerequisite checks...
Patch 18069285: Optional component(s) missing : [ oracle.sysman.agent, 10.2.0.4.
3, higher version 10.2.0.4.5 found. ] , [ oracle.has.cfs, 11.2.0.4.0 ] , [ oracl
e.has.crs, 11.2.0.4.0 ] , [ oracle.has.cvu, 11.2.0.4.0 ]
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:

Following files are active :
D:\ORACLE\MIS\11204\bin\orapls11.dll
D:\ORACLE\MIS\11204\bin\orageneric11.dll
D:\ORACLE\MIS\11204\bin\oraclient11.dll
D:\ORACLE\MIS\11204\bin\oracommon11.dll
D:\ORACLE\MIS\11204\bin\oraxml11.dll
D:\ORACLE\MIS\11204\bin\orahasgen11.dll
D:\ORACLE\MIS\11204\bin\oraocr11.dll
D:\ORACLE\MIS\11204\bin\oraocrb11.dll
D:\ORACLE\MIS\11204\bin\oraocrutl11.dll
Log file location: D:\ORACLE\MIS\11204\cfgtoollogs\opatch\18069285_Apr_10_2014_1
8_51_57\apply2014-04-10_18-51-57PM_1.log

Recommended actions: OPatch needs to modify files which are being used by some p
rocesses.

OPatch failed with error code = 41

D:\oracle\MIS\11204\Patches.11204\18069285>

To resolve need to stop Windows Management Instrumentation service service.

Also during stopping  Windows Management Instrumentation service service also stopped below.
    IP Helper
    HP ProLiant Agentless Management Service




1 comment:

Anonymous said...

Yes - many services that can cause this error and this was the last one I found and stopped before getting the all clear.
Thanks.