My Oracle Support Banner

rootcrs.sh -downgrade 実行時、"Missing or invalid version number"が発生する (Doc ID 2245118.1)

Last updated on FEBRUARY 03, 2019

適用範囲:

Oracle Database - Enterprise Edition - バージョン 12.1.0.2 以降
この文書の内容はすべてのプラットフォームに適用されます。
本文書利用上のご注意
  本文書は英語の文書 <Document 2216418.1> (最終メジャー更新日: 2017年03月07日) の日本語翻訳版です。
  英語の文書の最終メジャー更新日が新しい場合は本文書に適宜反映いたします。

現象

Grid Infrastructureのダウングレードは失敗します。

# /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

 

原因

To view full details, 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 a vibrant support community of peers and Oracle experts.