Displaying 3 results from an estimated 3 matches for "ocf_not_run".
2014 Nov 15
1
Understanding why Dovecot unexpectedly died
..., by the "monitor" section has this:
monitor)
if [ ! -e $OCF_RESKEY_pid ]; then
echo "stopped (no pidfile)"
echo "DOVECOT STOPPED - NO PIDFILE" | /usr/bin/logger -p local0.info -t DOVECOT-MONITOR -i
exit $OCF_NOT_RUNNING
else
/bin/ps axuwf | /bin/grep `/bin/cat $OCF_RESKEY_pid` | /bin/grep -v grep > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "stopped"
echo "DOVECOT STOPPED - NO PROCESS" |...
2020 Oct 07
2
Is it possible that "virsh destroy" does not stop a domain ?
...tcome, all is well sucess
[!0]*)
ocf_exit_reason "forced stop failed" # <============ fail of destroy seems to be possible
return $OCF_ERR_GENERIC ;;
0*)
while [ $status != $OCF_NOT_RUNNING ]; do
VirtualDomain_status
status=$?
done ;;
esac
return $OCF_SUCCESS
}
The function force_stop is responsible for stop/destroy the domain.
And it cares about a non-working "virsh destr...
2020 Oct 07
0
Re: Is it possible that "virsh destroy" does not stop a domain ?
...ss
> [!0]*)
> ocf_exit_reason "forced stop failed" #
> <============ fail of destroy seems to be possible
> return $OCF_ERR_GENERIC ;;
> 0*)
> while [ $status != $OCF_NOT_RUNNING ]; do
> VirtualDomain_status
> status=$?
> done ;;
> esac
> return $OCF_SUCCESS
> }
>
> The function force_stop is responsible for stop/destroy the domain.
> And it...