首页 > 其他分享 >11g-crsctl_start_crs-failed-workaround

11g-crsctl_start_crs-failed-workaround

时间:2023-10-09 15:35:53浏览次数:37  
标签:crs 11g workaround service start systemctl crsctl ohas

SYMPTOMS

crsctl start crs

CRS-4124: Oracle High Availability Services start failed

CAUSE:
Install of Clusterware fails while running root.sh on OL7 - ohasd fails to start (Doc ID 1959008.1)

In OL7 it needs to be set up as a service and patch fix for Bug 18370031 needs to be applied for this , BEFORE you run root.sh when prompted .
Need to apply the patch 18370031 for 11.2.0.4 .
And also its mentioned in 11gR2 Release Notes:https://docs.oracle.com/cd/E11882_01/relnotes.112/e23558/toc.htm#CJAJEBGG

WORKAROUND:

Clear all sockets under /var/tmp/.oracle or /tmp/.oracle if any and then open two terminals of the same node, where stack is not coming up.

  1. On Terminal 1 , issue as Root user :
    crsctl start crs

  2. Simultaneously , open another terminal of the same node and issue the below command as Root user once the npohasd socket has been created.
    /bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1

  3. Now if you check on terminal 1 , the CRS stack would start coming up.

ps -ef |grep d.bin

  1. Once entire CRS stack is up, you can press CTRL+C and come out of the dd command running on 2nd terminal.

Check and validate all resources are online using

crsctl stat res -t
crsctl stat res -t -init


WORKAROUND-2

----workaround-2: add ohas.service in rac-host1 and rac-host2

vi /usr/lib/systemd/system/ohas.service

[Unit]
Description=Oracle High Availability Services
After=syslog.target

[Service]
ExecStart=/etc/init.d/init.ohasd run >/dev/null 2>&1 Type=simple
Restart=always

[Install]
WantedBy=multi-user.target


systemctl daemon-reload
systemctl enable ohas.service
systemctl start ohas.service

systemctl status ohas.service

crsctl start crs


参考文档:
https://www.modb.pro/db/25739
Install of Clusterware fails while running root.sh on OL7 - ohasd fails to start (Doc ID 1959008.1)
Cluster Failed to Start Due to Problem With Socket Pipe npohasd (Doc ID 1612325.1)

标签:crs,11g,workaround,service,start,systemctl,crsctl,ohas
From: https://www.cnblogs.com/lipeng20004/p/17751835.html

相关文章

  • 11G设置审计日志保留策略
    环境:Os:Centos7DB:11.2.0.4 1.初始化清理Audit的功能,该命令只有在第一次执行时需要运行,default_cleanup_interval=>72代表清理周期为72小时(3天).BEGINsys.DBMS_AUDIT_MGMT.init_cleanup(audit_trail_type=>sys.DBMS_AUDIT_MGMT.AUDIT_TRAIL_ALL,......
  • Ubuntu 22.04上安装docker方法及oracle 11g方法
    1.切换到管理员登录ubt2204@ubt2204-Virtual-Machine:~/database$suPassword:2.执行安装docker命令root@ubt2204-Virtual-Machine:/home/ubt2204/database#sudoaptinstalldocker.io3.启动docker服务systemctlstartdocker#或者sudoservicedockerstart4.......
  • Centos7.9+Oracle11g 单机文件系统安装注意事项
    数据库软件(上传至/root目录)p13390677_112040_Linux-x86-64_1of7p13390677_112040_Linux-x86-64_2of7其他软件包(上传至/root目录)compat-libstdc++-33-3.2.3-72.el7.x86_64.rpmpdksh-5.2.14-37.el5_8.1.x86_64.rpm安装软件包#安装compat包rpm-ivhcompat-libstdc++-33-3.2.3-72.el7......
  • Oracle 数据库11g版本dataguard创建的简单方法
    作者:ArupNanda DataGuard了解ActiveDataGuard如何通过实时查询,同时应用归档的的日志、将物理备用数据库转换为快照备用数据库以及对基础架构的一系列改进措施,让您对备份环境的投资物有所值。下载Oracle数据库11gOracle数据库11g对DataGuard功能进行了多方面的增强,......
  • 解决Oracle 11g在用EXP导出时,空表不能导出
    一、问题原因:  11G中有个新特性,当表无数据时,不分配segment,以节省空间  1、insert一行,再rollback就产生segment了。     该方法是在在空表中插入数据,再删除,则产生segment。导出时则可导出空表。   2、设置deferred_segment_creation参数     showpa......
  • ECRS工时分析软件:IE工程师的得力助手
    IE工程师在制造业中扮演着至关重要的角色,他们的职责和专用的辅助类工具有以下一些体现:1.提高生产效率:IE工程师通过重新安排生产线、优化物料搬运和提高设备利用率等方式,致力于提高生产效率。他们还会对生产流程进行量化分析,从而更好地发现问题并提出改进措施。2.降低生产成本:IE工......
  • oracle11g_获取所有对象&&表数据脚本(迁移后数据比对)
    oracle11g进行数据库迁移后,数据比对靠人工的话比较麻烦,通过如下脚本可以直接取数,获取对象及数据结果文件后,通过notpad++即可进行对比脚本内容如下--------------------------------------------------------------------------------------------------------------------------......
  • Linux上Oracle 11g安装步骤图解
    Oracle11g安装准备工作目录Oracle11g安装准备工作Oracle11g下载地址:Oracle11g 联机文档:Oracle11gR2数据库安装硬件配置要求:Linux平台需要的软件包支持:创建Oracle用户修改内核参数修改用户限制修改用户验证选项修改用户配置文件安装目录配置修改用户bashsh......
  • 19C RAC更换OCR磁盘组后,ASM密码认证导致集群CRSD服务无法启动
    前言一套19.19的RAC,OCR所在的ASM磁盘组从+GRID更换为+DG_GRID,然后强制删除了原来的+GRID磁盘组,最终导致该集群无法启动。 过程1、启动过程中,CSS服务正常启动,但CRS服务无法启动。此时,节点2的alertasm2.log日志中提示如下错误。2023-06-23T17:44:33.667188+08:00Errorsi......
  • 2.Oracle 11g rac安装
    查考:https://www.bilibili.com/video/BV1oJ411q7h3?p=10&spm_id_from=pageDriver&vd_source=410828f542644e3f8ce51b0e82e8475d......