12c:Patch to Mgmt DB Failed after GRID PSU Patchset (Doc ID 2143779.1)

Last updated on AUGUST 22, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

Patching to Mgmtdb failed after GRID PSU Patchset

Running the below command to complete Jan2016 PSU patch
/u01/app/grid/121/perl/bin/perl -I/u01/app/grid/121/perl/lib -I/u01/app/grid/121/OPatch/opatchautotemp_rac1/patchwork/crs/install /u01/app/grid/121/OPatch/opatchautotemp_rac1/patchwork/crs/install/rootcrs.pl -postpatch -nonrolling

Failed with below message:
2016-05-21 12:29:53: Mgmtdb is running on node: rac1; local node: rac1
2016-05-21 12:29:53: Mgmtdb is running on the local node
2016-05-21 12:29:53: Starting to patch Mgmt DB ...
2016-05-21 12:29:53: Invoking "/u01/app/grid/121/sqlpatch/sqlpatch -db -MGMTDB"
2016-05-21 12:29:53: Running as user oracrs: /u01/app/grid/121/sqlpatch/sqlpatch -db -MGMTDB
2016-05-21 12:29:53: Invoking "/u01/app/grid/121/sqlpatch/sqlpatch -db -MGMTDB" as user "oracrs"
2016-05-21 12:29:53: Executing /bin/su oracrs -c "/u01/app/grid/121/sqlpatch/sqlpatch -db -MGMTDB"
2016-05-21 12:29:53: Executing cmd: /bin/su oracrs -c "/u01/app/grid/121/sqlpatch/sqlpatch -db -MGMTDB"
2016-05-21 12:33:47: Command output:
> SQL Patching tool version 12.1.0.2.0 on Sat May 21 12:29:53 2016
> Copyright (c) 2015, Oracle. All rights reserved.
>
> Connecting to database...OK
> Note: Datapatch will only apply or rollback SQL fixes for PDBs
> that are in an open state, no patches will be applied to closed PDBs.
> Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation
> (Doc ID 1585822.1)
> Determining current state...
>End Command output
2016-05-21 12:33:47: Attempt to patch Mgmt DB failed
2016-05-21 12:33:47: Executing cmd: /u01/app/grid/121/bin/clsecho -p has -f clsrsc -m 488
2016-05-21 12:33:47: Executing cmd: /u01/app/grid/121/bin/clsecho -p has -f clsrsc -m 488
2016-05-21 12:33:47: Command output:
> CLSRSC-488: Patching the Grid Infrastructure Management Repository database failed.
>End Command output
2016-05-21 12:33:47: CLSRSC-488: Patching the Grid Infrastructure Management Repository database failed.
2016-05-21 12:33:47: ###### Begin DIE Stack Trace ######
2016-05-21 12:33:47: Package File Line Calling
2016-05-21 12:33:47: --------------- -------------------- ---- ----------
2016-05-21 12:33:47: 1: main rootcrs.pl 267 crsutils::dietrap
2016-05-21 12:33:47: 2: crspatch crspatch.pm 991 main::__ANON__
2016-05-21 12:33:47: 3: crspatch crspatch.pm 1066 crspatch::performPostPatch
2016-05-21 12:33:47: 4: crspatch crspatch.pm 191 crspatch::crsPostPatch
2016-05-21 12:33:47: 5: main rootcrs.pl 276 crspatch::new
2016-05-21 12:33:47: ####### End DIE Stack Trace #######

2016-05-21 12:33:47: ROOTCRS_POSTPATCH checkpoint has failed

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms