[syslog-ng] supervise/syslog-ng exits

Kārlis Repsons repsons at gmail.com
Wed Dec 16 11:59:14 CET 2009


On Tuesday 15 December 2009 13:26:56 Balazs Scheidler wrote:
> On Mon, 2009-12-14 at 17:43 +0000, Kārlis Repsons wrote:
> > On Monday 14 December 2009 07:07:37 Balazs Scheidler wrote:
> > > On Fri, 2009-12-11 at 19:11 +0000, Kārlis Repsons wrote:
> > > > People,
> > > >
> > > > I wonder why is there some two messages like this in errors log each
> > > > day: supervise/syslog-ng[28806]: Daemon exited gracefully, not
> > > > restarting; exitcode='0'
> > > >
> > > > ?
> > > >
> > > > What are the possible reasons and what should be done?
> > >
> > > something has stopped syslog-ng. if it is intended, nothing needs to be
> > > done, if it isn't, then you need to find out what stops syslog-ng.
> > >
> > > the exitcode of 0 means that it was an intentional stop, not an abort
> > > or a segfault.
> >
> > Is it necessarily syslog-ng itself? I have a problematic errors reporting
> > script connected to syslog-ng as a destination, maybe it exits and causes
> > this? Otherwise I wouldn't like this a lot, because just a minute ago was
> > "exit 0", but when I look, syslog-ng is working just fine... And no
> > stop/start of syslog-ng is logged. And that script WAS restarted.
> > Ok, at this point, I presume, its that script, which causes it...
> 
> The supervisor should only print this log message if syslog-ng itself
> has finished. Can you confirm that this is not the case?
IF my grsec kernel can't be hacked (or nobody did it, which is also credible) 
to stop a process, then restart it with the same pid (can process choose its 
pid in any way?);
AND IF nobody hacked my logfiles (which is indeed uneasy to do);
THEN considering, that pid of syslong-ng hasn't changed ever since it was 
started with it (according to logfile), but the exit 0 messages has occured 
several times since that --
I can confirm it.

Or what, crazy world and aliens live in my server?!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20091216/4cc47d3c/attachment.pgp 


More information about the syslog-ng mailing list