Hi,
I've just run into a problem trying to use apache resource agent in
heartbeat 2.1.2; cluster is running with v1 style configuration.
If there's an error in the apache config file, startup hangs
indefinitely:
ocf_run $HTTPD $HTTPDOPTS $OPTIONS -f $CONFIGFILE
tries=0
while : # wait until the user set timeout
do
monitor_apache
ec=$?
if [ $ec -eq $OCF_NOT_RUNNING ]
then
tries=`expr $tries + 1`
ocf_log info "waiting for apache $CONFIGFILE to come up"
sleep 1
else
break
fi
done
return $ec
}
Ocf_run tries to start the apache server; the followin loop doesn't seem
to have any exit (other than apache comming up).
Bye, Martin
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems