<div dir="ltr"><div><div><div><div><div>Hi,<br><br>That offending line is as follows:<br>DocumentRoot "/var/www/html"<br><br></div>I'm guessing it needs to be updated to the DRBD block device, but I'm not sure how to do that, or even what the block device is.<br><br></div>fdisk -l shows the following, which I'm guessing is the block device?<br>/dev/mapper/vg_node02-drbd--demo<br><br></div>lvs shows the following:<br>drbd-demo vg_node02 -wi-ao---- 1.00g<br><br></div>btw I'm running the commands on node02 (secondary) rather than node01 (primary). It's just a matter of convenience due to the physical location of the machine. Does it matter?<br><br></div>Thanks.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 27, 2014 at 11:35 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">Oct 27 10:28:44 node02 apache(WebSite)[10515]: ERROR: Syntax error on line 292 of /etc/httpd/conf/httpd.conf: DocumentRoot must be a directory<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
> On 27 Oct 2014, at 1:36 pm, Sihan Goi <<a href="mailto:goister@gmail.com">goister@gmail.com</a>> wrote:<br>
><br>
> Hi Andrew,<br>
><br>
> Logs in /var/log/httpd/ are empty, but here's a snippet of /var/log/messages right after I start pacemaker and do a "crm status"<br>
><br>
> <a href="http://pastebin.com/ivQdyV4u" target="_blank">http://pastebin.com/ivQdyV4u</a><br>
><br>
> Seems like the Apache service doesn't come up. This only happens after I run the commands in the guide to configure DRBD.<br>
><br>
> On Fri, Oct 24, 2014 at 8:29 AM, Andrew Beekhof <<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>> wrote:<br>
> logs?<br>
><br>
> > On 23 Oct 2014, at 1:08 pm, Sihan Goi <<a href="mailto:goister@gmail.com">goister@gmail.com</a>> wrote:<br>
> ><br>
> > Hi, can anyone help? Really stuck here...<br>
> ><br>
> > On Mon, Oct 20, 2014 at 9:46 AM, Sihan Goi <<a href="mailto:goister@gmail.com">goister@gmail.com</a>> wrote:<br>
> > Hi,<br>
> ><br>
> > I'm following the "Clusters from Scratch" guide for Fedora 13, and I've managed to get a 2 node cluster working with Apache. However, once I tried to add DRBD 8.4 to the mix, it stopped working.<br>
> ><br>
> > I've followed the DRBD steps in the guide all the way till "cib commit fs" in Section 7.4, right before "Testing Migration". However, when I do a crm_mon, I get the following "failed actions".<br>
> ><br>
> > Last updated: Thu Oct 16 17:28:34 2014<br>
> > Last change: Thu Oct 16 17:26:04 2014 via crm_shadow on node01<br>
> > Stack: cman<br>
> > Current DC: node02 - partition with quorum<br>
> > Version: 1.1.10-14.el6_5.3-368c726<br>
> > 2 Nodes configured<br>
> > 5 Resources configured<br>
> ><br>
> ><br>
> > Online: [ node01 node02 ]<br>
> ><br>
> > ClusterIP (ocf::heartbeat:IPaddr2): Started node02<br>
> > Master/Slave Set: WebDataClone [WebData]<br>
> > Masters: [ node02 ]<br>
> > Slaves: [ node01 ]<br>
> > WebFS (ocf::heartbeat:Filesystem): Started node02<br>
> ><br>
> > Failed actions:<br>
> > WebSite_start_0 on node02 'unknown error' (1): call=278, status=Timed Out, last-rc-change='Thu Oct 16 17:26:28 2014', queued=20000ms, exec=0ms<br>
> > WebSite_start_0 on node01 'unknown error' (1): call=203, status=Timed<br>
> > Out, last-rc-change='Thu Oct 16 17:26:09 2014', queued=20000ms, exec=0ms<br>
> ><br>
> > Seems like the apache Website resource isn't starting up. Apache was<br>
> > working just fine before I configured DRBD. What did I do wrong?<br>
> ><br>
> > --<br>
> > - Goi Sihan<br>
> > <a href="mailto:goister@gmail.com">goister@gmail.com</a><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > - Goi Sihan<br>
> > <a href="mailto:goister@gmail.com">goister@gmail.com</a><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>
><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>
><br>
><br>
><br>
> --<br>
> - Goi Sihan<br>
> <a href="mailto:goister@gmail.com">goister@gmail.com</a><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>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>- Goi Sihan<br><a href="mailto:goister@gmail.com">goister@gmail.com</a>
</div>