Hi, Im trying to start a apache on top of a drbd. It seems to me, as if the monitoring-function at startup fails. The apache-serviceis running, and when the apache is started without the heartbeat, I can access the /server-status page at ease with lynx con commandline and wget is installed.Maybe its a timeout-problem ? here are some debug-files:
lrmd[5697]: 2009/08/06_15:57:57 info: rsc:service_apache: start crmd[5700]: 2009/08/06_15:57:57 debug: do_lrm_rsc_op: Recording pending op: 20 - service_apache_start_0 service_apache:20 mgmtd[5708]: 2009/08/06_15:57:57 debug: update cib finished crmd[5700]: 2009/08/06_15:57:57 debug: cib_rsc_callback: Resource update 32 complete: rc=0 apache[6673]: 2009/08/06_15:57:57 INFO: apache not running apache[6673]: 2009/08/06_15:57:57 INFO: waiting for apache /etc/httpd/conf/httpd.conf to come up apache[6673]: 2009/08/06_15:57:58 ERROR: command failed: sh -c wget -O- -q -L --bind-address=127.0.0.1 http://*:80/server-status | tr '\012' ' ' | grep -Ei "</ *body *>[[:space:]]*</ *html *>" >/dev/null lrmd[5697]: 2009/08/06_15:57:58 WARN: Managed service_apache:start process 6673 exited with return code 1. crmd[5700]: 2009/08/06_15:57:58 ERROR: process_lrm_event: LRM operation service_apache_start_0 (call=20, rc=1) Error unknown error crmd[5700]: 2009/08/06_15:57:58 debug: build_operation_update: Calculated digest 78bd7553bdf10a58c69f3a3b70d66ba0 for service_apache_start_0 (4:1;43:3:ef8ed907-59b7-42b0-9c6f-dff1f8a6d25e) crmd[5700]: 2009/08/06_15:57:58 debug: log_data_element: build_operation_update: digest:source <parameters configfile="/etc/httpd/conf/httpd.conf" httpd="/usr/sbin/httpd"/> crmd[5700]: 2009/08/06_15:57:58 debug: get_rsc_metadata: Retreiving metadata for apache::ocf:heartbeat crmd[5700]: 2009/08/06_15:57:58 debug: append_restart_list: Resource service_apache does not support reloads crmd[5700]: 2009/08/06_15:57:58 debug: do_update_resource: Sent resource state update message: 33 crmd[5700]: 2009/08/06_15:57:58 debug: process_lrm_event: Op service_apache_start_0 (call=20): Confirmed mgmtd[5708]: 2009/08/06_15:57:59 debug: update cib finished crmd[5700]: 2009/08/06_15:57:59 debug: cib_rsc_callback: Resource update 33 complete: rc=0 mgmtd[5708]: 2009/08/06_15:58:00 debug: update cib finished crmd[5700]: 2009/08/06_15:58:01 info: do_lrm_rsc_op: Performing op=service_apache_stop_0 key=2:4:ef8ed907-59b7-42b0-9c6f-dff1f8a6d25e) lrmd[5697]: 2009/08/06_15:58:01 debug: on_msg_perform_op: add an operation operation stop[21] on ocf::apache::service_apache for client 5700, its parameters: CRM_meta_timeout=[20000] crm_feature_set=[2.0] to the operation list. lrmd[5697]: 2009/08/06_15:58:01 info: rsc:service_apache: stop crmd[5700]: 2009/08/06_15:58:01 debug: do_lrm_rsc_op: Recording pending op: 21 - service_apache_stop_0 service_apache:21 apache[6782]: 2009/08/06_15:58:02 INFO: Killing apache PID 6712 apache[6782]: 2009/08/06_15:58:02 INFO: apache stopped. lrmd[5697]: 2009/08/06_15:58:02 info: Managed service_apache:stop process 6782 exited with return code 0. crmd[5700]: 2009/08/06_15:58:02 info: process_lrm_event: LRM operation service_apache_stop_0 (call=21, rc=0) complete crmd[5700]: 2009/08/06_15:58:02 debug: do_update_resource: Sent resource state update message: 34 crmd[5700]: 2009/08/06_15:58:02 debug: process_lrm_event: Op service_apache_stop_0 (call=21): Confirmed any suggestions are welcome Kind Regards SST -- Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02 _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
