Chinaunix首页 | 论坛 | 博客
  • 博客访问: 662773
  • 博文数量: 163
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1625
  • 用 户 组: 普通用户
  • 注册时间: 2014-11-24 11:40
个人简介

资深Oracle数据库专家 OCM认证大师 10年数据库相关服务及开发经验 各类数据库相关方案的编写,管理及实施 数据中心数据库日常运维、大型项目割接、性能优化等方面有丰富的实战经验 客户包括: 电信,银行,保险,航空,国网,汽车,烟草等 想要一起学习探讨数据安全技术的请加qq群 256041954

文章分类

全部博文(163)

文章存档

2017年(2)

2016年(112)

2015年(38)

2014年(11)

我的朋友

分类: Oracle

2016-04-04 21:37:29

在安装Oracle11g grid时,有时由于各种原因在执行root.sh时失败
# /g01/grid/asm/root.sh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
Performing root user operation for Oracle 11g                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
The following environment variables are set as:                                                                                                                                                                                                                                                                                                                                                                                                                                                                
    ORACLE_OWNER= grid                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
    ORACLE_HOME=  /g01/grid/asm                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
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: /g01/grid/asm/crs/install/crsconfig_params                                                                                                                                                                                                                                                                                                                                                                                                                                 
CRS is already configured on this node for crshome=/g01/grid/asm                                                                                                                                                                                                                                                                                                                                                                                                                                               
Cannot configure two CRS instances on the same cluster.                                                                                                                                                                                                                                                                                                                                                                                                                                                        
Please deconfigure before proceeding with the configuration of new home.                                                                                                                                                                                                                                                                                                                                                                                                                                       
/g01/grid/asm/perl/bin/perl -I/g01/grid/asm/perl/lib -I/g01/grid/asm/crs/install /g01/grid/asm/crs/install/roothas.pl execution failed      


处理方法:
/g01/grid/asm/crs/install/rootcrs.pl -verbose -deconfig -force 


Successfully deconfigured Oracle clusterware stack on this node 


因为之前已经运行过了。 我们需要把之前注册的信息 删除之后,在运行root.sh 脚本。 执行如下命令,删除节点注册信息:


# /g01/grid/asm/crs/install/roothas.pl -deconfig -force -verbose  


之后再执行root.sh
阅读(3650) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~