[Pacemaker] ocf:heartbeat:apache fails to start

Paul Shannon - NOAA Federal paul.shannon at noaa.gov
Wed Dec 19 16:22:23 UTC 2012


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.

Paul Shannon

-----
Speak the truth, but leave immediately after. - Slovenian proverb**
*
*Paul Shannon <paul.shannon at noaa.gov>
ITO, WFO Juneau
NOAA, National Weather Service



On Wed, Dec 19, 2012 at 12:36 AM, Andrew Beekhof <andrew at beekhof.net> wrote:

> On Wed, Dec 19, 2012 at 6:35 AM, Paul Shannon - NOAA Federal
> <paul.shannon at noaa.gov> wrote:
> > I have what I thought was a pretty simple startup.  Just a 2-node cluster
> > with 3 drbd filesystems, a virtual-ip and apache.  However I cannot get
> my
> > apache resource to start.
>
> My guess is that the status url isn;t working/configured.
>
>    http://www.cyberciti.biz/faq/apache-server-status/
>
> > This is from corosync.log.
> >
> > Dec 18 10:20:36 [1806] ajk-s-jnusrv1.jnu.nwsar.gov       crmd:     info:
> > process_lrm_event:     LRM operation p_webserver_start_0 (call=62, rc=1,
> > cib-update=61, confirmed=true) unknown error
> > Dec 18 10:20:36 [1804] ajk-s-jnusrv1.jnu.nwsar.gov      attrd:   notice:
> > attrd_ais_dispatch:    Update relayed from ajk-s-jnusrv2.jnu.nwsar.gov
> > Dec 18 10:20:36 [1804] ajk-s-jnusrv1.jnu.nwsar.gov      attrd:   notice:
> > attrd_trigger_update:  Sending flush op to all hosts for:
> > fail-count-p_webserver (INFINITY)
> > Dec 18 10:20:37 [1804] ajk-s-jnusrv1.jnu.nwsar.gov      attrd:   notice:
> > attrd_perform_update:  Sent update 99: fail-count-p_webserver=INFINITY
> > Dec 18 10:20:37 [1804] ajk-s-jnusrv1.jnu.nwsar.gov      attrd:   notice:
> > attrd_ais_dispatch:    Update relayed from ajk-s-jnusrv2.jnu.nwsar.gov
> > Dec 18 10:20:37 [1804] ajk-s-jnusrv1.jnu.nwsar.gov      attrd:   notice:
> > attrd_trigger_update:  Sending flush op to all hosts for:
> > last-failure-p_webserver (1355858436)
> > Dec 18 10:20:37 [1804] ajk-s-jnusrv1.jnu.nwsar.gov      attrd:   notice:
> > attrd_perform_update:  Sent update 102:
> last-failure-p_webserver=1355858436
> > Dec 18 10:20:37 ajk-s-jnusrv1.jnu.nwsar.gov lrmd: [1803]: info:
> > rsc:p_webserver:63: stop
> > Dec 18 10:20:37 [1806] ajk-s-jnusrv1.jnu.nwsar.gov       crmd:     info:
> > process_lrm_event:     LRM operation p_webserver_stop_0 (call=63, rc=0,
> > cib-update=65, confirmed=true) ok
> >
> > My p_webserver resource has:
> >
> >
> > primitive p_webserver ocf:heartbeat:apache \
> >
> > params configfile="/etc/httpd/conf/httpd.conf" \
> >
> > op monitor interval="30s" timeout="30s" \
> >
> > op start interval="0" timeout="40s" \
> >
> > op stop interval="0" timeout="60s"
> >
> >
> > I also have an order and colocation restraint:
> >
> > colocation p_webserver-on-ms-virtual-ip inf: p_webserver
> virtual-ip:Started
> >
> > order virtual-ip-before-webserver inf: virtual-ip:start webserver:start
> >
> >
> > The virtual-ip comes up fine and service httpd start works fine from the
> > command line, so my /etc/httpd/conf/httpd.conf file appears to be fine.
> > Anyone have any ideas on what I need to change?
> >
> > Paul Shannon
> > -----
> > Speak the truth, but leave immediately after. - Slovenian proverb
> >
> > Paul Shannon <paul.shannon at noaa.gov>
> > ITO, WFO Juneau
> > NOAA, National Weather Service
> >
> >
> >
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://bugs.clusterlabs.org
> >
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20121219/3ad4259a/attachment.htm>


More information about the Pacemaker mailing list