ORA-29701: unable to connect to Cluster Synchronization Service
Posted orcl-2018
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ORA-29701: unable to connect to Cluster Synchronization Service相关的知识,希望对你有一定的参考价值。
修改主机名后,has无法启动,将has启动之后,尝试ASMCA,出现如图提示:
再尝试登陆asm实例,出现日下提示:
[[email protected]+ASM ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.3.0 Production on Sun Mar 3 00:53:35 2019
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
ORA-29701: unable to connect to Cluster Synchronization Service
解决问题过程:
1、查看服务
[[email protected]+ASM ~]$ crs_stat -t -v
Name Type R/RA F/FT Target State Host
----------------------------------------------------------------------
ora.cssd ora.cssd.type 0/5 0/5 OFFLINE OFFLINE
ora.diskmon ora....on.type 0/10 0/5 OFFLINE OFFLINE
ora.evmd ora.evm.type 0/10 0/5 ONLINE ONLINE edgzrip2
ora.ons ora.ons.type 0/3 0/ OFFLINE OFFLINE
2、添加asm服务
[[email protected]+ASM ~]$ srvctl add asm
3、查看服务
[[email protected]+ASM ~]$ crs_stat -t -v
Name Type R/RA F/FT Target State Host
----------------------------------------------------------------------
ora.asm ora.asm.type 0/5 0/ OFFLINE OFFLINE
ora.cssd ora.cssd.type 0/5 0/5 OFFLINE OFFLINE
ora.diskmon ora....on.type 0/10 0/5 OFFLINE OFFLINE
ora.evmd ora.evm.type 0/10 0/5 ONLINE ONLINE gzrip2
ora.ons ora.ons.type 0/3 0/ OFFLINE OFFLINE
ora.prod4.db ora....se.type 0/2 0/1 OFFLINE OFFLINE
4、启动asm服务
[[email protected] ~]# /u01/app/11.2.0/grid/bin/crsctl start resource ora.asm
CRS-2672: Attempting to start ‘ora.asm‘ on ‘gzrip2‘
CRS-2676: Start of ‘ora.asm‘ on ‘gzrip2‘ succeeded
5、启动cssd服务
[[email protected] ~]# /u01/app/11.2.0/grid/bin/crsctl start resource ora.cssd
CRS-2672: Attempting to start ‘ora.cssd‘ on ‘gzrip2‘
CRS-2672: Attempting to start ‘ora.diskmon‘ on ‘gzrip2‘
CRS-2676: Start of ‘ora.diskmon‘ on ‘gzrip2‘ succeeded
CRS-2676: Start of ‘ora.cssd‘ on ‘gzrip2‘ succeeded
6、查看服务
[[email protected]+ASM ~]$ crs_stat -t -v
Name Type R/RA F/FT Target State Host
----------------------------------------------------------------------
ora.asm ora.asm.type 0/5 0/ ONLINE ONLINE gzrip2
ora.cssd ora.cssd.type 0/5 0/5 ONLINE ONLINE gzrip2
ora.diskmon ora....on.type 0/10 0/5 OFFLINE OFFLINE
ora.evmd ora.evm.type 0/10 0/5 ONLINE ONLINE gzrip2
ora.ons ora.ons.type 0/3 0/ OFFLINE OFFLINE
ora.prod4.db ora....se.type 0/2 0/1 OFFLINE OFFLINE
7、尝试登陆asm实例
[[email protected]+ASM ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.3.0 Production on Sun Mar 3 01:21:16 2019
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
With the Automatic Storage Management option
至此问题解决。
tips:
查看ora.cssd服务属性
[[email protected]+ASM ~]$ crs_stat -p ora.cssd
NAME=ora.cssd
TYPE=ora.cssd.type
ACTION_SCRIPT=
ACTIVE_PLACEMENT=0
AUTO_START=1
CHECK_INTERVAL=30
DESCRIPTION="Resource type for CSSD"
FAILOVER_DELAY=0
FAILURE_INTERVAL=3
FAILURE_THRESHOLD=5
HOSTING_MEMBERS=
PLACEMENT=balanced
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=600
START_TIMEOUT=600
STOP_TIMEOUT=900
UPTIME_THRESHOLD=1m
查看ora.diskmon服务属性
[[email protected]+ASM ~]$ crs_stat -p ora.diskmon
NAME=ora.diskmon
TYPE=ora.diskmon.type
ACTION_SCRIPT=
ACTIVE_PLACEMENT=0
AUTO_START=1
CHECK_INTERVAL=3
DESCRIPTION="Resource type for Diskmon"
FAILOVER_DELAY=0
FAILURE_INTERVAL=3
FAILURE_THRESHOLD=5
HOSTING_MEMBERS=
PLACEMENT=balanced
RESTART_ATTEMPTS=10
SCRIPT_TIMEOUT=60
START_TIMEOUT=600
STOP_TIMEOUT=60
UPTIME_THRESHOLD=5s
1)默认情况下HAS(High Availability Service)是自动启动的.通过如下命令可以取消和启用自动启动 crsctl disable has crsctl enable has 2)HAS手动启动和停止 crsctl start has crsctl stop has 3)查看HAS的状态 crsctl check has 4)如果想让ora.css和ora.diskmon服务随着HAS的启动而自动启动,那么你可以修改这两个服务的AUTO_START属性 crsctl modify resource "ora.cssd" -attr "AUTO_START=1" or 5)如果想取消ora.css和ora.diskmon的Auto start crsctl modify resource "ora.cssd" -attr "AUTO_START=never" crsctl modify resource "ora.diskmon" -attr "AUTO_START=never"
参考文档:
https://blog.csdn.net/haiross/article/details/16861849
https://blog.csdn.net/zxyhw/article/details/11711337
https://blog.csdn.net/EVISWANG/article/details/52576084
2019-3-3 12:30 AM
!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tUeXBlIjoiaW1hZ2UiLCJzdHlsZXMiOnsiaGVpZ2h0Ijo0NDZ9LCJibG9ja0lkIjoiNjEyNC0xNTUxNTQ1ODAwOTI1Iiwic291cmNlIjoiMTRFOUQyMUIzRDY1NDBEM0I1RkQ1NkYxMDFCQTlFRjMifV0=-->以上是关于ORA-29701: unable to connect to Cluster Synchronization Service的主要内容,如果未能解决你的问题,请参考以下文章
Nacos 启动报错 Unable to start web server……Unable to start embedded Tomcat
unable to inject dll into target怎么解决?
出现unable to open the service tomcat怎么办
unable to access jarfile baksmali.jar 怎么办
tomcat报错-----》Unable to open debugger port IDEA Unable to open debugger port