linux6.5安装11.2.0.4rac,在安装GI跑脚本出现CRS-4046 CRS-4000 错误

时间:2022-08-07 08:49:43

<mos文档:CRS-4046: Invalid Oracle Clusterware configuration. (文档 ID 1396266.1)>


#/u01/app/11.2.0/grid/root.sh 

CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Create failed, or completed with errors.
Failure initializing entries in /etc/oracle/scls_scr/rac1
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed


解决:

#/u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -force -verboseUsing configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
****Unable to retrieve Oracle Clusterware home.
Start Oracle Clusterware stack and try again.
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Stop failed, or completed with errors.
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Modify failed, or completed with errors.
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Delete failed, or completed with errors.
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Stop failed, or completed with errors.
################################################################
# You must kill processes or reboot the system to properly #
# cleanup the processes started by Oracle clusterware          #
################################################################
Removing Trace File Analyzer
Failure in execution (rc=-1, 256, No such file or directory) for command /etc/init.d/ohasd deinstall
Successfully deconfigured Oracle clusterware stack on this node


(# ps -ef| grep <grid-home> )
# ps -ef| grep "/u01/app/11.2.0/grid/"

如果还有流程,与“kill - 9”命令杀死他们
一旦完成以上的启动或停止,作为根用户,执行根。从GRID_HOME sh:

# <grid-home>/root.sh

# ps -ef| grep </u01/app/11.2.0/grid/>

如果没有出现如下:# ps -ef| grep "/ocw/grid"
则直接
/u01/app/11.2.0/grid/root.sh 

执行完毕。成功