重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1302|回复: 0
打印 上一主题 下一主题

[Oracle] CRS-4124: Oracle High Availability Services startup failed.

[复制链接]
跳转到指定楼层
楼主
发表于 2022-9-20 11:02:24 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
系统:rhel 6.5
数据库:oracle 11.2.0.1
环境:asm 单实例
问题描述:安装gi执行root.sh时,报错CRS-4124,如下所示:
[root@liujun~]# /u01/app/grid/product/11.2.0/grid/root.sh
RunningOracle 11g root.sh script...
Thefollowing environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/grid/product/11.2.0/grid
Enter thefull pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...
Creating /etc/oratabfile...
Entrieswill be added to the /etc/oratab file as needed by
DatabaseConfiguration Assistant when a database is created
Finishedrunning generic part of root.sh script.
Nowproduct-specific root actions will be performed.
2022-09-1221:42:18: Checking for super user privileges
2022-09-1221:42:18: User has super user privileges
2022-09-1221:42:18: Parsing the host name
Usingconfiguration parameter file:/u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_params
Creatingtrace directory
LOCAL ADDMODE
CreatingOCR keys for user 'grid', privgrp 'oinstall'..
Operationsuccessful.
CRS-4664:Node liujun successfully pinned.
Addingdaemon to inittab
CRS-4124:Oracle High Availability Services startup failed.
CRS-4000:Command Start failed, or completed with errors.
ohasdfailed to start: Inappropriate ioctl for device
ohasdfailed to start: Inappropriate ioctl for device at/u01/app/grid/product/11.2.0/grid/crs/install/roothas.pl line 296.
经确认,此为11.2.0.1 安装GI的经典bug.
解决方案:在执行root.sh脚本出现 Addingdaemon to inittab时,立即在另一个session执行如下指令.root.sh脚本成功后,ctrl+c结束dd命令.
[root@liujun~]# dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
注意:重新执行root.sh脚本需要删除之前配置,命令如下.
[root@liujuninstall]# /u01/app/grid/product/11.2.0/grid/crs/install/roothas.pl -deconfig-force -verbose
2022-09-1221:56:24: Checking for super user privileges
2022-09-1221:56:24: User has super user privileges
2022-09-1221:56:24: Parsing the host name
Usingconfiguration parameter file: /u01/app/grid/product/11.2.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.
CRS-4544:Unable to connect to OHAS
CRS-4000:Command Stop failed, or completed with errors.
/u01/app/grid/product/11.2.0/grid/bin/acfsdriverstate:line 51: /lib/acfstoolsdriver.sh: No such file or directory
/u01/app/grid/product/11.2.0/grid/bin/acfsdriverstate:line 51: exec: /lib/acfstoolsdriver.sh: cannot execute: No such file ordirectory
Successfullydeconfigured Oracle Restart stack
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-25 19:27 , Processed in 0.116883 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表