[syslog-ng] Two instances of syslog-ng on the same host?
Evan Rempel
erempel at uvic.ca
Tue Jun 29 04:58:18 CEST 2010
I can assure you that running multiple instances of syslog-ng does not share the /dev/log
We run up to 8 instances on the same host (it's complicated, but for us it is what we want).
As long as you give the correct config file to correct instance, all is good.
If you want to discuss /etc/init.d scripts off-line, I am willing to do that.
Evan.
________________________________________
From: syslog-ng-bounces at lists.balabit.hu [syslog-ng-bounces at lists.balabit.hu] On Behalf Of John R. Dunning [jrd at jrd.org]
Sent: Monday, June 28, 2010 6:25 PM
To: Syslog-ng users' and developers' mailing list
Subject: [syslog-ng] Two instances of syslog-ng on the same host?
From: "John R. Dunning" <jrd at jrd.org>
Date: Sat, 26 Jun 2010 22:42:05 -0400
From: "Patrick H." <syslogng at feystorm.net>
Date: Sat, 26 Jun 2010 20:27:41 -0600
The second instance youre trying to launch is using the first instance's
config.
Error initializing source driver; source='src', id='src#0'
From that message you can see its trying to initialize the source
callced 'src'. In your second config, your source is called 's_node',
the first instance is called 'src'. Make sure youre passing the proper
'-f' option to syslog-ng when you start it.
Pretty sure I am.
It's the second config (the one for the "main" instance) which has a
source called "src". It's the proxy one (the first one) which has a
source called "s_node".
The start for the proxy uses -f <special-proxy-conf> whereas the start
for the main one just lets it default to syslog-ng.conf.
Anybody got any further ideas on this? I fear my next step is to
start running the thing under gdb and try to work out why the proxy
instance still wants to open /dev/log. Would like to avoid that if
possible...
______________________________________________________________________________
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
More information about the syslog-ng
mailing list