ORA-29701: unable to connect to Cluster Synchronization Service

修改主机名后,has无法启动,将has启动之后,尝试ASMCA,出现如图提示:

再尝试登陆asm实例,出现日下提示:

[oracle@edgzrip2-+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、查看服务

[oracle@gzrip2-+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服务

[oracle@gzrip2-+ASM ~]$ srvctl add asm

3、查看服务

[oracle@gzrip2-+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服务

[root@gzrip2 ~]# /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服务

[root@gzrip2 ~]# /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、查看服务

[oracle@gzrip2-+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实例

[oracle@edgzrip2-+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服务属性

[oracle@gzrip2-+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服务属性

[oracle@gzrip2-+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/16861849https://blog.csdn.net/zxyhw/article/details/11711337https://blog.csdn.net/EVISWANG/article/details/52576084

2019-3-3 12:30 AM

原文地址:https://www.cnblogs.com/orcl-2018/p/10463752.html

时间: 2024-08-28 07:59:00

ORA-29701: unable to connect to Cluster Synchronization Service的相关文章

The search request was unable to connect to the Search Service

使用Sharepoint进行搜索时,出现以下提示:The search request was unable to connect to the Search Service: 进入前端服务器,发现以下错误: Source: Office Server Search Event ID : 10040 Description: The last query machine has been taken out of rotation. Check previous event logs to de

配置Mysql Cluster时出错Unable to connect with connect string: nodeid=0,localhost:1186问题的解决

在执行 /etc/init.d/ndbd --initial出现下列错误 [[email protected] ~]# /etc/init.d/ndbd --initialUnable to connect with connect string: nodeid=0,localhost:1186Retrying every 5 seconds. Attempts left: 12 11 10 9 8 7 6 5 4 3 2 1, failed. 解决办法 1.查看/etc/my.cnf文件配置

全量恢复gprecoverseg -F出现Unable to connect to database时的相关分析及解决方法

之前有两位朋友碰到过在对greenplum的系统构架更改后,出现全量恢复gprecoverseg -F也无法正常运行的情况. 报错信息为Unable to connect to database. Retrying 1 gprecoverseg failed. (Reason='Unable to connect to database and start transaction') exiting... 有幸拷得一份虚拟机上的全部文件,对其进行分析. 发现其实出现这个问题只需要修改pg_cha

powerDesigner 连接Oracle 报Unable to connect SQLState=08004 解决方法

powerDesigner 报Unable to connect SQLState=08004 解决方法 环境:win7(64) powersigner 15 oracle 10G 错误提示: Unable to connect SQLState=08004 [Oracle][ODBC][Ora]ORA-12154:TNS:无法解析指定的连接标示符 解决方法: 看看是不是把powerDesigner安装在了有空格的目录下,如果是重新安装在非空目录即可. 分类: windows 7 powerDe

greenplum全量恢复gprecoverseg -F出现Unable to connect to database时的相关分析及解决方法

之前有两位朋友碰到过在对greenplum的系统构架更改后,出现全量恢复gprecoverseg -F也无法正常执行的情况. 报错信息为Unable to connect to database. Retrying 1 gprecoverseg failed. (Reason='Unable to connect to database and start transaction') exiting... 有幸拷得一份虚拟机上的所有文件.对其进行分析. 发现事实上出现这个问题仅仅须要改动pg_c

svn更新报错:svn unable to connect to a repository at url

出现错误:unable to connect to a repository at url 解决办法1. 右键点击本地副本,TortoiseSVN -> Settings -> Saved Data,2. 点击个个“Clear”按钮,把本地缓存都清除了,点击“确定”:3. 再重新checkout即可!

Unable to connect to the MKS: Failed to connect to <server IP>:902.控制台黑屏

本人此次遇到此问题的是VSphere 5.1. 在此问题出现之前都正常,没出过任何问题,问之做过什么动作,是客户重配了网络,这其实是我要求改的,但是客户改的和我要求的不一样. 我计划是vswitch0做管理,vswitch1做vmotion,vswitch2做vm network:由于安装ESXI 5.1时自动生成vswitch0:10.23.70.60,客户误搭建了vswitch1:10.23.70.54做管理,vswitch2做vmotion,vswitch3做vm network,且vsw

Tortoise-SVN 出现“unable to connect to a repository at url no element found”解决办法

安装要SVN server服务器后,建立自己的Repositories,创建自己的项目文件夹 如,https://xxxxxxxxxx.com:8443/ 安装Tortoise-svn进行设置目标链接时,出现问题unable to connect to a repository at url no element found 解决办法: 最后加上svn就ok了

使用vmware虚拟机安装virt-manager unable to connect to libvirt的处理办法

RHEL7.0在安装完成virt-manager后,启动libvirtd服务进程 [[email protected] Desktop]# systemctl enable libvirtd [[email protected] Desktop]# systemctl start libvirtd 在使用virt-manager命令启动虚拟机管理软件时,提示unable to connect to libvirt Unable to connect to libvirt. no connecti