syslog-ng gets started twice when system reboots
I am using syslog-ng-3.0.5 RHEL5 x86. After the installation and rebooting the system: Starting syslog-ng: Starting syslog-ng: [ OK ] [ OK ] Does anyone know why syslog-ng gets started twice after reboot? Thanks Xuan _________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/201469229/direct/01/
Run chkconfig syslog-ng, see if its on for run levels 3 through 5, I would guess run level 4 is set to off. That or your init script is being called twice. On 2/16/10, Xuan Zhong <xuan_zhong@hotmail.com> wrote:
I am using syslog-ng-3.0.5 RHEL5 x86. After the installation and rebooting the system:
Starting syslog-ng: Starting syslog-ng: [ OK ] [ OK ]
Does anyone know why syslog-ng gets started twice after reboot?
Thanks
Xuan
_________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/201469229/direct/01/
-- Sent from my mobile device
The chkconfig result is: syslog-ng 0:off 1:off 2:on 3:on 4:on 5:on 6:off Can you tell me what to do to make syslog-ng run only once? Thanks Xuan
Date: Tue, 16 Feb 2010 20:23:25 -0700 From: david.l.rice@gmail.com To: syslog-ng@lists.balabit.hu Subject: Re: [syslog-ng] syslog-ng gets started twice when system reboots
Run chkconfig syslog-ng, see if its on for run levels 3 through 5, I would guess run level 4 is set to off. That or your init script is being called twice.
On 2/16/10, Xuan Zhong <xuan_zhong@hotmail.com> wrote:
I am using syslog-ng-3.0.5 RHEL5 x86. After the installation and rebooting the system:
Starting syslog-ng: Starting syslog-ng: [ OK ] [ OK ]
Does anyone know why syslog-ng gets started twice after reboot?
Thanks
Xuan
_________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/201469229/direct/01/
-- Sent from my mobile device ______________________________________________________________________________ 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
_________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/201469227/direct/01/
I tried to turn on syslog-ng only at level 3. syslog-ng still got started twice when system rebooted. Any suggestions? Thanks Xuan From: xuan_zhong@hotmail.com To: syslog-ng@lists.balabit.hu Date: Wed, 17 Feb 2010 03:29:04 +0000 Subject: Re: [syslog-ng] syslog-ng gets started twice when system reboots The chkconfig result is: syslog-ng 0:off 1:off 2:on 3:on 4:on 5:on 6:off Can you tell me what to do to make syslog-ng run only once? Thanks Xuan
Date: Tue, 16 Feb 2010 20:23:25 -0700 From: david.l.rice@gmail.com To: syslog-ng@lists.balabit.hu Subject: Re: [syslog-ng] syslog-ng gets started twice when system reboots
Run chkconfig syslog-ng, see if its on for run levels 3 through 5, I would guess run level 4 is set to off. That or your init script is being called twice.
On 2/16/10, Xuan Zhong <xuan_zhong@hotmail.com> wrote:
I am using syslog-ng-3.0.5 RHEL5 x86. After the installation and rebooting the system:
Starting syslog-ng: Starting syslog-ng: [ OK ] [ OK ]
Does anyone know why syslog-ng gets started twice after reboot?
Thanks
Xuan
_________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/201469229/direct/01/
-- Sent from my mobile device ______________________________________________________________________________ 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
Hotmail: Trusted email with powerful SPAM protection. Sign up now. _________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/201469227/direct/01/
On Wed, 2010-02-17 at 04:03 +0000, Xuan Zhong wrote:
I tried to turn on syslog-ng only at level 3. syslog-ng still got started twice when system rebooted.
Are you using the binaries downloaded from our website? Are you sure it starts twice, or it is just the output of the init script that is generated twice? What happens if you enter after stopping syslog-ng: # /etc/init.d/syslog-ng start Is the output displayed twice by issuing this single command? If it is, then it's the init script at fault. Although we're running automated tests for the installer, we may not notice that something like this happen. -- Bazsi
Please see my response inline.
From: bazsi@balabit.hu To: syslog-ng@lists.balabit.hu Date: Wed, 17 Feb 2010 16:30:34 +0100 Subject: Re: [syslog-ng] syslog-ng gets started twice when system reboots
On Wed, 2010-02-17 at 04:03 +0000, Xuan Zhong wrote:
I tried to turn on syslog-ng only at level 3. syslog-ng still got started twice when system rebooted.
Are you using the binaries downloaded from our website? Are you sure it starts twice, or it is just the output of the init script that is generated twice?
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. Starting syslog-ng: Starting syslog-ng: [ok] [ok] When the system shuts down, I saw the following: Stopping syslog-ng: Stopping syslog-ng: [ok] [ok] Similarly, only the second "Stopping syslog-ng:" comes from the syslog-ng service script.
What happens if you enter after stopping syslog-ng:
# /etc/init.d/syslog-ng start
Is the output displayed twice by issuing this single command? If it is, then it's the init script at fault. Although we're running automated tests for the installer, we may not notice that something like this happen.
No. The service script /etc/init.d/syslog-ng works fine. Thanks Xuan
-- Bazsi
______________________________________________________________________________ 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
_________________________________________________________________ Hotmail: Free, trusted and rich email service. http://clk.atdmt.com/GBL/go/201469228/direct/01/
On Wed, Feb 17, 2010 at 03:59:51PM +0000, Xuan Zhong wrote:
Please see my response inline.
From: bazsi@balabit.hu To: syslog-ng@lists.balabit.hu Date: Wed, 17 Feb 2010 16:30:34 +0100 Subject: Re: [syslog-ng] syslog-ng gets started twice when system reboots
On Wed, 2010-02-17 at 04:03 +0000, Xuan Zhong wrote:
I tried to turn on syslog-ng only at level 3. syslog-ng still got started twice when system rebooted.
Are you using the binaries downloaded from our website? Are you sure it starts twice, or it is just the output of the init script that is generated twice?
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.
Starting syslog-ng: Starting syslog-ng: [ok] [ok]
When the system shuts down, I saw the following: Stopping syslog-ng: Stopping syslog-ng: [ok] [ok]
Similarly, only the second "Stopping syslog-ng:" comes from the syslog-ng service script.
What happens if you enter after stopping syslog-ng:
# /etc/init.d/syslog-ng start
Is the output displayed twice by issuing this single command? If it is, then it's the init script at fault. Although we're running automated tests for the installer, we may not notice that something like this happen.
No. The service script /etc/init.d/syslog-ng works fine. Could you please run the init script this way: sh -x /etc/init.d/syslog-ng start or bash -x /etc/init.d/syslog-ng start
and send the output? The simplest way will be to run the commands in script(1) shell and send it outputfile (typescript by default). Thanks, -- Pal Tamas/Folti folti@balabit.hu
participants (4)
-
Balazs Scheidler
-
David Rice
-
Pal Tamas
-
Xuan Zhong