#11g 数据库节点二启动之后,crsctl stat res -t 无任何输出。
[root@hisdb-02 systemd]# cat /etc/redhat-release
Anolis OS release 7.9
###########
###########
[root@hisdb-02 systemd]# cat /etc/init.d/ohasd |grep dd
#If the hostname is an IP address, let hostname
#remain as IP address
/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1 &
ps -ef|grep dd|grep hasd|awk '{print $2}'|xargs kill -9
/etc/systemd/system/oracle-ohasd.service
/etc/init.d/oracle-ohasd.conf
###########
###########
219 if [ -r $AUTOSTARTFILE ]
220 then
221 case `$CAT $AUTOSTARTFILE` in
222 enable*)
223 $LOGERR "Oracle HA daemon is enabled for autostart."
224 /bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1 &
225 my_crsctl start has -nowait
226 sleep 600
227 ps -ef|grep dd|grep hasd|awk '{print $2}'|xargs kill -9
228 ;;
229 disable*)
230 $LOGERR "Oracle HA daemon is disabled for autostart."
231 ;;
232 *)
233 $LOGERR "Oracle HA daemon is disabled by damaged install."
234 $LOGERR "Unexpected settings found in $AUTOSTARTFILE."
235 ;;
236 esac
RAC在linux7以上ohasd启动失败的问题