My Oracle Support Banner

GI:rootuograde.sh fails with error CRS-2613: could not find resource 'ora.mgmtdb'. (Doc ID 2346030.1)

Last updated on FEBRUARY 25, 2019

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

GI Upgrade from 12.2.0.1 to 12.2.0.2 and rootupgrade.shh fails with error as below.

 

CRS-2613: Could not find resource 'ora.mgmtdb'.
CRS-4000: Command Modify failed, or completed with errors.
2017/05/03 17:49:24 CLSRSC-180: An error occurred while executing the command '$GRID_HOME/bin/crsctl modify resource ora.mgmtdb -attr "ORACLE_HOME=$GRID_HOME" -unsupported'
Died at $GRID_HOME/crs/install/crsupgrade.pm line 5428.

 

From /u01/app/crsusr/crsdata/<node01>/crsconfig/rootcrs_<node01>_2017-05-03_05-37-45PM.log

2017-05-03 17:49:23: Trying to creat a new pfile:$GRID_HOME/init-dropmgmtdb.ora
2017-05-03 17:49:23: Successfully created a new pfile:$GRID_HOME/dbs/init-dropmgmtdb.ora
2017-05-03 17:49:23: Install node: <nodename1>
2017-05-03 17:49:23: isLastNodeToUpgrade...
2017-05-03 17:49:23: isLastNodeToUpgrade: 1
2017-05-03 17:49:23: ORACLE_BASE is shared: 1
2017-05-03 17:49:23: isLastNodeToUpgrade: 1
2017-05-03 17:49:23: ORACLE_BASE is shared: 1
2017-05-03 17:49:23: Invoking "$GRID_HOME/bin/cluutil -ckpt -global -oraclebase $GRID_HOME -writeckpt -name ROOTCRS_LASTNODE -state START -nodelist <nodename1>"
2017-05-03 17:49:23: trace file=$ORACLE_BASE/crsdata/rws00fyu/crsconfig/cluutil10.log
2017-05-03 17:49:23: Running as user crsusr: $GRID_HOME/bin/cluutil -ckpt -global -oraclebase $GRID_HOME -writeckpt -name ROOTCRS_LASTNODE
-state START -nodelist <nodename1>
2017-05-03 17:49:24: Removing file /tmp/q7lTVHpm3s
2017-05-03 17:49:24: Successfully removed file: /tmp/q7lTVHpm3s
2017-05-03 17:49:24: pipe exit code: 0
2017-05-03 17:49:24: /bin/su successfully executed

2017-05-03 17:49:24:
2017-05-03 17:49:24: "-ckpt -global -oraclebase $GRID_HOME -writeckpt -name ROOTCRS_LASTNODE -state START -nodelist <nodename1>" succeeded with status 0.
2017-05-03 17:49:24: succeeded to write global ckpt 'ROOTCRS_LASTNODE' with status 'START'
2017-05-03 17:49:24: Last node: setting the attribute ORACLE_HOME of mgmtdb to the old home
2017-05-03 17:49:24: Executing cmd: $GRID_HOME/bin/crsctl modify resource ora.mgmtdb -attr "ORACLE_HOME=$GRID_HOME" -unsupported
2017-05-03 17:49:24: Command output:
> CRS-2613: Could not find resource 'ora.mgmtdb'.
> CRS-4000: Command Modify failed, or completed with errors.
>End Command output
2017-05-03 17:49:24: $GRID_HOME/bin/crsctl modify resource ora.mgmtdb -attr "ORACLE_HOME=$GRID_HOME" -unsupported failed with status 1
2017-05-03 17:49:24: Executing cmd: $GRID_HOME/bin/clsecho -p has -f clsrsc -m 180 '$GRID_HOME/bin/crsctl modify resource ora.mgmtdb
-attr "ORACLE_HOME=$GRID_HOME" -unsupported'
2017-05-03 17:49:24: Executing cmd: $GRID_HOME/bin/clsecho -p has -f clsrsc -m 180 '$GRID_HOME/bin/crsctl modify resource ora.mgmtdb
-attr "ORACLE_HOME=$GRID_HOME" -unsupported'
2017-05-03 17:49:24: Command output:> CLSRSC-180: An error occurred while executing the command '$GRID_HOME/bin/crsctl modify resource ora.mgmtdb -attr
"ORACLE_HOME=$GRID_HOME" -unsupported'
>End Command output
2017-05-03 17:49:24: CLSRSC-180: An error occurred while executing the command '$GRID_HOME/bin/crsctl modify resource ora.mgmtdb -attr
"ORACLE_HOME=$GRID_HOME" -unsupported'
2017-05-03 17:49:24: ###### Begin DIE Stack Trace ######
2017-05-03 17:49:24: Package File Line Calling
2017-05-03 17:49:24: --------------- -------------------- ---- ----------
2017-05-03 17:49:24: 1: main rootcrs.pl 311
crsutils::dietrap

5945,1
96%
2017-05-03 17:49:24: --------------- -------------------- ---- ----------
2017-05-03 17:49:24: 1: main rootcrs.pl 311
crsutils::dietrap
2017-05-03 17:49:24: 2: crsupgrade crsupgrade.pm 5428
main::__ANON__
2017-05-03 17:49:24: 3: crsupgrade crsupgrade.pm 4057
crsupgrade::upgradeMgmtdb
2017-05-03 17:49:24: 4: crsupgrade crsupgrade.pm 790
crsupgrade::upgrade_node
2017-05-03 17:49:24: 5: crsupgrade crsupgrade.pm 861
crsupgrade::crs_upgrade_node
2017-05-03 17:49:24: 6: crsupgrade crsupgrade.pm 503
crsupgrade::CRSUpgrade
2017-05-03 17:49:24: 7: main rootcrs.pl 320
crsupgrade::new
2017-05-03 17:49:24: ####### End DIE Stack Trace #######

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.