[syslog-ng] suppressing pidfile and control socket for syslog-ng 3.0

Denis Laplante Denis.Laplante at ubc.ca
Mon May 4 20:23:56 CEST 2009


To clarify my question about suppressing PID and control socket in syslog-ng version 3.0:
I don't want the error message to be suppressed by having the file successfully created in
syslog-ng's favourite location, I want to suppress opening the 2 files .

I might want multiple syslog-ng processes running simultaneously,
for example a test instance to run without interfering with production instances.

In the case of PID file, I could perhaps specify "--pidfile /dev/null" ; is there a chance that
the target file might get deleted or have permissions changed?
A couple of minor complaints for this option:
Option --pidfile does not handle relative directories (unlike syslog-ng.conf) .
Option -P responds with "Error parsing command line arguments: Unknown option -P".

> Message: 3 Date: Mon, 4 May 2009 10:51:20 +0200 (CEST) 
> From: bugzilla at bugzilla.balabit.com 
> Subject: [syslog-ng] [Bug 43] syslog-ng 2.1.4 consumes all CPU when processing "source file" 
> Comment #4 from Balazs Scheidler <bazsi at balabit.hu> 2009-05-04 10:51:21 
> [...]
>>> > > can you try 3.0 if it fixes your problem? 
>> > Yes, 3.0.1 on Solaris-8 fixes this problem.  
> [...]
> > How do I suppress pidfile and/or control socket? 
>> > > Error opening control socket, bind() failed; error='Permission denied (13)', socket='/local/var/run/syslog-ng.ctl'
> This is a different issue, you should probably create /local/var/run/ directory with appropriate permissions.



More information about the syslog-ng mailing list