Caught SIGTERM, shutting down
Posted: Wed May 27, 2015 10:49 am
I'm working on an upgrade (well, re-install) from 3.5 to 4.0.8. Everything seems to be fine, but all of a sudden Nagios is crashing or being killed.
From nagios.log:
[1432740780] Nagios 4.0.8 starting... (PID=21873)
[1432740780] Local time is Wed May 27 15:33:00 GMT 2015
[1432740780] LOG VERSION: 2.0
[1432740780] qh: Socket '/var/nagios/rw/nagios.qh' successfully initialized
[1432740780] qh: core query handler registered
[1432740780] nerd: Channel hostchecks registered successfully
[1432740780] nerd: Channel servicechecks registered successfully
[1432740780] nerd: Channel opathchecks registered successfully
[1432740780] nerd: Fully initialized and ready to rock!
[1432740780] wproc: Successfully registered manager as @wproc with query handler
[1432740780] wproc: Registry request: name=Core Worker 21878;pid=21878
[1432740780] wproc: Registry request: name=Core Worker 21876;pid=21876
[1432740780] wproc: Registry request: name=Core Worker 21877;pid=21877
[1432740780] wproc: Registry request: name=Core Worker 21875;pid=21875
[1432740780] Successfully launched command file worker with pid 21879
[1432741202] Caught SIGTERM, shutting down...
[1432741202] Caught SIGTERM, shutting down...
[1432741202] Successfully shutdown... (PID=21873)
[1432741202] Event broker module 'NERD' deinitialized successfully.
I enabled debug mode, and didn't see much more:
[1432741201.662290] [016.1] [pid=21873] Host is not flapping (0.00% state change).
[1432741201.662304] [12288.1] [pid=21873] ## Polling 811ms; sockets=6; events=388; iobs=0x90d110
[1432741202.015112] [064.1] [pid=21873] Making callbacks (type 2)...
[1432741202.015150] [001.0] [pid=21873] event_execution_loop() end
[1432741202.015240] [064.1] [pid=21873] Making callbacks (type 0)...
[1432741202.015254] [064.1] [pid=21873] Making callbacks (type 0)...
[1432741202.015262] [064.1] [pid=21873] Making callbacks (type 19)...
[1432741202.015270] [001.0] [pid=21873] xrddefault_save_state_information()
[1432741202.110019] [064.1] [pid=21873] Making callbacks (type 19)...
[1432741202.111746] [064.1] [pid=21873] Making callbacks (type 2)...
[1432741202.111762] [064.0] [pid=21873] Attempting to unload module 'NERD': flags=1, reason=1
[1432741202.111780] [064.0] [pid=21873] Module 'NERD' unloaded successfully.
[1432741202.112611] [001.0] [pid=21873] clear_volatile_macros_r()
Any thoughts?
From nagios.log:
[1432740780] Nagios 4.0.8 starting... (PID=21873)
[1432740780] Local time is Wed May 27 15:33:00 GMT 2015
[1432740780] LOG VERSION: 2.0
[1432740780] qh: Socket '/var/nagios/rw/nagios.qh' successfully initialized
[1432740780] qh: core query handler registered
[1432740780] nerd: Channel hostchecks registered successfully
[1432740780] nerd: Channel servicechecks registered successfully
[1432740780] nerd: Channel opathchecks registered successfully
[1432740780] nerd: Fully initialized and ready to rock!
[1432740780] wproc: Successfully registered manager as @wproc with query handler
[1432740780] wproc: Registry request: name=Core Worker 21878;pid=21878
[1432740780] wproc: Registry request: name=Core Worker 21876;pid=21876
[1432740780] wproc: Registry request: name=Core Worker 21877;pid=21877
[1432740780] wproc: Registry request: name=Core Worker 21875;pid=21875
[1432740780] Successfully launched command file worker with pid 21879
[1432741202] Caught SIGTERM, shutting down...
[1432741202] Caught SIGTERM, shutting down...
[1432741202] Successfully shutdown... (PID=21873)
[1432741202] Event broker module 'NERD' deinitialized successfully.
I enabled debug mode, and didn't see much more:
[1432741201.662290] [016.1] [pid=21873] Host is not flapping (0.00% state change).
[1432741201.662304] [12288.1] [pid=21873] ## Polling 811ms; sockets=6; events=388; iobs=0x90d110
[1432741202.015112] [064.1] [pid=21873] Making callbacks (type 2)...
[1432741202.015150] [001.0] [pid=21873] event_execution_loop() end
[1432741202.015240] [064.1] [pid=21873] Making callbacks (type 0)...
[1432741202.015254] [064.1] [pid=21873] Making callbacks (type 0)...
[1432741202.015262] [064.1] [pid=21873] Making callbacks (type 19)...
[1432741202.015270] [001.0] [pid=21873] xrddefault_save_state_information()
[1432741202.110019] [064.1] [pid=21873] Making callbacks (type 19)...
[1432741202.111746] [064.1] [pid=21873] Making callbacks (type 2)...
[1432741202.111762] [064.0] [pid=21873] Attempting to unload module 'NERD': flags=1, reason=1
[1432741202.111780] [064.0] [pid=21873] Module 'NERD' unloaded successfully.
[1432741202.112611] [001.0] [pid=21873] clear_volatile_macros_r()
Any thoughts?