<br><br><div class="gmail_quote">On Thu, Jan 28, 2010 at 10:04 PM, Ken Dechick <span dir="ltr"><<a href="mailto:kend@medent.com">kend@medent.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff">
<font size="2">Hi eveyone,
<br>
<br>I have spent the better part of the afternoon searching for an answer as to why I get " logd is not running" errors constantly.
<br>Using: DRBD: 8.3.6, Heartbeat 3.0.1-1 Pacemaker 1.0.6 on CentOS 5.3 x86_64
<br>
<br>It looks like the problem may be simply that I have no logd config file. All the documentation suggests that I can find a sample config file with the other heartbeat docs (/usr/share/docs/heartbeat-3.0.1 in my case), but this file does not exist on my systems (have 3 clusters up and running - it's not on any of them). I dig all kinds of web searches today and I cannot locate listing of how this file needs to be setup. Can someone help point me in the right direction here? Over and over the docs recommend that you use logd on over the old system of individual log, and debug files, but I can't start logd without a config!!
<br></font></div></blockquote><div><br></div><div>Perhaps try /usr/share/docs/*glue* instead.</div><div>I'd expect that to be part of the cluster-glue packages now. </div><div><br></div><div>At any rate, here's the contents:</div>
<div><br></div><div><div>#<span class="Apple-tab-span" style="white-space:pre"> </span>File to write debug messages to</div><div>#<span class="Apple-tab-span" style="white-space:pre"> </span>Default: /var/log/ha-debug</div>
<div>#debugfile /var/log/ha-debug</div><div><br></div><div>#</div><div>#</div><div># <span class="Apple-tab-span" style="white-space:pre"> </span>File to write other messages to</div><div>#<span class="Apple-tab-span" style="white-space:pre"> </span>Default: /var/log/ha-log</div>
<div>#logfile<span class="Apple-tab-span" style="white-space:pre"> </span>/var/log/ha-log</div><div><br></div><div>#</div><div>#</div><div>#<span class="Apple-tab-span" style="white-space:pre"> </span>Facility to use for syslog()/logger </div>
<div>#<span class="Apple-tab-span" style="white-space:pre"> </span>Default: daemon</div><div>#logfacility<span class="Apple-tab-span" style="white-space:pre"> </span>daemon</div><div><br></div><div><br></div><div>#<span class="Apple-tab-span" style="white-space:pre"> </span>Entity to be shown at beginning of a message</div>
<div># <span class="Apple-tab-span" style="white-space:pre"> </span>for logging daemon</div><div># <span class="Apple-tab-span" style="white-space:pre"> </span>Default: "logd"</div><div>#entity logd</div><div><br>
</div><div><br></div><div>#<span class="Apple-tab-span" style="white-space:pre"> </span>Do we register to apphbd</div><div>#<span class="Apple-tab-span" style="white-space:pre"> </span>Default: no</div><div>#useapphbd no</div>
<div><br></div><div>#<span class="Apple-tab-span" style="white-space:pre"> </span>There are two processes running for logging daemon</div><div># <span class="Apple-tab-span" style="white-space:pre"> </span>1. parent process which reads messages from all client channels </div>
<div># <span class="Apple-tab-span" style="white-space:pre"> </span>and writes them to the child process </div><div># </div><div># <span class="Apple-tab-span" style="white-space:pre"> </span>2. the child process which reads messages from the parent process through IPC</div>
<div># <span class="Apple-tab-span" style="white-space:pre"> </span>and writes them to syslog/disk</div><div><br></div><div><br></div><div>#<span class="Apple-tab-span" style="white-space:pre"> </span>set the send queue length from the parent process to the child process</div>
<div>#</div><div>#sendqlen 256 </div><div><br></div><div>#<span class="Apple-tab-span" style="white-space:pre"> </span>set the recv queue length in child process</div><div>#</div><div>#recvqlen 256</div><div><br></div></div>
</div>