【Oracle】安装GI时执行root.sh报错

安装GI时执行root.sh脚本报错,可执行rootcrs.pl -deconfig -force命令来解除配置,再重启服务器,然后重新执行root.sh即可(当然报错原因先要处理掉)。

参考:https://docs.oracle.com/cd/E11882_01/install.112/e47805/rem_orcl.htm#CWSOL312

How to Modify or Deinstall Oracle Grid Infrastructure
6.5 Deconfiguring Oracle Clusterware Without Removing Binaries
Running the rootcrs.pl command flags -deconfig -force enables you to deconfigure Oracle Clusterware on one or more nodes without removing installed binaries. This feature is useful if you encounter an error on one or more cluster nodes during installation when running the root.sh command, such as a missing operating system package on one node. By running rootcrs.pl -deconfig -force on nodes where you encounter an installation error, you can deconfigure Oracle Clusterware on those nodes, correct the cause of the error, and then run root.sh again.

Note:

Stop any databases, services, and listeners that may be installed and running before deconfiguring Oracle Clusterware.
Caution:

Commands used in this section remove the Oracle Grid infrastructure installation for the entire cluster. If you want to remove the installation from an individual node, then refer to Oracle Clusterware Administration and Deployment Guide.
To deconfigure Oracle Clusterware:

1、Log in as the root user on a node where you encountered an error.

2、Change directory to Grid_home/crs/install. For example:

# cd /u01/app/11.2.0/grid/crs/install

3、Run rootcrs.pl with the -deconfig -force flags. For example:

# perl rootcrs.pl -deconfig -force
Repeat on other nodes as required.

4、If you are deconfiguring Oracle Clusterware on all nodes in the cluster, then on the last node, enter the following command:

# perl rootcrs.pl -deconfig -force -lastnode
The -lastnode flag completes deconfiguration of the cluster, including the OCR and voting disks.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值