Re: Please help: OPatch fails (Following files are active : c:\oracle\ora11g\bin\oci.dll)

  • From: Vishal Gupta <vishal@xxxxxxxxxxxxxxx>
  • To: "taral.desai@xxxxxxxxx" <taral.desai@xxxxxxxxx>
  • Date: Wed, 15 Jun 2011 09:49:43 +0100

Oracle oci.dll is used by Microsoft distributed transaction windows service or 
something similar. I can't remember exactly now. But if you process explorer to 
see which windows process has a file handle on oci.dll and then stop the 
relevant windows service, then you will be able to patch the oracle software on 
windows. 

Regards,
Vishal

On 14 Jun 2011, at 17:29, "Taral Desai" <taral.desai@xxxxxxxxx> wrote:

> Well I tried with new opatch verion on my laptop windows which runs xp.
> 
> I have oracle 11.2.0.2 version installed and had same problem with this oci 
> even i tried to kill the process holding that but no luck.
> 
> The trick was to boot laptop in safe mode with networking unless you are not 
> administrator and run opatch it will work.
> 
> On Tue, Jun 14, 2011 at 8:28 AM, Brent Day <coloradodba@xxxxxxxxx> wrote:
> Marcin,
> 
> I would recommend you get the latest OPatch version from metalink 
> (11.2.0.1.5) that might fix your issues. Error Code 74 is often (not always) 
> the result of using an OPatch version that is not current.
> 
> Brent
> 
> On Jun 14, 2011, at 5:39 AM, Kedryna Marcin-HKP384 wrote:
> 
>>  
>> Following files are active :
>> c:\oracle\ora11g\bin\oci.dll
>> ApplySession failed during prerequisite checks: Prerequisite check 
>> "CheckActiveF
>> ilesAndExecutables" failed.
>> System intact, OPatch will not attempt to restore the system
>>  
>> OPatch failed with error code = 74
>>  
>>  
>> additional info from log:
>>  
>> database version:  11.2.0.1.0
>> Checking if patch is not already installed
>> Patch is not installed.
>> Applying patch...
>> Invoking OPatch 11.2.0.1.4
>>  
>> Oracle Interim Patch Installer version 11.2.0.1.4
>> Copyright (c) 2010, Oracle Corporation.  All rights reserved.
>>  
>>  
>> Oracle Home       : c:\oracle\ora11g
>> Central Inventory : C:\Program Files\Oracle\Inventory
>>    from           : n/a
>> OPatch version    : 11.2.0.1.4
>> OUI version       : 11.2.0.1.0
>> OUI location      : c:\oracle\ora11g\oui
>> Log file location : 
>> c:\oracle\ora11g\cfgtoollogs\opatch\opatch2011-04-26_03-13-5
>> 0AM.log
>>  
>> Patch history file: c:\oracle\ora11g\cfgtoollogs\opatch\opatch_history.txt
>>  
>> ApplySession applying interim patch '11731176' to OH 'c:\oracle\ora11g'
>> Interim patch 11731176 is a superset of the patch(es) [  10100101 ] in the 
>> Oracl
>> e Home
>> OPatch will rollback the subset patches and apply the given patch.
>>  
>> Running prerequisite checks...
>> Prerequisite check "CheckActiveFilesAndExecutables" failed.
>> The details are:
>>  
> 
> 
> 
> 
> -- 
> Thanks & Regards,
> Taral Desai

Other related posts: