Hi, I was wondering whether the 1.4.11 release did really fix the SIGHUP problems many of you encountered? Some feedback would be useful. TIA, -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
i noticed one problem. if the configuration file is broken to the point syslog-ng will not start, HUP does not notice this ie. if you forget a semicolon somewhere kill -HUP syslog-ng-pid works w/o erros but kill syslog-ng-pid and syslog-ng dies... y On Fri, Mar 09, 2001 at 10:01:08AM +0100, Balazs Scheidler wrote: | Hi, | | I was wondering whether the 1.4.11 release did really fix the SIGHUP | problems many of you encountered? Some feedback would be useful. | | TIA, | -- | Bazsi | PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 | | _______________________________________________ | syslog-ng maillist - syslog-ng@lists.balabit.hu | https://lists.balabit.hu/mailman/listinfo/syslog-ng
Bazsi, Really sorry for not giving any feedback, I could have sworn I replied before. Thanks for fixing the bug, guess the backtrace was useful. I have been monitoring syslog-ng and it does seems fine, although it does return two different messages to /var/log/messages: Mar 16 01:00:03 src@lumberjack syslog-ng[5762]: Initializing new configuration failed, reverting to old config. Mar 16 01:00:13 src@lumberjack syslog-ng[5762]: Initializing new configuration failed, reverting to old config. Mar 16 01:00:23 src@lumberjack syslog-ng[5762]: new configuration initialized Mar 16 01:00:33 src@lumberjack syslog-ng[5762]: new configuration initialized Mar 16 01:00:44 src@lumberjack syslog-ng[5762]: new configuration initialized Mar 16 01:00:55 src@lumberjack syslog-ng[5762]: Initializing new configuration failed, reverting to old config. Mar 16 01:01:06 src@lumberjack syslog-ng[5762]: new configuration initialized Mar 16 01:01:17 src@lumberjack syslog-ng[5762]: new configuration initialized Mar 16 01:01:28 src@lumberjack syslog-ng[5762]: Initializing new configuration failed, reverting to old config. Mar 16 01:01:39 src@lumberjack syslog-ng[5762]: Initializing new configuration failed, reverting to old config. Mar 16 01:01:49 src@lumberjack syslog-ng[5762]: new configuration initialized Mar 16 01:02:00 src@lumberjack syslog-ng[5762]: Initializing new configuration failed, reverting to old config. Mar 16 01:02:11 src@lumberjack syslog-ng[5762]: Initializing new configuration failed, reverting to old config. Mar 16 01:02:22 src@lumberjack syslog-ng[5762]: Initializing new configuration failed, reverting to old config. Mar 16 01:02:33 src@lumberjack syslog-ng[5762]: Initializing new configuration failed, reverting to old config. Mar 16 01:02:44 src@lumberjack syslog-ng[5762]: new configuration initialized I assume this is more of an error on my part (I may have a dodgy config) but it is strange that sometimes it says "new configuration initialized" and other times it says "Initializing new configuration failed, reverting to old config.". I've also set a crontab to run every minute (overkill I know) just to check that syslog-ng is running and has not died. Everything seems fine since I installed the updated version of syslog-ng: Fri Mar 16 01:00:00 2001: syslog-ng is running, newsyslog is running. All ok. Fri Mar 16 01:01:00 2001: syslog-ng is running, newsyslog is running. All ok. Fri Mar 16 01:02:00 2001: syslog-ng is running, newsyslog is running. All ok. Fri Mar 16 01:03:00 2001: syslog-ng is running, newsyslog is running. All ok. All the above output is produced while newsyslog is rotating the logfiles. Therefore it is newsyslog that sends SIGHUP. Chris.
participants (3)
-
Balazs Scheidler
-
Chris Pile
-
jon@dumbo.pobox.com