try checking if stonith is enabled if it is then disable it:<br><br>crm_attribute -G -t crm_config -n stonith-enabled<br><br>Or define stonith resources before running your resources.<br><br><br>Thanks<br>Shravan<br><br><div class="gmail_quote">
On Sat, Aug 27, 2011 at 12:18 PM, leopoldo tosi <span dir="ltr"><<a href="mailto:leopoldotosi@yahoo.it">leopoldotosi@yahoo.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'm doing some test with apache, but it doesn't run,<br>
someone can help me, please ?<br>
<br>
leopoldo tosi<br>
Last updated: Sat Aug 27 18:09:26 2011<br>
Stack: openais<br>
Current DC: server01 - partition with quorum<br>
Version: 1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b<br>
2 Nodes configured, 2 expected votes<br>
1 Resources configured.<br>
============<br>
<br>
Online: [ server01 server02 ]<br>
<br>
Resource Group: group1<br>
ip1 (ocf::heartbeat:IPaddr2): Started server01<br>
apache2 (ocf::heartbeat:apache2): Stopped<br>
<br>
Failed actions:<br>
apache2_start_0 (node=server02, call=5, rc=1, status=complete): unknown error<br>
apache2_start_0 (node=server01, call=5, rc=1, status=complete): unknown error<br>
<br>
<br>
<br>
ptest[2141]: 2011/08/27_18:01:19 debug: unpack_config: STONITH timeout: 60000<br>
ptest[2141]: 2011/08/27_18:01:19 debug: unpack_config: STONITH of failed nodes is disabled<br>
ptest[2141]: 2011/08/27_18:01:19 debug: unpack_config: Stop all active resources: false<br>
ptest[2141]: 2011/08/27_18:01:19 debug: unpack_config: Cluster is symmetric - resources can run anywhere by default<br>
ptest[2141]: 2011/08/27_18:01:19 debug: unpack_config: Default stickiness: 0<br>
ptest[2141]: 2011/08/27_18:01:19 debug: unpack_config: On loss of CCM Quorum: Stop ALL resources<br>
ptest[2141]: 2011/08/27_18:01:19 info: unpack_config: Node scores: 'red' = -INFINITY, 'yellow' = 0, 'green' = 0<br>
ptest[2141]: 2011/08/27_18:01:19 info: determine_online_status: Node server02 is online<br>
ptest[2141]: 2011/08/27_18:01:19 debug: unpack_rsc_op: apache2_start_0 on server02 returned 1 (unknown error) instead of the expected value: 0 (ok)<br>
ptest[2141]: 2011/08/27_18:01:19 WARN: unpack_rsc_op: Processing failed op apache2_start_0 on server02: unknown error (1)<br>
ptest[2141]: 2011/08/27_18:01:19 info: determine_online_status: Node server01 is online<br>
ptest[2141]: 2011/08/27_18:01:19 debug: unpack_rsc_op: apache2_start_0 on server01 returned 1 (unknown error) instead of the expected value: 0 (ok)<br>
ptest[2141]: 2011/08/27_18:01:19 WARN: unpack_rsc_op: Processing failed op apache2_start_0 on server01: unknown error (1)<br>
ptest[2141]: 2011/08/27_18:01:19 notice: group_print: Resource Group: group1<br>
ptest[2141]: 2011/08/27_18:01:19 notice: native_print: ip1 (ocf::heartbeat:IPaddr2): Started server01<br>
ptest[2141]: 2011/08/27_18:01:19 notice: native_print: apache2 (ocf::heartbeat:apache2): Stopped<br>
ptest[2141]: 2011/08/27_18:01:19 info: get_failcount: apache2 has failed INFINITY times on server01<br>
ptest[2141]: 2011/08/27_18:01:19 WARN: common_apply_stickiness: Forcing apache2 away from server01 after 1000000 failures (max=1000000)<br>
ptest[2141]: 2011/08/27_18:01:19 info: get_failcount: apache2 has failed INFINITY times on server02<br>
ptest[2141]: 2011/08/27_18:01:19 WARN: common_apply_stickiness: Forcing apache2 away from server02 after 1000000 failures (max=1000000)<br>
ptest[2141]: 2011/08/27_18:01:19 info: native_merge_weights: ip1: Rolling back scores from apache2<br>
ptest[2141]: 2011/08/27_18:01:19 debug: native_assign_node: Assigning server01 to ip1<br>
ptest[2141]: 2011/08/27_18:01:19 debug: native_assign_node: All nodes for resource apache2 are unavailable, unclean or shutting down (server02: 1, -1000000)<br>
ptest[2141]: 2011/08/27_18:01:19 debug: native_assign_node: Could not allocate a node for apache2<br>
ptest[2141]: 2011/08/27_18:01:19 info: native_color: Resource apache2 cannot run anywhere<br>
ptest[2141]: 2011/08/27_18:01:19 notice: LogActions: Leave resource ip1 (Started server01)<br>
ptest[2141]: 2011/08/27_18:01:19 notice: LogActions: Leave resource apache2 (Stopped)<br>
<br>
<br>
Aug 27 18:00:55 server01 pengine: [1322]: info: native_merge_weights: ip1: Rolling back scores from apache2<br>
Aug 27 18:00:55 server01 pengine: [1322]: debug: native_assign_node: All nodes for resource apache2 are unavailable, unclean or shutting down (server02: 1, -1000000)<br>
Aug 27 18:00:55 server01 pengine: [1322]: debug: native_assign_node: Could not allocate a node for apache2<br>
Aug 27 18:00:55 server01 pengine: [1322]: info: native_color: Resource apache2 cannot run anywhere<br>
Aug 27 18:00:55 server01 pengine: [1322]: notice: LogActions: Leave resource apache2 (Stopped)<br>
<br>
<br>
Aug 27 17:59:55 server02 attrd: [1203]: debug: attrd_cib_callback: Update 51 for fail-count-apache2=INFINITY passed<br>
Aug 27 17:59:56 server02 cib: [1201]: debug: cib_process_xpath: Processing cib_query op for //cib/status//node_state[@id='server02']//nvpair[@name='last-failure-apache2'] (/cib/status/node_state[1]/transient_attributes/instance_attributes/nvpair[3])<br>
Aug 27 17:59:56 server02 attrd: [1203]: debug: log_data_element: find_nvpair_attr: Match <nvpair id="status-server02-last-failure-apache2" name="last-failure-apache2" value="1314452988" /><br>
Aug 27 17:59:56 server02 attrd: [1203]: debug: attrd_cib_callback: Update 54 for last-failure-apache2=1314452988 passed<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
</blockquote></div><br>