安装11g rac时出现CRS-4046、CRS-4000 及解决方法

在跑脚本时 :/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

解决方法:
  # <grid-home>/crs/install/rootcrs.pl -deconfig -force -verbose

 /u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -force -verbose
出现如下:
 Using 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>
i.e.: # ps -ef| grep "/ocw/grid"

If there's still processes, kill them with "kill -9" command


Once the above reboot or stop is done, as root, execute root.sh from GRID_HOME:

# <grid-home>/root.sh

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

猜你喜欢

转载自blog.csdn.net/lin5450lin/article/details/89028831