Dominik Klein wrote:
See user list. Thread "[Linux-HA] Apache failover / renaming the binary"
Regards
Dominik
Again. Second issue though.
exporting patch:
# HG changeset patch
# User Dominik Klein <[EMAIL PROTECTED]>
# Date 1215073256 -7200
# Node ID db487301a953408ab59a2fc5aadc0b26169b6c2f
# Parent 94c262e9af4978ffe6be49f3bcb079750e3ec1a6
Medium: RA: return code if $HTTPD is not installed but tried to start
diff -r 94c262e9af49 -r db487301a953 resources/OCF/apache
--- a/resources/OCF/apache Thu Jul 03 08:27:49 2008 +0200
+++ b/resources/OCF/apache Thu Jul 03 10:20:56 2008 +0200
@@ -564,9 +564,10 @@ then
[ -z "$HTTPD" ]
then
case $COMMAND in
+ start) exit $OCF_ERR_INSTALLED;;
stop) exit $OCF_SUCCESS;;
monitor) exit $OCF_NOT_RUNNING;;
- status) exit $LSB_STATUS_STOPPED;;
+ status) exit $LSB_STATUS_STOPPED;;
meta-data) metadata_apache;;
esac
ocf_log err "No valid httpd found! Please revise your <HTTPDLIST>
item"
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/