Thank you, thank you, thank you. I was chasing that problem for several days. I did not see anything in any of the logs that pointed to where the problem might be. Now I see that there is something about that requirement on the linux-ha ocf_heartbeat_apache page. Thanks again.<br>
<br>Paul Shannon<br><div class="gmail_extra"><br clear="all"><div><font size="4"><font><span style="font-family:garamond,serif">-----<br><span style="font-family:georgia,serif">Speak the truth, but leave immediately after. - Slovenian proverb<i></i><br>
</span><i style="font-family:georgia,serif"><br></i></span></font>Paul Shannon</font> <<a href="mailto:paul.shannon@noaa.gov" target="_blank">paul.shannon@noaa.gov</a>><br>ITO, WFO Juneau<br>NOAA, National Weather Service<br>
<br></div>
<br><br><div class="gmail_quote">On Wed, Dec 19, 2012 at 12:36 AM, Andrew Beekhof <span dir="ltr"><<a href="mailto:andrew@beekhof.net" target="_blank">andrew@beekhof.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wed, Dec 19, 2012 at 6:35 AM, Paul Shannon - NOAA Federal<br>
<<a href="mailto:paul.shannon@noaa.gov">paul.shannon@noaa.gov</a>> wrote:<br>
> I have what I thought was a pretty simple startup. Just a 2-node cluster<br>
> with 3 drbd filesystems, a virtual-ip and apache. However I cannot get my<br>
> apache resource to start.<br>
<br>
</div>My guess is that the status url isn;t working/configured.<br>
<br>
<a href="http://www.cyberciti.biz/faq/apache-server-status/" target="_blank">http://www.cyberciti.biz/faq/apache-server-status/</a><br>
<div><div class="h5"><br>
> This is from corosync.log.<br>
><br>
> Dec 18 10:20:36 [1806] <a href="http://ajk-s-jnusrv1.jnu.nwsar.gov" target="_blank">ajk-s-jnusrv1.jnu.nwsar.gov</a> crmd: info:<br>
> process_lrm_event: LRM operation p_webserver_start_0 (call=62, rc=1,<br>
> cib-update=61, confirmed=true) unknown error<br>
> Dec 18 10:20:36 [1804] <a href="http://ajk-s-jnusrv1.jnu.nwsar.gov" target="_blank">ajk-s-jnusrv1.jnu.nwsar.gov</a> attrd: notice:<br>
> attrd_ais_dispatch: Update relayed from <a href="http://ajk-s-jnusrv2.jnu.nwsar.gov" target="_blank">ajk-s-jnusrv2.jnu.nwsar.gov</a><br>
> Dec 18 10:20:36 [1804] <a href="http://ajk-s-jnusrv1.jnu.nwsar.gov" target="_blank">ajk-s-jnusrv1.jnu.nwsar.gov</a> attrd: notice:<br>
> attrd_trigger_update: Sending flush op to all hosts for:<br>
> fail-count-p_webserver (INFINITY)<br>
> Dec 18 10:20:37 [1804] <a href="http://ajk-s-jnusrv1.jnu.nwsar.gov" target="_blank">ajk-s-jnusrv1.jnu.nwsar.gov</a> attrd: notice:<br>
> attrd_perform_update: Sent update 99: fail-count-p_webserver=INFINITY<br>
> Dec 18 10:20:37 [1804] <a href="http://ajk-s-jnusrv1.jnu.nwsar.gov" target="_blank">ajk-s-jnusrv1.jnu.nwsar.gov</a> attrd: notice:<br>
> attrd_ais_dispatch: Update relayed from <a href="http://ajk-s-jnusrv2.jnu.nwsar.gov" target="_blank">ajk-s-jnusrv2.jnu.nwsar.gov</a><br>
> Dec 18 10:20:37 [1804] <a href="http://ajk-s-jnusrv1.jnu.nwsar.gov" target="_blank">ajk-s-jnusrv1.jnu.nwsar.gov</a> attrd: notice:<br>
> attrd_trigger_update: Sending flush op to all hosts for:<br>
> last-failure-p_webserver (1355858436)<br>
> Dec 18 10:20:37 [1804] <a href="http://ajk-s-jnusrv1.jnu.nwsar.gov" target="_blank">ajk-s-jnusrv1.jnu.nwsar.gov</a> attrd: notice:<br>
> attrd_perform_update: Sent update 102: last-failure-p_webserver=1355858436<br>
> Dec 18 10:20:37 <a href="http://ajk-s-jnusrv1.jnu.nwsar.gov" target="_blank">ajk-s-jnusrv1.jnu.nwsar.gov</a> lrmd: [1803]: info:<br>
> rsc:p_webserver:63: stop<br>
> Dec 18 10:20:37 [1806] <a href="http://ajk-s-jnusrv1.jnu.nwsar.gov" target="_blank">ajk-s-jnusrv1.jnu.nwsar.gov</a> crmd: info:<br>
> process_lrm_event: LRM operation p_webserver_stop_0 (call=63, rc=0,<br>
> cib-update=65, confirmed=true) ok<br>
><br>
> My p_webserver resource has:<br>
><br>
><br>
> primitive p_webserver ocf:heartbeat:apache \<br>
><br>
> params configfile="/etc/httpd/conf/httpd.conf" \<br>
><br>
> op monitor interval="30s" timeout="30s" \<br>
><br>
> op start interval="0" timeout="40s" \<br>
><br>
> op stop interval="0" timeout="60s"<br>
><br>
><br>
> I also have an order and colocation restraint:<br>
><br>
> colocation p_webserver-on-ms-virtual-ip inf: p_webserver virtual-ip:Started<br>
><br>
> order virtual-ip-before-webserver inf: virtual-ip:start webserver:start<br>
><br>
><br>
> The virtual-ip comes up fine and service httpd start works fine from the<br>
> command line, so my /etc/httpd/conf/httpd.conf file appears to be fine.<br>
> Anyone have any ideas on what I need to change?<br>
><br>
> Paul Shannon<br>
> -----<br>
> Speak the truth, but leave immediately after. - Slovenian proverb<br>
><br>
> Paul Shannon <<a href="mailto:paul.shannon@noaa.gov">paul.shannon@noaa.gov</a>><br>
> ITO, WFO Juneau<br>
> NOAA, National Weather Service<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<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://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><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://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div><br></div>