<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
I looked both /etc/rc.d/rc3.d and /etc/rc.d/rc5.d, and other rcx.d directories. Only one "S" script for syslog-ng and it's symbolic link to /etc/init.d/syslog-ng. All files under rcx.d directory are symbolic links.<BR>
<BR>
Do you know if the first occurance of "Starting syslog-ng:" or "Stopping syslog-ng:" comes from syslog-ng binary file?<BR>
<BR>
Thanks<BR>
Xuan<BR>
<BR> <BR>> Date: Thu, 18 Feb 2010 11:09:55 -0600<BR>> From: wes.hardin@maxim-ic.com<BR>> To: syslog-ng@lists.balabit.hu<BR>> Subject: Re: [syslog-ng] syslog-ng gets started twice when system reboots<BR>> <BR>> On 02/17/2010 09:59 AM, Xuan Zhong wrote:<BR>> ><BR>> > I use the stable version syslog-ng-3.0.5-1.rhel5.x86_64.rpm downloaded<BR>> > from your website. It starts/stops twice only when the system reboots.<BR>> > The init script is only generated once. The second "Starting syslog-ng:<BR>> > [ok]" was generated by init script because I modified the init script<BR>> > text display and only the second start changed. Not sure where the first<BR>> > 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<BR>> > syslog-ng service script.<BR>> <BR>> Look in /etc/rc.d/rc{3,5}.d for multiple "S" scripts for syslog-ng. Everything <BR>> in the rc?.d directories is typically a symlink to a similarly named script in <BR>> /etc/rc.d/init.d (usually a relative link like ../init.d/script).<BR>> <BR>> If there is a file that isn't a symlink or doesn't link to an initscript in <BR>> /etc/rc.d/init.d, that should be considered suspicious.<BR>> -- <BR>> /* Wes Hardin */<BR>                                            <br /><hr />Hotmail: Trusted email with Microsoft’s powerful SPAM protection. <a href='http://clk.atdmt.com/GBL/go/201469226/direct/01/' target='_new'>Sign up now.</a></body>
</html>