More 11g GC Fun - opatch complains about its own file lock....

From: Taylor, Chris David <ChrisDavid.Taylor_at_ingrambarge.com>
Date: Fri, 28 Oct 2011 08:16:18 -0500
Message-ID: <C5533BD628A9524496D63801704AE56D6A332F0824_at_SPOBMEXC14.adprod.directory>



Grid Control 11g - I hate thee.
1. Problem

C:\Oracle\Middleware\oms11g\Patches\2011_01\10388644>opatch nrollback -idFile %ORACLE_HOME%/sysman/admin/rollback_103886 44.lst
Invoking OPatch 11.1.0.8.5

Oracle Interim Patch Installer version 11.1.0.8.5 Copyright (c) 2011, Oracle Corporation. All rights reserved.

UTIL session

Oracle Home       : C:\Oracle\Middleware\oms11g
Central Inventory : C:\Program Files\Oracle\Inventory
   from           : n/a
OPatch version    : 11.1.0.8.5
OUI version       : 11.1.0.8.0
OUI location      : C:\Oracle\Middleware\oms11g\oui
Log file location : C:\Oracle\Middleware\oms11g\cfgtoollogs\opatch\opatch2011-10-28_08-09-58AM.log

Patch history file: C:\Oracle\Middleware\oms11g\cfgtoollogs\opatch\opatch_history.txt

OPatch detects the Middleware Home as "C:\Oracle\Middleware"

Invoking utility "nrollback"

Patches will be rolled back in the following order:

   11068067 11068071 10388644

Running prerequisite checks...

************* Prerequisite check "CheckActiveFilesAndExecutables" failed. ****************
The details are:

Following files are active :
C:\Oracle\Middleware\oms11g\sysman\admin\rollback_10388644.lst <------- Really??? UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.

OPatch failed with error code = 73

2. FIX:



a.) Review the rollback_10388644.lst
(see that it lists patches 11068067, 11068071, 10388644)

b.) Execute nrollback using the comma separated list of patches contained in the rollback_1038644.lst file...



C:\Oracle\Middleware\oms11g\Patches\2011_01\10388644>opatch nrollback -id 11068067,11068071,10388644 Invoking OPatch 11.1.0.8.5

Oracle Interim Patch Installer version 11.1.0.8.5 Copyright (c) 2011, Oracle Corporation. All rights reserved.

UTIL session

Oracle Home       : C:\Oracle\Middleware\oms11g
Central Inventory : C:\Program Files\Oracle\Inventory
   from           : n/a
OPatch version    : 11.1.0.8.5
OUI version       : 11.1.0.8.0
OUI location      : C:\Oracle\Middleware\oms11g\oui
Log file location : C:\Oracle\Middleware\oms11g\cfgtoollogs\opatch\opatch2011-10-28_08-11-18AM.log

Patch history file: C:\Oracle\Middleware\oms11g\cfgtoollogs\opatch\opatch_history.txt

OPatch detects the Middleware Home as "C:\Oracle\Middleware"

Invoking utility "nrollback"

Patches will be rolled back in the following order:

   11068067 11068071 10388644

Running prerequisite checks...
The following patch(es) will be rolled back: 11068067 11068071 10388644

OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.

Backing up files affected by the patch 'NRollback' for restore. This might take a while...

Rolling back patch 11068067...

RollbackSession rolling back interim patch '11068067' from OH 'C:\Oracle\Middleware\oms11g'

Patching component oracle.sysman.oms.core, 11.1.0.1.0...
...
...

The local system has been patched and can be restarted.

UtilSession: N-Rollback done.

OPatch succeeded.

Chris Taylor
Sr. Oracle DBA
Ingram Barge Company
Nashville, TN 37205
Office: 615-517-3355
Cell: 615-663-1673
Email: chris.taylor_at_ingrambarge.com<mailto:chris.taylor_at_ingrambarge.com>

CONFIDENTIALITY NOTICE: This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and delete the contents of this message without disclosing the contents to anyone, using them for any purpose, or storing or copying the information on any medium.

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Oct 28 2011 - 08:16:18 CDT

Original text of this message