rootupgrade.sh Encounters Errors CRS-2510 and CRS-2514 While Upgrade Model Due to Missing Dependent Resources
(Doc ID 2008731.1)
Last updated on APRIL 25, 2022
Applies to:
Oracle Database Cloud Schema Service - Version N/A and laterOracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud 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 rootupgrade.sh on last node fails while upgrading model:
<12.1.0.2 GRID_HOME> $>./rootupgrade.sh
Performing root user operation.
....
2015/05/09 19:38:07 CLSRSC-474: Initiating upgrade of resource types
PRCR-1129 : Failed to upgrade resource type ora.database.type
PRCR-1071 : Failed to register or update resource ora.<DB_NAME>.db
CRS-2510: Resource 'ora.<DG_NAME>.dg' used in dependency 'hard' does not exist or is not registered
CRS-2514: Dependency attribute specification 'hard' is invalid in resource 'ora.<DB_NAME>.db'
2015/05/09 19:38:18 CLSRSC-482: Running command: 'upgrade model -s 11.2.0.3.0 -d 12.1.0.2.0 -p first'
2015/05/09 19:38:18 CLSRSC-180: An error occurred while executing the command 'srvctl upgrade model -s 11.2.0.3.0 -d 12.1.0.2.0 -p first' (error code 0)
2015/05/09 19:38:19 CLSRSC-280: Failed to perform first node tasks for cluster modeling upgrade
Died at <12.1.0.2 GRID_HOME>/crs/install/crsupgrade.pm line 4103.
The command '<12.1.0.2 GRID_HOME>/perl/bin/perl -I<12.1.0.2 GRID_HOME>/perl/lib -I<12.1.0.2 GRID_HOME>/crs/install <12.1.0.2 GRID_HOME>/crs/install/rootcrs.pl -upgrade' execution failed
Performing root user operation.
....
2015/05/09 19:38:07 CLSRSC-474: Initiating upgrade of resource types
PRCR-1129 : Failed to upgrade resource type ora.database.type
PRCR-1071 : Failed to register or update resource ora.<DB_NAME>.db
CRS-2510: Resource 'ora.<DG_NAME>.dg' used in dependency 'hard' does not exist or is not registered
CRS-2514: Dependency attribute specification 'hard' is invalid in resource 'ora.<DB_NAME>.db'
2015/05/09 19:38:18 CLSRSC-482: Running command: 'upgrade model -s 11.2.0.3.0 -d 12.1.0.2.0 -p first'
2015/05/09 19:38:18 CLSRSC-180: An error occurred while executing the command 'srvctl upgrade model -s 11.2.0.3.0 -d 12.1.0.2.0 -p first' (error code 0)
2015/05/09 19:38:19 CLSRSC-280: Failed to perform first node tasks for cluster modeling upgrade
Died at <12.1.0.2 GRID_HOME>/crs/install/crsupgrade.pm line 4103.
The command '<12.1.0.2 GRID_HOME>/perl/bin/perl -I<12.1.0.2 GRID_HOME>/perl/lib -I<12.1.0.2 GRID_HOME>/crs/install <12.1.0.2 GRID_HOME>/crs/install/rootcrs.pl -upgrade' execution failed
From rootcrs_<HOSTNAME1>_<timestamp>.log:
2015-05-09 19:38:07: Executing cmd: <12.1.0.2 GRID_HOME>/bin/srvctl upgrade model -s 11.2.0.3.0 -d 12.1.0.2.0 -p first
2015-05-09 19:38:18: Command output:
> PRCR-1129 : Failed to upgrade resource type ora.database.type
> PRCR-1071 : Failed to register or update resource ora.<DB_NAME>.db
> CRS-2510: Resource 'ora.<DG_NAME>.dg' used in dependency 'hard' does not exist or is not registered
> CRS-2514: Dependency attribute specification 'hard' is invalid in resource 'ora.<DB_NAME>.db'
>End Command output
2015-05-09 19:38:18: Command output:
> PRCR-1129 : Failed to upgrade resource type ora.database.type
> PRCR-1071 : Failed to register or update resource ora.<DB_NAME>.db
> CRS-2510: Resource 'ora.<DG_NAME>.dg' used in dependency 'hard' does not exist or is not registered
> CRS-2514: Dependency attribute specification 'hard' is invalid in resource 'ora.<DB_NAME>.db'
>End Command output
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 |