标题: CRS-6706: 集群补丁级别不匹配软件补丁级别 [打印本页] 作者: 郑全 时间: 2021-11-26 00:15 标题: CRS-6706: 集群补丁级别不匹配软件补丁级别 CRS-6706: Oracle Clusterware Release patch level ('3329448500') does not match Software patch level
oracle19.3.0.0 rac+centos7.6
补丁为19.5.0.0
启动crs报错如下:
[root@rac2 ~]# /oracle/app/19c/grid/bin/crsctl start crs
CRS-6706: Oracle Clusterware Release patch level ('3329448500') does not match Software patch level ('2845761567'). Oracle Clusterware cannot be started.
CRS-4000: Command Start failed, or completed with errors.
处理过程:
检查两个节点安装的补丁版本,发现没有任何差别!
[root@rac2 ~]# /oracle/app/19c/grid/bin/crsctl query crs releasepatch
Oracle Clusterware release patch level is [3329448500] and the complete list of patches [29401763 29517242 29517247 29585399 30122149 30122167 30125133 ] have been applied on the local node. The release patch string is [19.5.0.0.0].
[root@rac2 ~]# /oracle/app/19c/grid/bin/kfod op=patches
---------------
List of Patches
===============
29401763
29517242
29517247
29585399
30122149
30122167
30125133
[root@rac2 ~]# /oracle/app/19c/grid/bin/kfod op=patchlvl
-------------------
Current Patch level
===================
3329448500
[root@rac2 ~]# su - grid
Last login: Fri Nov 15 12:35:46 CST 2019 on pts/0
[grid@rac2 ~]$ opatch lsinventory
Oracle Interim Patch Installer version 12.2.0.1.17
Copyright (c) 2019, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/19c/grid
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/19c/grid/oraInst.loc
OPatch version : 12.2.0.1.17
OUI version : 12.2.0.7.0
Log file location : /oracle/app/19c/grid/cfgtoollogs/opatch/opatch2019-11-15_12-41-31PM_1.log
--------------------------------------------------------------------------------
Local Machine Information::
Hostname: rac2
ARU platform id: 226
ARU platform description:: Linux x86-64
Installed Top-level Products (1):
Oracle Grid Infrastructure 19c 19.0.0.0.0
There are 1 products installed in this Oracle Home.
执行如下操作后,可启动crs
[root@rac2 ~]# /oracle/app/19c/grid/bin/clscfg -localpatch
clscfg: EXISTING configuration version 0 detected.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
[root@rac2 ~]# /oracle/app/19c/grid/crs/install/rootcrs.sh -lock
Using configuration parameter file: /oracle/app/19c/grid/crs/install/crsconfig_params
The log of current session can be found at:
/oracle/app/grid/crsdata/rac2/crsconfig/crslock_rac2_2019-11-15_12-45-15AM.log
2019/11/15 12:45:18 CLSRSC-329: Replacing Clusterware entries in file 'oracle-ohasd.service'
确认oracle权限正确:
[root@rac2 ~]# su - grid
Last login: Fri Nov 15 12:45:16 CST 2019 on pts/0
[grid@rac2 ~]$ ls -l $ORACLE_HOME/bin/oracle
-rwsr-s--x 1 grid oinstall 441882008 Nov 15 12:22 /oracle/app/19c/grid/bin/oracle
[grid@rac2 ~]$ exit
logout
再次启动crs
[root@rac2 ~]# /oracle/app/19c/grid/bin/crsctl start crs
CRS-4123: Oracle High Availability Services has been started.
作者: 郑全 时间: 2021-11-26 16:55
[root@db1 ~]# /u01/app/19.3.0/grid/bin/crsctl start crs
CRS-6706: Oracle Clusterware Release patch level ('2966572961') does not match Software patch level ('3499689500'). Oracle Clusterware cannot be started.
CRS-4000: Command Start failed, or completed with errors.
[root@db1 ~]# 作者: 郑全 时间: 2021-11-26 16:57
[root@db1 ~]# /u01/app/19.3.0/grid/bin/clscfg -localpatch
clscfg: EXISTING configuration version 0 detected.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
[root@db1 ~]#
作者: 郑全 时间: 2021-11-26 16:58
[root@db1 ~]# /u01/app/19.3.0/grid/crs/install/rootcrs.sh -lock
Using configuration parameter file: /u01/app/19.3.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/easdb1/crsconfig/crslock_easdb1_2021-11-26_04-58-15PM.log
2021/11/26 16:58:19 CLSRSC-329: Replacing Clusterware entries in file 'oracle-ohasd.service'
[root@db1 ~]#