<div dir="ltr">Evan<div><br></div><div>Thank you for your reply. I am new to syslog-ng on command line.  Can you also explain what are a persist and control  files?</div><div><br></div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Mar 4, 2014 at 11:01 PM, Evan Rempel <span dir="ltr">&lt;<a href="mailto:erempel@uvic.ca" target="_blank">erempel@uvic.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You don&#39;t need to copy the binary, but you do need to specify a uniq set of configuration files, persistence files and control socket.<br>
<br>
You also need to ensure that the second instance does NOT read data from the local OS log sources such as<br>
/dev/log<br>
/proc/kmsg<br>
<br>
our second instance looks like<br>
<br>
syslog-ng --cfgfile=/usr/local/etc/syslog-ng/syslog-ng.files.conf --persist-file=/var/local/syslog-ng.files.persist --pidfile=/var/run/syslog-ng.files.pid --control=/var/local/syslog-ng.files.ctl<br>
<br>
Hope that helps.<br>
<div><div class="h5"><br>
<br>
<br>
On 03/04/2014 07:24 AM, Shashank Rohatgi wrote:<br>
&gt; Hi<br>
&gt;<br>
&gt; Can someone help me figure out how to install multiple instances of syslog-ng on a single server.<br>
&gt; Copying the binary and starting it with a different configuration file did spawn another instances but it wasnt independent as i saw it behaving different than what is configured in its syslog-ng file.<br>
&gt;<br>
&gt; I need a parallel instance for development alongside production.<br>
&gt; Thanks in advance<br>
&gt;<br>
&gt; regards<br>
&gt; SK<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ______________________________________________________________________________<br>
&gt; Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt; 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>
&gt; FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt;<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Evan Rempel                                      <a href="mailto:erempel@uvic.ca">erempel@uvic.ca</a><br>
Senior Systems Administrator                        250.721.7691<br>
Data Centre Services, University Systems, University of Victoria<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.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</font></span></blockquote></div><br></div>