<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Please see my response inline.<BR>&nbsp;<BR>
&gt; From: bazsi@balabit.hu<BR>&gt; To: syslog-ng@lists.balabit.hu<BR>&gt; Date: Wed, 17 Feb 2010 16:30:34 +0100<BR>&gt; Subject: Re: [syslog-ng] syslog-ng gets started twice when system reboots<BR>&gt; <BR>&gt; On Wed, 2010-02-17 at 04:03 +0000, Xuan Zhong wrote:<BR>&gt; &gt; I tried to turn on syslog-ng only at level 3. syslog-ng still<BR>&gt; &gt; got started twice when system rebooted.<BR>&gt; &gt; <BR>&gt; <BR>&gt; Are you using the binaries downloaded from our website? Are you sure it<BR>&gt; starts twice, or it is just the output of the init script that is<BR>&gt; generated twice?<BR>
&nbsp;<BR>
&nbsp;<BR>
I use the stable version syslog-ng-3.0.5-1.rhel5.x86_64.rpm downloaded from your website. It starts/stops twice only when the system reboots. The init script is only generated once. The second "Starting syslog-ng: [ok]" was generated by init script because I modified the init script text display and only the second start changed. Not sure where the first start comes from.<BR>
&nbsp;<BR>
Starting syslog-ng: Starting syslog-ng: [ok]<BR>
[ok]<BR><BR>
&nbsp;<BR>
When the system shuts down, I saw the following:<BR>
Stopping syslog-ng: Stopping syslog-ng: [ok]<BR>
[ok]<BR><BR>
&nbsp;<BR>
Similarly, only the second "Stopping syslog-ng:" comes from the syslog-ng service script.<BR>
&nbsp;<BR>
<BR>&gt; <BR>&gt; What happens if you enter after stopping syslog-ng:<BR>&gt; <BR>&gt; # /etc/init.d/syslog-ng start<BR>&gt; <BR>&gt; Is the output displayed twice by issuing this single command? If it is,<BR>&gt; then it's the init script at fault. Although we're running automated<BR>&gt; tests for the installer, we may not notice that something like this<BR>&gt; happen.<BR>&gt; <BR>
&nbsp;<BR>
No. The service script /etc/init.d/syslog-ng works fine.<BR>
&nbsp;<BR>
Thanks<BR>
Xuan<BR>
<BR>&gt; -- <BR>&gt; Bazsi<BR>&gt; <BR>&gt; ______________________________________________________________________________<BR>&gt; Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng<BR>&gt; Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng<BR>&gt; FAQ: http://www.campin.net/syslog-ng/faq.html<BR>&gt; <BR><BR>                                               <br /><hr />Hotmail: Free, trusted and rich email service. <a href='http://clk.atdmt.com/GBL/go/201469228/direct/01/' target='_new'>Get it now.</a></body>
</html>