OPatch 11.2.0.3.0 sperrt srvm.jar // error code 41

Posted by: on Jul 23, 2012 | No Comments

Ein Bug in OPatch 11.2.0.3.0 sperrt die Datei C:\oracle\product\11.2.0\dbhome_1\oui\jlib\ srvm.jar bei einem Patchvorgang.

Bemerkt habe ich das Problem in einer Windows Server 2008 R2 Umgebung mit Oracle 11.2.0.3 64Bit. Nach Erstinstallation von 11.2.0.3, Update von Opatch zu Version 11.2.0.3 und anschließendem Bundle Patch 8 (14223718) erschien folgender Fehler:

D:\14223718>opatch apply

Oracle Interim Patch-Installationsprogramm Version 11.2.0.3.0
Copyright (c) 2012, Oracle Corporation.  All rights reserved. Alle Rechte vorbeh
alten.


Oracle Home       : C:\oracle\product\11.2.0\dbhome_1
Central Inventory : C:\Program Files\Oracle\Inventory
   from           : n/a
OPatch version    : 11.2.0.3.0
OUI version       : 11.2.0.3.0
Log file location : C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\opatch\1422371
8_Jul_24_2012_09_42_19\apply2012-07-24_09-42-19AM_1.log

Applying interim patch '14223718' to OH 'C:\oracle\product\11.2.0\dbhome_1'
Verifying environment and performing prerequisite checks...
Patch 14223718: Optional component(s) missing : [ oracle.precomp.lang, 11.2.0.3.
0 ] , [ oracle.rdbms.tg4msql, 11.2.0.3.0 ] , [ oracle.rdbms.ic, 11.2.0.3.0 ] , [
 oracle.has.cvu, 11.2.0.3.0 ] , [ oracle.has.crs, 11.2.0.3.0 ] , [ oracle.usm, 1
1.2.0.3.0 ]
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:

Following files are active :
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
C:\oracle\product\11.2.0\dbhome_1\oui\jlib\srvm.jar
Log file location: C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\opatch\14223718
_Jul_24_2012_09_42_19\apply2012-07-24_09-42-19AM_1.log

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

OPatch failed with error code = 41

 
Oracle führt das Problem unter Bug 13902704 „SRVM.JAR IS LOCKED BY OPATCH 11.2.0.3.0“ (Note ID 1446273.1). Abhilfe schafft, relativ einfach, das Umbenennen einer Datei im Opatch Verzeichnis:

Vor der Installation umbenennen:

%ORACLE_HOME%\OPatch\jlib\oracle.opatch.classpath.jar

und nach der Installation des Patches wieder zurück zum ursprünglichen Dateinamen.
 

Oracle Notes im Artikel
ID 1446273.1, Bug 13902704