You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is a big red error message written out in this case, but you usually can't see it ;)
You can only see it if you run icinga2 in non-daemon mode (start the program by hand in a console and without the -d option).
Even the messages about shutdown/restart:
information/base: Shutting down Icinga...
information/base: Dumping program state to file '/var/lib/icinga2/icinga2.state'
information/icinga: Icinga has shut down.
information/base: Restarting application.
aren't written out into syslog or the file log.
I think the reason is the logging system is being shut down too early:
before every log message received is written out
before new loggers (from the new config) have taken over successfully.
I guess the second point requires some deeper changes. So another idea would be to check the config on SIGHUP first and only start the whole reload procedure if the config check is successful.
This issue has been migrated from Redmine: https://dev.icinga.com/issues/5773
Created by gvegidy on 2014-03-15 22:05:07 +00:00
Assignee: (none)
Status: Closed (closed on 2014-03-19 13:24:30 +00:00)
Target Version: (none)
Last Update: 2014-03-19 13:24:30 +00:00 (in Redmine)
-> icinga is not running anymore due to the syntax error in the config file
That is ok with me.
But there is no message in the syslog that icinga2 has been terminated.
But there is no message in the syslog why icinga2 has been terminated.
I have the syslog-feature enabled with level "warning" (the default).
Relations:
The text was updated successfully, but these errors were encountered: