Monday, March 23, 2015

Errors applying Grid Infrastructure PSU 12.1.0.1.6 (JAN2015) - 19971324

Applying the patch on a upgraded 12.1.0.1 Linux installation gives the following opatchauto output:

Configuration Validation: Successful

Patch Location: /u01/source/grid/19971324
Grid Infrastructure Patch(es): 17077442 17303297 19769486
DB Patch(es): 17077442 19769486

Patch Validation: Successful
Grid Infrastructure home:
/u01/app/12.1.0

Performing prepatch operations on CRS Home... Successful

Applying patch(es) to "/u01/app/12.1.0/grid" ...
Patch "/u01/source/oracle12/19971324/17077442" successfully applied to "/u01/app/12.1.0".
Patch "/u01/source/oracle12/19971324/17303297" successfully applied to "/u01/app/12.1.0".
Patch "/u01/source/oracle12/19971324/19769486" successfully applied to "/u01/app/12.1.0".

Performing postpatch operations on CRS Home... Failed
Command "/u01/app/12.1.0/perl/bin/perl -I/u01/app/12.1.0/perl/lib -I/u01/app/12.1.0/OPatch/opatchautotemp/patchwork/crs/install /u01/app/12.1.0/OPatch/opatchautotemp/patchwork/crs/install/rootcrs.pl -postpatch" execution failed:
Died at /u01/app/12.1.0/OPatch/opatchautotemp/patchwork/crs/install/crspatch.pm line 885.


For more details, please refer to the log file "/u01/app/12.1.0/cfgtoollogs/opatchauto/19971324/opatch_gi_2015-03-12_13-12-45_deploy.debug.log".

Apply Summary:
Following patch(es) are successfully installed:
GI Home: /u01/app/12.1.0/grid: 17077442,17303297,19769486
Command failure exception

opatchauto failed with error code 2.

The problem was caused by Bug 20492783 - ROOTCRS.PL -POSTPATCH FAILS WITH SP2-310
There are missing files:

    Error at line 1354: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmadms.plb"
    Error at line 1356: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmwdmlb.plb"
    Error at line 1358: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmadmb.plb"
    Error at line 1360: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmdtrgb.plb"
    Error at line 1362: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmdutlb.plb"
    Error at line 1364: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmltb.plb"
    Error at line 1366: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmmigb.plb"
    Error at line 1368: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmricb.plb"
    Error at line 1370: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmddlb.plb"
    Error at line 1372: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmctxb.plb"
    Error at line 1374: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmexpb.plb"
    Error at line 1376: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmprvb.plb"
    Error at line 1378: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmutlb.plb"
    Error at line 1380: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmblklb.plb"
    Error at line 1382: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmcddlb.plb"
    Error at line 1384: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmiexpb.plb"
    Error at line 1386: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmmpb.plb"
    Error at line 1388: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmreplb.plb"
    Error at line 1390: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmutrgb.plb"
    Error at line 1392: SP2-0310: unable to open file
"/u01/app/12.1.0/grid/rdbms/admin/owmctrg.plb"

See support note 1609718.1 for information on how to resolve the above errors

SQL Patching tool complete on Sat Mrz 13 11:21:03 2015
2015/03/13
11:21:03 CLSRSC-457: Patching the Grid Infrastructure Management
Repository database failed.

Died at crspatch.pm line 885.



This files can be found in the databases home but not in the GI home. The MGMT DB resides in the GI home and because opatch calls "@?/rdbms/admin/owmadms.plb" it fails. The Oracle support gave us a zip file with the missing owm*.plb  files and we needed to rollback the patch and apply it again.