<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> <BR>
> From: bazsi@balabit.hu<BR>> To: syslog-ng@lists.balabit.hu<BR>> Date: Wed, 17 Feb 2010 16:30:34 +0100<BR>> Subject: Re: [syslog-ng] syslog-ng gets started twice when system reboots<BR>> <BR>> On Wed, 2010-02-17 at 04:03 +0000, Xuan Zhong wrote:<BR>> > I tried to turn on syslog-ng only at level 3. syslog-ng still<BR>> > got started twice when system rebooted.<BR>> > <BR>> <BR>> Are you using the binaries downloaded from our website? Are you sure it<BR>> starts twice, or it is just the output of the init script that is<BR>> generated twice?<BR>
<BR>
<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>
<BR>
Starting syslog-ng: Starting syslog-ng: [ok]<BR>
[ok]<BR><BR>
<BR>
When the system shuts down, I saw the following:<BR>
Stopping syslog-ng: Stopping syslog-ng: [ok]<BR>
[ok]<BR><BR>
<BR>
Similarly, only the second "Stopping syslog-ng:" comes from the syslog-ng service script.<BR>
<BR>
<BR>> <BR>> What happens if you enter after stopping syslog-ng:<BR>> <BR>> # /etc/init.d/syslog-ng start<BR>> <BR>> Is the output displayed twice by issuing this single command? If it is,<BR>> then it's the init script at fault. Although we're running automated<BR>> tests for the installer, we may not notice that something like this<BR>> happen.<BR>> <BR>
<BR>
No. The service script /etc/init.d/syslog-ng works fine.<BR>
<BR>
Thanks<BR>
Xuan<BR>
<BR>> -- <BR>> Bazsi<BR>> <BR>> ______________________________________________________________________________<BR>> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng<BR>> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng<BR>> FAQ: http://www.campin.net/syslog-ng/faq.html<BR>> <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>