Hi,
I have the following log, happened only once and not able to recreate this. Did the following
1. I have stopped set of resources,
2. removed the corresponding config files under /etc/monit/conf.d
3. ran monit reload
The step 3, somehow exited the monit daemon from running. (This exactly looked like it received SIGINT or SIGTERM, we have not explicitly killed this at this time)
This timed exactl during the reload.
Any help in here is much appreciated.
The snippet of the log is
……….
[IDT May 16 18:46:25] info : 'resource1’ stop on user request
[IDT May 16 18:46:25] info : monit daemon with PID 2549 awakened
[IDT May 16 18:46:25] info : Awakened by User defined signal 1
[IDT May 16 18:46:25] info : 'resource2’ stop on user request
[IDT May 16 18:46:25] info : monit daemon with PID 2549 awakened
[IDT May 16 18:46:25] info : 'resource3’ stop on user request
[IDT May 16 18:46:25] info : monit daemon with PID 2549 awakened
[IDT May 16 18:46:25] info : ‘resource4’ stop on user request
[IDT May 16 18:46:25] info : monit daemon with PID 2549 awakened
[IDT May 16 18:46:25] info : ‘resource1’ stop: /sbin/start-stop-daemon
[IDT May 16 18:46:25] info : 'resource1’ stop action done
[IDT May 16 18:46:25] info : 'resource2’ stop: /sbin/start-stop-daemon
[IDT May 16 18:46:25] info : ‘resource2’ stop action done
[IDT May 16 18:46:25] info : ‘resource3’ stop: /sbin/start-stop-daemon
[IDT May 16 18:46:25] info : resource3’ stop action done
[IDT May 16 18:46:25] info : ‘resource4’ stop: /sbin/start-stop-daemon
[IDT May 16 18:46:25] error : ‘resource4’ failed to stop
[IDT May 16 18:46:25] info : ‘resource4’ stop action done
[IDT May 16 18:46:25] info : Reinitializing monit daemon
[IDT May 16 18:46:25] info : Awakened by User defined signal 1
[IDT May 16 18:46:25] info : Shutting down monit HTTP server
[IDT May 16 18:46:25] info : monit HTTP server stopped
[IDT May 16 18:46:25] info : monit daemon with pid [2549] killed ß-------------------- No clue how ?
[IDT May 16 18:46:25] info : 'test-server -2' Monit stopped
……..
The monit package I am using is
ii monit 1:5.6-2 amd64 utility for monitoring and managing daemons or similar programs
Thanks
-kiru