<div dir="ltr"><span style="color: rgb(0, 102, 0);">Hey Giovanni!</span><br style="color: rgb(0, 102, 0);"><span style="color: rgb(0, 102, 0);">Thank you so much! </span><br style="color: rgb(0, 102, 0);"><span style="color: rgb(0, 102, 0);">This eliminated the need to configure vhosts or do any other thing at httpd.conf .. You saved me lots of time and effort.. </span><br style="color: rgb(0, 102, 0);">
<span style="color: rgb(0, 102, 0);">It is now solved :D</span><br style="color: rgb(0, 102, 0);"><br style="color: rgb(0, 102, 0);"><span style="color: rgb(0, 102, 0);">Thanks again :) </span><br><br><div class="gmail_quote">
On Thu, Nov 19, 2009 at 10:59 PM, Giovanni Di Milia <span dir="ltr"><<a href="mailto:gdimilia@cfa.harvard.edu">gdimilia@cfa.harvard.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div><br></div><div>Hi,</div><div>I had the same problem with the same configuration.</div><div><br></div><div>I solved whit the following settings in httpd.conf:</div><div><br></div><div>1- Setting </div><div>
ExtendedStatus On</div><div><br></div><div>2- Enable the server-status</div><div><div><Location /server-status></div><div>    SetHandler server-status</div><div>    Order deny,allow</div><div>    Deny from all</div>
<div>    Allow from 127.0.0.1</div><div></Location></div><div><br></div><div>if you need I can send you a complete working httpd.conf</div><div><br></div><div>Giovanni</div></div><div><br></div><div><br></div><div><br>
</div><br><div><div><div></div><div class="h5"><div>On Nov 18, 2009, at 6:56 PM, Angie T. Muhammad wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div class="h5"><div dir="ltr">Hello <br>I'm a pacemaker and openais beginner.<br>
I followed the document 'cluster from scratch' and I successfully managed to create and monitor a 'ClusterIP' and 'LoadBalancer' resources.<br> <br>But, Whenever I try to start Apache: <br># crm configure primitive WebSite ocf:heartbeat:apache params configfile=/etc/httpd/conf/httpd.conf op monitor interval=1min<br>
<br>whether using (ocf:heartbeat:apache) or (lsb::httpd) I get the following errors when watching crm_mon:<br> <br>============<br>Last updated: Thu Nov 19 01:38:33 2009<br>Stack: openais<br>Current DC: test1.localdomain - partition with quorum<br>
Version: 1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7<br>2 Nodes configured, 2 expected votes<br> 3 Resources configured.<br>============<br><br>Online: [ test1.localdomain test2.localdomain ]<br><br>ClusterIP       (ocf::heartbeat:IPaddr2):       Started test1.localdomain<br>
LoadBalancer    (lsb:haproxy):  Started test1.localdomain<br> <br><span style="color: rgb(255, 0, 0);">Failed actions:</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">    WebSite_start_0 (node=test1.localdomain, call=9, rc=1, status=complete): unknown error</span><br style="color: rgb(255, 0, 0);">
 <span style="color: rgb(255, 0, 0);">    WebSite_start_0 (node=test2.localdomain, call=5, rc=1, status=complete): unknown error</span><br style="color: rgb(255, 0, 0);">/************************************************************************************************************/<br>
 <br>Knowing that I am using:<br>CentOS 5.4.. <br>openais-0.80.5-15.1<br>pacemaker-1.0.5-4.1<br># chkconfig httpd off <br>server-status is not enabled in my httpd.conf ... <br><br>I always check apache processes before configuring my crm using:<br>
 <br># ps aux | grep httpd <br>/* to make sure there are no zombie processes */<br><br># /etc/init.d/httpd status<br>/* to gurantee it's stopped and nothing is locked */<br clear="all"><br>Last but not least I am ataching the <b>last 100 lines of my /var/log/messages</b> of the 2nd node to help you help me. <br>
 I have been on this loop for four days now and I have no idea why the crm can't start apache though when manually starting it, everything runs smoothly!!! <br><br>Thank you in advance<br>-- <br>All the best,<br>Angie<br>
 </div> </div></div><span><errors_starting_apache_on_2nd_node></span>_______________________________________________<div class="im"><br>Pacemaker mailing list<br><a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">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></div></blockquote></div><br></div><br>_______________________________________________<br>

Pacemaker mailing list<br>
<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></blockquote></div><br><br clear="all"><br>-- <br>All the best,<br>Angie<br>
</div>