crs启动报错CRS-4124 CRS-4000
现象:
crs启动报错CRS-4124 CRS-4000 CRS-0715
# crsctl start crs
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
在gi的alert日志中报错如下:
<GRID_HOME>/log/<node>/alert<node>.log
[ohasd(<pid>)] CRS-0715:Oracle High Availability Service has timed out waiting for init.ohasd to be started.
init.ohasd进程在linux中是在/etc/inittab文件中配置启动的,可以看到init.ohasd绝对路径
# grep ohasd /etc/inittab
h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null
但是查看进程发现并没有启动init.ohasd进程
# ps -ef| grep init.ohasd | grep -v grep
>> no output
原因:
这个可能的原因是脚本运行卡住了导致
解决方案:
通过root权限手工运行init.ohasd脚本启动进程,命令如下:
cd <location-of-init.ohasd>
nohup ./init.ohasd run &