iis服务器助手广告
返回顶部
首页 > 资讯 > 数据库 >【12c】CRS-4639: Could not contact Oracle High Availability Services
  • 381
分享到

【12c】CRS-4639: Could not contact Oracle High Availability Services

【12c】CRS-4639:CouldnotcontactOracleHighAvailabilityServices 2015-04-14 16:04:44 381人浏览 无得
摘要

问题描述: 在Grid环境中,如果修改了主机名,启动Grid时会出现如下错误: [grid@sztest ~]$ sqlplus / a

【12c】CRS-4639: Could not contact Oracle High Availability Services

问题描述:

在Grid环境中,如果修改了主机名,启动Grid时会出现如下错误:

[grid@sztest ~]$ sqlplus / as sysasm



SQL*Plus: Release 12.1.0.2.0 Production on Wed Apr 15 20:42:27 2020



Copyright (c) 1982, 2014, 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

检查CSS服务:

[grid@sztest ~]$ crsctl check css

CRS-4639: Could not contact oracle High Availability Services

CRS-4000: Command Check failed, or completed with errors.

启动has服务:

[grid@sztest ~]$ crsctl start has

CLSU-00105: operating system interface has reported an internal failure

CLSU-00103: error location: scrcreate5

CLSU-00104: additional error infORMation: need ha priv

CRS-4000: Command Start failed, or completed with errors.

解决方案:

1)移除旧主机名相关的配置信息

[root@sztest ~]# cd /u01/app/grid/product/12.1.0/grid/crs/install/

[root@sztest install]# perl roothas.sh -deconfig -force

Using configuration parameter file: /u01/app/grid/product/12.1.0/grid/crs/install/crsconfig_params

CRS-4639: Could not contact Oracle High Availability Services

CRS-4000: Command Stop failed, or completed with errors.

CRS-4639: Could not contact Oracle High Availability Services

CRS-4000: Command Delete failed, or completed with errors.

CLSU-00100: operating system function: opendir failed with error data: 2

CLSU-00101: operating system error message: No such file or directory

CLSU-00103: error location: scrsearch1

CLSU-00104: additional error information: cant open scr home dir scls_scr_getval

CRS-4639: Could not contact Oracle High Availability Services

CRS-4000: Command Stop failed, or completed with errors.

2020/04/15 20:46:44 CLSRSC-337: Successfully deconfigured Oracle Restart stack

2)运行root脚本重新配置css服务

[root@sztest install]# cd /u01/app/grid/product/12.1.0/grid/

[root@sztest grid]# ./root.sh

Performing root user operation.



The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME= /u01/app/grid/product/12.1.0/grid



Enter the full pathname of the local bin directory: [/usr/local/bin]:

The contents of "dbhome" have not changed. No need to overwrite.

The contents of "oraenv" have not changed. No need to overwrite.

The contents of "coraenv" have not changed. No need to overwrite.



Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

Using configuration parameter file: /u01/app/grid/product/12.1.0/grid/crs/install/crsconfig_params

LOCAL ADD MODE

Creating OCR keys for user "grid", privgrp "oinstall"..

Operation successful.

LOCAL ONLY MODE

Successfully accumulated necessary OCR keys.

Creating OCR keys for user "root", privgrp "root"..

Operation successful.

CRS-4664: node sztest successfully pinned.

2020/04/15 20:48:49 CLSRSC-330: Adding Clusterware entries to file "oracle-ohasd.conf"





sztest 2020/04/15 20:49:20 /u01/app/grid/product/12.1.0/grid/cdata/sztest/backup_20200415_204920.olr 0

CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on "sztest"

CRS-2673: Attempting to stop "ora.evmd" on "sztest"

CRS-2677: Stop of "ora.evmd" on "sztest" succeeded

CRS-2793: Shutdown of Oracle High Availability Services-managed resources on "sztest" has completed

CRS-4133: Oracle High Availability Services has been stopped.

CRS-4123: Oracle High Availability Services has been started.

2020/04/15 20:49:37 CLSRSC-327: Successfully configured Oracle Restart for a standalone server

3)配置asm、database、listener等组件信息

[grid@sztest ~]$ srvctl add asm

[grid@sztest ~]$ srvctl start asm



[oracle@sztest ~]$ srvctl add database -db orcl -oraclehome /u01/app/oracle/product/12.1.0/dbhome_1 -diskgroup "DATA,FRA"

从12.1.0.2开始,roothas.sh脚本替代了roothas.pl脚本。

 

 

 

您可能感兴趣的文档:

--结束END--

本文标题: 【12c】CRS-4639: Could not contact Oracle High Availability Services

本文链接: https://www.lsjlt.com/news/6325.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • sql如何写循环语句
    sql 中没有传统的循环语句,但可使用递归 cte 模拟循环:创建递归 cte,包含"iteration"列来跟踪循环次数。递归查询更新"iteration"列并满足循环条件。使用 se...
    99+
    2024-06-09
  • sql如何过滤重复
    sql 中过滤重复记录的方法包括:使用 distinct 关键字去除重复值。使用 group by 子句分组结果并返回每组的第一行。使用 count() 函数查找出现多次的值并进一步过滤...
    99+
    2024-06-09
  • sql中如何实现列转行
    sql中实现列转行的操作有两种方式:使用 union 操作符通过垂直合并查询结果实现列转行。使用 pivot 函数将列数据转换为行数据,其中 pivot 函数的语法为:pivo...
    99+
    2024-06-09
    聚合函数
  • sql函数如何向上取整
    sql 中 ceiling() 函数向上取整,将数值舍入到最近的整数,语法为 ceiling(numeric_expression)。示例:向上取整 2.5 为 3,-10.2 为 -1...
    99+
    2024-06-09
  • sql如何查询字段重复数据
    可以使用 sql 的 group by 和 count() 函数、distinct 和 count() 函数或窗口函数 row_number() 来查询重复字段数据。 SQL 查询重复...
    99+
    2024-06-09
  • sql如何创建视图
    视图是 sql 中的虚拟表,从基础表中派生数据。创建视图的步骤包括:使用 create view 语句指定视图名称和从基础表中选择的列。可选地指定基础表之间的连接和应用过滤器。视图简化了...
    99+
    2024-06-09
    敏感数据
  • sql如何计算百分比
    有三种主要方法可以利用 sql 计算百分比:直接计算、使用窗口函数以及使用 case 表达式。直接计算通过将分子除以分母并乘以 100 获得百分比;窗口函数允许根据组按分母值计算百分比;...
    99+
    2024-06-09
  • 如何用sql将时间戳转换日期格式
    要将 sql 中的时间戳转换成日期格式,可以使用 to_char() 函数:to_char(timestamp_column, 'yyyy-mm-dd') 将时间戳转...
    99+
    2024-06-09
  • sql如何在表中增加一列
    如何在 sql 表中增加一列?使用 alter table 语句,指定表名、列名和数据类型;可选设置 not null 约束和默认值;运行 alter table 语句将新列添加到表中。...
    99+
    2024-06-09
  • sql如何断开数据库的使用
    可以使用 sql 语句断开数据库连接,包括:1. close 语句:立即关闭指定连接;2. disconnect 语句:关闭连接并释放资源;3. end transaction 语句:提...
    99+
    2024-06-09
    python
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作