CLSRSC-188:rootupgrade.sh Failed From 11.2.0.4 To 12.2.0.1 (Doc ID 2284386.1)

Last updated on AUGUST 17, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.7 to 12.2.0.1 [Release 11.1 to 12.2]
Information in this document applies to any platform.

Symptoms

The following error reported while executing rootupgrade.sh (11.2.0.4 to 12.2.0.1) on first node.

rootupgrade.sh command output :

#/opt/app/grid/12.2.0.1_grid/rootupgrade.sh
Performing root user operation.

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /opt/app/grid/12.2.0.1_grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Relinking oracle with rac_on option
Using configuration parameter file: /opt/app/grid/12.2.0.1_grid/crs/install/crsconfig_params
The log of current session can be found at:
/opt/app/oracle/crsdata/racnodedb14/crsconfig/rootcrs_racnodedb14_2017-07-05_11-57-57AM.log
2017/07/05 11:57:59 CLSRSC-595: Executing upgrade step 1 of 19: 'UpgradeTFA'.
2017/07/05 11:57:59 CLSRSC-4015: Performing install or upgrade action for Oracle Trace File Analyzer (TFA) Collector.
2017/07/05 11:57:59 CLSRSC-4012: Shutting down Oracle Trace File Analyzer (TFA) Collector.
2017/07/05 11:58:08 CLSRSC-4013: Successfully shut down Oracle Trace File Analyzer (TFA) Collector.
2017/07/05 11:58:19 CLSRSC-4003: Successfully patched Oracle Trace File Analyzer (TFA) Collector.
2017/07/05 11:58:20 CLSRSC-595: Executing upgrade step 2 of 19: 'ValidateEnv'.
2017/07/05 11:58:23 CLSRSC-595: Executing upgrade step 3 of 19: 'GenSiteGUIDs'.
2017/07/05 11:58:24 CLSRSC-595: Executing upgrade step 4 of 19: 'GetOldConfig'.
2017/07/05 11:58:24 CLSRSC-464: Starting retrieval of the cluster configuration data
2017/07/05 11:58:33 CLSRSC-465: Retrieval of the cluster configuration data has successfully completed.
2017/07/05 11:58:33 CLSRSC-595: Executing upgrade step 5 of 19: 'UpgPrechecks'.
2017/07/05 11:58:34 CLSRSC-595: Executing upgrade step 6 of 19: 'SaveParamFile'.
2017/07/05 11:58:35 CLSRSC-595: Executing upgrade step 7 of 19: 'SetupOSD'.
2017/07/05 11:58:36 CLSRSC-595: Executing upgrade step 8 of 19: 'PreUpgrade'.
2017/07/05 11:58:36 CLSRSC-595: Executing upgrade step 9 of 19: 'CheckCRSConfig'.
2017/07/05 11:58:37 CLSRSC-595: Executing upgrade step 10 of 19: 'UpgradeOLR'.
2017/07/05 11:58:45 CLSRSC-188: Failed to create keys in Oracle Local Registry
Died at /opt/app/grid/12.2.0.1_grid/crs/install/oraolr.pm line 606.
The command '/opt/app/grid/12.2.0.1_grid/perl/bin/perl -I/opt/app/grid/12.2.0.1_grid/perl/lib -I/opt/app/grid/12.2.0.1_grid/crs/install /opt/app/grid/12.2.0.1_grid/crs/install/rootcrs.pl -upgrade' execution failed


rootcrs_<nodename>_<timestamp>.log (inside <oracle base>/crsdata/<host name>/crsconfig): 

2017-07-05 11:57:57: CLUSTER_NAME=racnode-clu3-                                      <---  which has a “-“ (hyphen), at the end.

..

2017-07-05 11:58:43: succeeded to write global ckpt 'ROOTCRS_FIRSTNODE' with status 'START'
2017-07-05 11:58:43: Executing the step [olr_ConfigCurrentNode_step_1] to upgrade OLR on the first node
2017-07-05 11:58:43: OLR location = /opt/app/grid/12.2.0.1_grid/cdata/racnodedb14.olr
2017-07-05 11:58:43: Oracle CRS Home = /opt/app/grid/12.2.0.1_grid
2017-07-05 11:58:43: Validating /etc/oracle/olr.loc file for OLR location /opt/app/grid/12.2.0.1_grid/cdata/racnodedb14.olr
2017-07-05 11:58:43: /etc/oracle/olr.loc already exists. Backing up /etc/oracle/olr.loc to /etc/oracle/olr.loc.orig
2017-07-05 11:58:43: Done setting permissions on file /etc/oracle/olr.loc
2017-07-05 11:58:43: Validating for SI-CSS configuration
2017-07-05 11:58:43: Retrieving OCR main disk location
2017-07-05 11:58:43: Opening file /etc/oracle/ocr.loc
2017-07-05 11:58:43: Value (+OCR_VOTE) is set for key=ocrconfig_loc
2017-07-05 11:58:43: Executing the step [olr_UpgradeCurrentNode_step_2] to upgrade OLR on the first node
2017-07-05 11:58:43: Creating or upgrading Oracle Local Registry (OLR)
2017-07-05 11:58:43: Executing /opt/app/grid/12.2.0.1_grid/bin/ocrconfig -local -upgrade oracle dba
2017-07-05 11:58:43: Executing cmd: /opt/app/grid/12.2.0.1_grid/bin/ocrconfig -local -upgrade oracle dba
2017-07-05 11:58:45: OLR successfully created or upgraded
2017-07-05 11:58:45: Executing cmd: /opt/app/grid/12.2.0.1_grid/bin/clscfg -localupgrade -z 61ddea945461df52fff2637f1bb20d37 -y racnode-clu3-:61ddea945461df52fff2637f1bb20d37 -p CLUSTER_CLASS:Standalone
2017-07-05 11:58:45: Command output:
> Site name (racnode-clu3-) is invalid.clscfg -localupgrade -z <site guid>
> -p property1:value1,property2:value2...
>
> -z <site guid> - Specify the site GUID for this node
> -p propertylist - list of cluster properties and its value pairs
>
> Upgrade keys in OLR for the HASD.
> WARNING: Using this tool may corrupt your cluster configuration. Do not
> use unless you positively know what you are doing.
>
>End Command output
2017-07-05 11:58:45: Failed to create keys in the OLR, rc = 100, Message:
Site name (racnode-clu3-) is invalid.clscfg -localupgrade -z <site guid> -p property1:value1,property2:value2... -z <site guid> - Specify the site GUID for this node -p propertylist - list of cluster properties and its value pairs Upgrade keys in OLR for the HASD. WARNING: Using this tool may corrupt your cluster configuration. Do not use unless you positively know what you are doing.

2017-07-05 11:58:45: Executing cmd: /opt/app/grid/12.2.0.1_grid/bin/clsecho -p has -f clsrsc -m 188
2017-07-05 11:58:45: Command output:
> CLSRSC-188: Failed to create keys in Oracle Local Registry
>End Command output
2017-07-05 11:58:45: CLSRSC-188: Failed to create keys in Oracle Local Registry
2017-07-05 11:58:45: ###### Begin DIE Stack Trace ######
2017-07-05 11:58:45: Package File Line Calling
2017-07-05 11:58:45: --------------- -------------------- ---- ----------
2017-07-05 11:58:45: 1: main rootcrs.pl 287 crsutils::dietrap
2017-07-05 11:58:45: 2: oraClusterwareComp::oraolr oraolr.pm 606 main::__ANON__
2017-07-05 11:58:45: 3: oraClusterwareComp::oraolr oraolr.pm 452 oraClusterwareComp::oraolr::upgradeOLR_runclscfg
2017-07-05 11:58:45: 4: oraClusterwareComp::oraolr oraolr.pm 233 oraClusterwareComp::oraolr::upgradeSteps
2017-07-05 11:58:45: 5: oraClusterwareComp oraClusterwareComp.pm 173 oraClusterwareComp::oraolr::upgradeFirstNode
2017-07-05 11:58:45: 6: crsupgrade crsupgrade.pm 1238 oraClusterwareComp::upgradeCurrentNode
2017-07-05 11:58:45: 7: crsupgrade crsupgrade.pm 707 crsupgrade::upgrade_olr_config
2017-07-05 11:58:45: 8: crsupgrade crsupgrade.pm 810 crsupgrade::crs_upgrade_olr
2017-07-05 11:58:45: 9: crsupgrade crsupgrade.pm 480 crsupgrade::CRSUpgrade
2017-07-05 11:58:45: 10: main rootcrs.pl 296 crsupgrade::new
2017-07-05 11:58:45: ####### End DIE Stack Trace #######

2017-07-05 11:58:45: ROOTCRS_OLR checkpoint has failed

 

 

Changes

Cluster name begin or end with the hyphen (-) character in pre-12.2 environment. 

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