<div dir="ltr"><div><div><div><div><div>Hi,<br><br>That offending line is as follows:<br>DocumentRoot &quot;/var/www/html&quot;<br><br></div>I&#39;m guessing it needs to be updated to the DRBD block device, but I&#39;m not sure how to do that, or even what the block device is.<br><br></div>fdisk -l shows the following, which I&#39;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&#39;m running the commands on node02 (secondary) rather than node01 (primary). It&#39;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">&lt;<a href="mailto:andrew@beekhof.net" target="_blank">andrew@beekhof.net</a>&gt;</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>
&gt; On 27 Oct 2014, at 1:36 pm, Sihan Goi &lt;<a href="mailto:goister@gmail.com">goister@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Andrew,<br>
&gt;<br>
&gt; Logs in /var/log/httpd/ are empty, but here&#39;s a snippet of /var/log/messages right after I start pacemaker and do a &quot;crm status&quot;<br>
&gt;<br>
&gt; <a href="http://pastebin.com/ivQdyV4u" target="_blank">http://pastebin.com/ivQdyV4u</a><br>
&gt;<br>
&gt; Seems like the Apache service doesn&#39;t come up. This only happens after I run the commands in the guide to configure DRBD.<br>
&gt;<br>
&gt; On Fri, Oct 24, 2014 at 8:29 AM, Andrew Beekhof &lt;<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>&gt; wrote:<br>
&gt; logs?<br>
&gt;<br>
&gt; &gt; On 23 Oct 2014, at 1:08 pm, Sihan Goi &lt;<a href="mailto:goister@gmail.com">goister@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; Hi, can anyone help? Really stuck here...<br>
&gt; &gt;<br>
&gt; &gt; On Mon, Oct 20, 2014 at 9:46 AM, Sihan Goi &lt;<a href="mailto:goister@gmail.com">goister@gmail.com</a>&gt; wrote:<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m following the &quot;Clusters from Scratch&quot; guide for Fedora 13, and I&#39;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>
&gt; &gt;<br>
&gt; &gt; I&#39;ve followed the DRBD steps in the guide all the way till &quot;cib commit fs&quot; in Section 7.4, right before &quot;Testing Migration&quot;. However, when I do a crm_mon, I get the following &quot;failed actions&quot;.<br>
&gt; &gt;<br>
&gt; &gt; Last updated: Thu Oct 16 17:28:34 2014<br>
&gt; &gt; Last change: Thu Oct 16 17:26:04 2014 via crm_shadow on node01<br>
&gt; &gt; Stack: cman<br>
&gt; &gt; Current DC: node02 - partition with quorum<br>
&gt; &gt; Version: 1.1.10-14.el6_5.3-368c726<br>
&gt; &gt; 2 Nodes configured<br>
&gt; &gt; 5 Resources configured<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Online: [ node01 node02 ]<br>
&gt; &gt;<br>
&gt; &gt; ClusterIP    (ocf::heartbeat:IPaddr2):    Started node02<br>
&gt; &gt;  Master/Slave Set: WebDataClone [WebData]<br>
&gt; &gt;      Masters: [ node02 ]<br>
&gt; &gt;      Slaves: [ node01 ]<br>
&gt; &gt; WebFS   (ocf::heartbeat:Filesystem):    Started node02<br>
&gt; &gt;<br>
&gt; &gt; Failed actions:<br>
&gt; &gt;     WebSite_start_0 on node02 &#39;unknown error&#39; (1): call=278, status=Timed Out, last-rc-change=&#39;Thu Oct 16 17:26:28 2014&#39;, queued=20000ms, exec=0ms<br>
&gt; &gt;     WebSite_start_0 on node01 &#39;unknown error&#39; (1): call=203, status=Timed<br>
&gt; &gt; Out, last-rc-change=&#39;Thu Oct 16 17:26:09 2014&#39;, queued=20000ms, exec=0ms<br>
&gt; &gt;<br>
&gt; &gt; Seems like the apache Website resource isn&#39;t starting up. Apache was<br>
&gt; &gt; working just fine before I configured DRBD. What did I do wrong?<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; - Goi Sihan<br>
&gt; &gt; <a href="mailto:goister@gmail.com">goister@gmail.com</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; - Goi Sihan<br>
&gt; &gt; <a href="mailto:goister@gmail.com">goister@gmail.com</a><br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; &gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt; &gt;<br>
&gt; &gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; &gt; 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>
&gt; &gt; Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; 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>
&gt; Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; - Goi Sihan<br>
&gt; <a href="mailto:goister@gmail.com">goister@gmail.com</a><br>
&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; 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>
&gt; 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>