That makes sense about the PIDFILE.
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.

Thanks for your help Gergely!!

Regards,
Zeek

On Tue, Apr 26, 2011 at 11:26 AM, Gergely Nagy <algernon@balabit.hu> wrote:
Zeek Anow <zeekstern@gmail.com> writes:

> Thanks alot Gergely!! I really appreciate the response.
>
> I am using the example file and see the OPTIONS variable. The -p
> option is valid, but the -c option does not appear to be. I checked in
> the syslog-ng Open Source Edition 3.1 Administrator Guide and the man
> page. There is a -C for the chroot directory, but I don't think that
> is what you are referring to. Course it is always possible the
> documentation is not updated. Have you used the -c before?

Truth be told, I checked the options on 3.3 (the current development
version), and did not verify that -c exists on 3.1. You're correct
though, that it's not the same as -C: -c would work similarly to -p,
except it'd override the path of the control socket, not that of the
pidfile.

> Also, any thoughts as to why I cannot find the syslog-ng.pid file
> anywhere on the system? All of the startup/shutdown scripts use it and
> syslog-ng is running. This really has me scratching my head:))

The reason you can't find the pidfile is because without -p, syslog-ng
will try to create it at the default location, which does not exist:
thus, creating the pidfile will fail. But that's not a fatal error, so
syslog-ng will continue running.

If -c does not exist in 3.1, then your best bet is either upgrading to
3.2.2 (the latest stable version), or recompiling 3.1 with the
appropriate configure flags (./configure --help should give you enough
hints, I believe), so that the pidfile & the control socket would end up
in the appropriate directories.

--
|8]
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html