在安装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
阅读(3723) | 评论(0) | 转发(0) |