CRS-6706: Oracle Clusterware Release patch level (‘0’) does not match Software patch level (‘3520846952’)
问题描述:
停掉RAC集群,rollback 所有补丁之后,集群启动报错CRS-6706
clscfg -localpatch
/grid/app/12.2.0/grid/crs/install/rootcrs.sh -lock
crsctl start crs
为root用户设置临时环境变量
export ORACLE_BASE=/grid/app/grid
执行如下命令,可以启动crs
export ORACLE_HOME=/grid/app/12.2.0/grid
${ORACLE_HOME}clscfg -localpatch
${ORACLE_HOME}/crs/install/rootcrs.sh -lock
ll ${ORACLE_HOME}/bin/oracle
确认是bin/oracle的权限是 -rwsr-s–x
不是的话,需要修改权限 chmod 6751 或者 chmod +s ${ORACLE_HOME}/bin/oracle
再次启动CRS成功
${ORACLE_HOME}/crsctl start crs
官方参考:
After patching manually on the 12.2 Grid Infrastructure home, the rootcrs.sh -postpatch fails with:
CRS-6706: Oracle Clusterware Release patch level (‘748994161’) does not match Software patch level (‘0’). Oracle Clusterware cannot be started.
CRS-4000: Command Start failed, or completed with errors.
SOLUTION
Please use the following steps to complete the patching:
-
Run the following command as the root user to complete the patching set up behind the scenes:
#GI_HOME/bin:>
./clscfg -localpatch -
Run the following command as the root user to lock the GI home:
#GI_HOME/crs/install:>
./rootcrs.sh -lock -
Run the following command as the root user to start the GI:
#GI_HOME/bin:> .
/crsctl start crs