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

From: Kedryna Marcin-HKP384 <MarcinK_at_motorolasolutions.com>
Date: Tue, 14 Jun 2011 12:39:13 +0100
Message-ID: <47F192E2BA58B347B79D859B06F652A9061454F4_at_zuk35exm65.ds.mot.com>


   

Hi All,  

I have the problem patching Oracle.

I get the error:  

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  

It seems that some other services are using this dll.

I read about this on the web and did some research and I found out that this oci.dll is beeing used by another services, and thus patch cannot be applied.

For example if I turned off manually servrices:

COM+ System Application

VMware Tools Service  

It did work. Sometimes it works without turning off these services.

But I also found that when I turn them off from the script that runs the patch they sometimes immediately come up again and my patch fails with the same error.  

Is there a solution to this problem? Can I find out what services I need to turn off before running the patch?  

Please help me and thanks in advance,  

Marcin    

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:  

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



 

The following warnings have occurred during OPatch execution:

  1. OUI-67620:Interim patch 11731176 is a superset of the patch(es) [ 10100101 ]

 in the Oracle Home



   

OPatch failed with error code = 74

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jun 14 2011 - 06:39:13 CDT

Original text of this message