上回在virtual box装了grid之后没接着装database,就停了cluster关机了。今天搞了8g内存打算再跑跑rac,结果..
[root@rac1 ~]# /u01/grid/bin/crsctl start cluster -all
CRS-4639: Could not contact Oracle High Availability Services
CRS-4000: Command Start failed, or completed with errors.
查询metalink,Troubleshoot Grid Infrastructure Startup Issues [ID 1050908.1] ,根据这个文章验证到第二步:
2. "init.ohasd run" is up On Linux/UNIX, as "init.ohasd run" is configured in /etc/inittab, process init (pid 1, /sbin/init on Linux, Solaris and hp-ux, /usr/sbin/init on AIX) will start and respawn "init.ohasd run" if it fails. Without "init.ohasd run" up and running, ohasd.bin will not start:
ps -ef|grep init.ohasd|grep -v grep
root 2279 1 0 18:14 ? 00:00:00 /bin/sh /etc/init.d/init.ohasd run
If any rc Snncommand script. (located in rcn.d, example S98gcstartup) stuck, init process may not start "/etc/init.d/init.ohasd run"; please engage OS vendor to find out why relevant Snncommand script. stuck.
发现ohasd没有运行,直接输入/sh /etc/init.d/init.ohasd run之后一切启动正常。