ITPub博客

首页 > 数据库 > Oracle > 【rac故障】root.sh报错Unable to get VIP info for new node

【rac故障】root.sh报错Unable to get VIP info for new node

原创 Oracle 作者:lhrbest 时间:2020-04-06 15:49:01 0 删除 编辑


报错:

[root@rac1 ~]# $GRID_HOME/root.sh 
Performing root user operation for Oracle 11g 
The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/11.2.0/grid_1
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.
Using configuration parameter file: /u01/app/11.2.0/grid_1/crs/install/crsconfig_params
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
Adding Clusterware entries to upstart
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
ASM created and started successfully.
Disk Group DATA created successfully.
clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 3a629092bc464f2abf03557fc35ba6e0.
Successful addition of voting disk 8918288531b84feabfee227fb2a18e50.
Successful addition of voting disk 33fbe865c6f64f69bf4ef15e6c288c00.
Successfully replaced voting disk group with +DATA.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   3a629092bc464f2abf03557fc35ba6e0 (ORCL:DATA1) [DATA]
 2. ONLINE   8918288531b84feabfee227fb2a18e50 (ORCL:DATA2) [DATA]
 3. ONLINE   33fbe865c6f64f69bf4ef15e6c288c00 (ORCL:DATA3) [DATA]
Located 3 voting disk(s).
clscfg: EXISTING configuration version 5 detected.
clscfg: version 5 is 11g Release 2.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Unable to get VIP info for new node at /u01/app/11.2.0/grid_1/crs/install/crsconfig_lib.pm line 9008.
/u01/app/11.2.0/grid_1/perl/bin/perl -I/u01/app/11.2.0/grid_1/perl/lib -I/u01/app/11.2.0/grid_1/crs/install /u01/app/11.2.0/grid_1/crs/install/rootcrs.pl execution failed
You have mail in /var/spool/mail/root


解决:

2个节点都执行:

 mv $GRID_HOME/crs/install/crsconfig_addparams  $GRID_HOME/crs/install/crsconfig_addparams_bk


解决:

[root@rac1 ~]# mv $GRID_HOME/crs/install/crsconfig_addparams  $GRID_HOME/crs/install/crsconfig_addparams_bk
[root@rac1 ~]# 
[root@rac1 ~]# 
[root@rac1 ~]# 
[root@rac1 ~]# /u01/app/11.2.0/grid_1/perl/bin/perl -I/u01/app/11.2.0/grid_1/perl/lib -I/u01/app/11.2.0/grid_1/crs/install /u01/app/11.2.0/grid_1/crs/install/rootcrs.pl
Using configuration parameter file: /u01/app/11.2.0/grid_1/crs/install/crsconfig_params
User ignored Prerequisites during installation
Installing Trace File Analyzer
CRS-2672: Attempting to start 'ora.asm' on 'rac1'
CRS-2676: Start of 'ora.asm' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.DATA.dg' on 'rac1'
CRS-2676: Start of 'ora.DATA.dg' on 'rac1' succeeded
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
You have mail in /var/spool/mail/root
[root@rac1 ~]# 
[root@rac1 ~]# crsctl stat res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       rac1                                         
ora.asm
               ONLINE  ONLINE       rac1                     Started             
ora.gsd
               OFFLINE OFFLINE      rac1                                         
ora.net1.network
               ONLINE  ONLINE       rac1                                         
ora.ons
               ONLINE  ONLINE       rac1                                         
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       rac1                                         
ora.cvu
      1        ONLINE  ONLINE       rac1                                         
ora.oc4j
      1        ONLINE  ONLINE       rac1                                         
ora.rac1.vip
      1        ONLINE  ONLINE       rac1                                         
ora.scan1.vip
      1        ONLINE  ONLINE       rac1



root.sh Fails With "Unable to get VIP info for new node at" (Doc ID 1454413.1)

In this Document

Symptoms
Changes
Cause
Solution
References


APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.4 [Release 11.2]
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 Backup Service - Version N/A and later
Information in this document applies to any platform.

SYMPTOMS

Reconfiguring 11gR2 Grid Infrastructure cluster with  note 1377349.1, root script (root.sh) fails with the following:

  • Screen output
Creating OCR keys for user 'root', privgrp 'root'.. 
Operation successful.
Unable to get VIP info for new node at /ocw/b203/crs/install/crsconfig_lib.pm line 8867.
/ocw/b203/perl/bin/perl -I/ocw/b203/perl/lib -I/ocw/b203/crs/install /ocw/b203/crs/install/rootcrs.pl execution failed
  • <grid-home>/cfgtoollogs/crsconfig/rootcrs_<node>.log
..
2012-04-30 15:35:53: ### Printing the configuration values from files:
2012-04-30 15:35:53:    /ocw/b203/crs/install/crsconfig_params
2012-04-30 15:35:53:    /ocw/b203/crs/install/s_crsconfig_defs
2012-04-30 15:35:53:    /ocw/b203/crs/install/ crsconfig_addparams                ##>> Note: not adding node but  crsconfig_addparams is included
..
2012-04-30 15:40:25:  viplist = ''
2012-04-30 15:40:25:  hostVIP =
2012-04-30 15:40:25: ###### Begin DIE Stack Trace ######
2012-04-30 15:40:25:     Package         File                 Line Calling
2012-04-30 15:40:25:     --------------- -------------------- ---- ----------
2012-04-30 15:40:25:  1: main            rootcrs.pl            378 crsconfig_lib::dietrap
2012-04-30 15:40:25:  2: crsconfig_lib   crsconfig_lib.pm     8867 main::__ANON__
2012-04-30 15:40:25:  3: crsconfig_lib   crsconfig_lib.pm     9061 crsconfig_lib::configNewNode
2012-04-30 15:40:25:  4: crsconfig_lib   crsconfig_lib.pm     9026 crsconfig_lib::configNode
2012-04-30 15:40:25:  5: main            rootcrs.pl            881 crsconfig_lib::perform_configNode
2012-04-30 15:40:25: ####### End DIE Stack Trace #######

2012-04-30 15:40:25: 'ROOTCRS_NODECONFIG' checkpoint has failed
2012-04-30 15:40:25: Running as user grid: /ocw/b203/bin/cluutil -ckpt -oraclebase /home/grid/app/grid -writeckpt -name ROOTCRS_NODECONFIG -state FAIL
2012-04-30 15:40:25: s_run_as_user2: Running /bin/su grid -c ' /ocw/b203/bin/cluutil -ckpt -oraclebase /home/grid/app/grid -writeckpt -name ROOTCRS_NODECONFIG -state FAIL '
2012-04-30 15:40:26: Removing file /tmp/fileRiO0x4
2012-04-30 15:40:26: Successfully removed file: /tmp/fileRiO0x4
2012-04-30 15:40:26: /bin/su successfully executed

2012-04-30 15:40:26: Succeeded in writing the checkpoint:'ROOTCRS_NODECONFIG' with status:FAIL

 

CHANGES

One or more nodes were added at some point in the past.

CAUSE

bug 14020845

SOLUTION

The issue is fixed in 12c.

The workaround is to remove <grid-home>/crs/install/crsconfig_addparams from all nodes, and retry root.sh

REFERENCES

NOTE:1377349.1  - How to Deconfigure/Reconfigure(Rebuild OCR) or Deinstall Grid Infrastructure
NOTE:942166.1  - How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation












About Me

........................................................................................................................

● 本文作者:小麦苗,部分内容整理自网络,若有侵权请联系小麦苗删除

● 本文在itpub、博客园、CSDN和个人微 信公众号( DB宝)上有同步更新

● 本文itpub地址: http://blog.itpub.net/26736162

● 本文博客园地址: http://www.cnblogs.com/lhrbest

● 本文CSDN地址: https://blog.csdn.net/lihuarongaini

● 本文pdf版、个人简介及小麦苗云盘地址: http://blog.itpub.net/26736162/viewspace-1624453/

● 数据库笔试面试题库及解答: http://blog.itpub.net/26736162/viewspace-2134706/

● DBA宝典今日头条号地址: http://www.toutiao.com/c/user/6401772890/#mid=1564638659405826

........................................................................................................................

● QQ群号: 230161599 、618766405

● 微 信群:可加我微 信,我拉大家进群,非诚勿扰

● 联系我请加QQ好友 646634621 ,注明添加缘由

● 于 2020-04-01 06:00 ~ 2020-04-30 24:00 在西安完成

● 最新修改时间:2020-04-01 06:00 ~ 2020-04-30 24:00

● 文章内容来源于小麦苗的学习笔记,部分整理自网络,若有侵权或不当之处还请谅解

● 版权所有,欢迎分享本文,转载请保留出处

........................................................................................................................

小麦苗的微店https://weidian.com/s/793741433?wfr=c&ifr=shopdetail

小麦苗出版的数据库类丛书http://blog.itpub.net/26736162/viewspace-2142121/

小麦苗OCP、OCM、高可用网络班http://blog.itpub.net/26736162/viewspace-2148098/

小麦苗腾讯课堂主页https://lhr.ke.qq.com/

........................................................................................................................

使用 微 信客户端扫描下面的二维码来关注小麦苗的微 信公众号( DB宝)及QQ群(DBA宝典)、添加小麦苗微 信, 学习最实用的数据库技术。

........................................................................................................................

欢迎与我联系

 

 



来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26736162/viewspace-2684647/,如需转载,请注明出处,否则将追究法律责任。

全部评论
【QQ:646634621】【微信:lhrbestxh】【微信公众号:DB宝】【11g、12c OCM】【QQ群:230161599、618766405】【《数据库笔试面试宝典》作者】【OCP、OCM、高可用(RAC+DG+OGG)、MySQL培训班已开讲,只讲实用内容】

注册时间:2012-09-23

  • 博文量
    1491
  • 访问量
    8664091