rootcrs.sh -downgrade: Missing or invalid version number (Doc ID 2216418.1)

Last updated on MARCH 07, 2017

Applies to:

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

Symptoms

Downgrade of Grid Infrastructure fails:

# /opt/grid/crs/install/rootcrs.sh -downgrade -lastnode
Using configuration parameter file: /opt/grid/crs/install/crsconfig_params
sh: /bin/ocrdump: No such file or directory
/bin/crsctl query crs releaseversion ... failed rc=-1 with message:
Failure in execution (rc=-1, 32512, 2) for command /bin/crsctl query crs releaseversion

Missing or invalid version number [] at /opt/grid/crs/install/crsutils.pm line 3980.
The command '/opt/grid/perl/bin/perl -I/opt/grid/perl/lib -I/opt/grid/crs/install /opt/grid/crs/install/rootcrs.pl -downgrade -lastnode' execution failed

2016-11-26 12:27:20: Downgrading a node that has not been upgraded
2016-11-26 12:27:20: Either /etc/oracle/olr.loc does not exist or is not readable
2016-11-26 12:27:20: Make sure the file exists and it has read and execute access
2016-11-26 12:27:20: Configured CRS Home:
2016-11-26 12:27:20: Get ocr backup file name with ocrdump
2016-11-26 12:27:20: ocrdump output:
2016-11-26 12:27:20: Either /etc/oracle/olr.loc does not exist or is not readable
2016-11-26 12:27:20: Make sure the file exists and it has read and execute access
2016-11-26 12:27:20: Executing cmd: /bin/crsctl query crs releaseversion
2016-11-26 12:27:20: Command output:
> Failure in execution (rc=-1, 32512, 2) for command /bin/crsctl query crs releaseversion
>End Command output
2016-11-26 12:27:20: /bin/crsctl query crs releaseversion ... failed rc=-1 with message:
Failure in execution (rc=-1, 32512, 2) for command /bin/crsctl query crs releaseversion

 

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