That makes sense about the PIDFILE.<br>I am using the SunFreeware version and did not compile it. I don't have a test system available right now. I was hoping that the documentation was wrong and that the -c was in 3.1.2:)) I don't guess there is a way to find out without the source other than to just try it. The worse that can happen is that it either doesn't come up or pukes out an error msg.<br>
<br>Thanks for your help Gergely!!<br><br>Regards,<br>Zeek<br><br><div class="gmail_quote">On Tue, Apr 26, 2011 at 11:26 AM, Gergely Nagy <span dir="ltr"><<a href="mailto:algernon@balabit.hu">algernon@balabit.hu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">Zeek Anow <<a href="mailto:zeekstern@gmail.com">zeekstern@gmail.com</a>> writes:<br>
<br>
</div><div class="im">> Thanks alot Gergely!! I really appreciate the response.<br>
><br>
> I am using the example file and see the OPTIONS variable. The -p<br>
> option is valid, but the -c option does not appear to be. I checked in<br>
> the syslog-ng Open Source Edition 3.1 Administrator Guide and the man<br>
> page. There is a -C for the chroot directory, but I don't think that<br>
> is what you are referring to. Course it is always possible the<br>
> documentation is not updated. Have you used the -c before?<br>
<br>
</div>Truth be told, I checked the options on 3.3 (the current development<br>
version), and did not verify that -c exists on 3.1. You're correct<br>
though, that it's not the same as -C: -c would work similarly to -p,<br>
except it'd override the path of the control socket, not that of the<br>
pidfile.<br>
<div class="im"><br>
> Also, any thoughts as to why I cannot find the syslog-ng.pid file<br>
> anywhere on the system? All of the startup/shutdown scripts use it and<br>
> syslog-ng is running. This really has me scratching my head:))<br>
<br>
</div>The reason you can't find the pidfile is because without -p, syslog-ng<br>
will try to create it at the default location, which does not exist:<br>
thus, creating the pidfile will fail. But that's not a fatal error, so<br>
syslog-ng will continue running.<br>
<br>
If -c does not exist in 3.1, then your best bet is either upgrading to<br>
3.2.2 (the latest stable version), or recompiling 3.1 with the<br>
appropriate configure flags (./configure --help should give you enough<br>
hints, I believe), so that the pidfile & the control socket would end up<br>
in the appropriate directories.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">|8]<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html</a><br>
<br>
</div></div></blockquote></div><br>