[Pacemaker] Error starting Apache on 2 nodes cluster

Angie T. Muhammad angie.tawfik at gmail.com
Thu Nov 19 21:50:52 UTC 2009


Hey Giovanni!
Thank you so much!
This eliminated the need to configure vhosts or do any other thing at
httpd.conf .. You saved me lots of time and effort..
It is now solved :D

Thanks again :)

On Thu, Nov 19, 2009 at 10:59 PM, Giovanni Di Milia <
gdimilia at cfa.harvard.edu> wrote:

>
> Hi,
> I had the same problem with the same configuration.
>
> I solved whit the following settings in httpd.conf:
>
> 1- Setting
> ExtendedStatus On
>
> 2- Enable the server-status
> <Location /server-status>
>     SetHandler server-status
>     Order deny,allow
>     Deny from all
>     Allow from 127.0.0.1
> </Location>
>
> if you need I can send you a complete working httpd.conf
>
> Giovanni
>
>
>
>
> On Nov 18, 2009, at 6:56 PM, Angie T. Muhammad wrote:
>
> Hello
> I'm a pacemaker and openais beginner.
> I followed the document 'cluster from scratch' and I successfully managed
> to create and monitor a 'ClusterIP' and 'LoadBalancer' resources.
>
> But, Whenever I try to start Apache:
> # crm configure primitive WebSite ocf:heartbeat:apache params
> configfile=/etc/httpd/conf/httpd.conf op monitor interval=1min
>
> whether using (ocf:heartbeat:apache) or (lsb::httpd) I get the following
> errors when watching crm_mon:
>
> ============
> Last updated: Thu Nov 19 01:38:33 2009
> Stack: openais
> Current DC: test1.localdomain - partition with quorum
> Version: 1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7
> 2 Nodes configured, 2 expected votes
> 3 Resources configured.
> ============
>
> Online: [ test1.localdomain test2.localdomain ]
>
> ClusterIP       (ocf::heartbeat:IPaddr2):       Started test1.localdomain
> LoadBalancer    (lsb:haproxy):  Started test1.localdomain
>
> Failed actions:
>     WebSite_start_0 (node=test1.localdomain, call=9, rc=1,
> status=complete): unknown error
>     WebSite_start_0 (node=test2.localdomain, call=5, rc=1,
> status=complete): unknown error
>
> /************************************************************************************************************/
>
> Knowing that I am using:
> CentOS 5.4..
> openais-0.80.5-15.1
> pacemaker-1.0.5-4.1
> # chkconfig httpd off
> server-status is not enabled in my httpd.conf ...
>
> I always check apache processes before configuring my crm using:
>
> # ps aux | grep httpd
> /* to make sure there are no zombie processes */
>
> # /etc/init.d/httpd status
> /* to gurantee it's stopped and nothing is locked */
>
> Last but not least I am ataching the *last 100 lines of my
> /var/log/messages* of the 2nd node to help you help me.
> 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!!!
>
> Thank you in advance
> --
> All the best,
> Angie
>  <errors_starting_apache_on_2nd_node>
> _______________________________________________
>
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
>


-- 
All the best,
Angie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091119/4c17297e/attachment-0002.htm>


More information about the Pacemaker mailing list