<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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>On Nov 18, 2009, at 6:56 PM, Angie T. Muhammad wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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> <span><errors_starting_apache_on_2nd_node></span>_______________________________________________<br>Pacemaker mailing list<br><a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>http://oss.clusterlabs.org/mailman/listinfo/pacemaker<br></blockquote></div><br></body></html>