monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monit stops shutdown


From: SZÉPE Viktor
Subject: Re: monit stops shutdown
Date: Tue, 24 Oct 2017 17:37:41 +0200
User-agent: Horde Application Framework 5

In Debian this is the SysVinit script.
Maybe "Should-Stop:       $all" is the cause?
http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html


### BEGIN INIT INFO
# Provides:          monit
# Required-Start:    $remote_fs
# Required-Stop:     $remote_fs
# Should-Start:      $all
# Should-Stop:       $all
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: service and resource monitoring daemon
# Description:       monit is a utility for managing and monitoring
#                    processes, programs, files, directories and filesystems
#                    on a Unix system. Monit conducts automatic maintenance
#                    and repair and can execute meaningful causal actions
#                    in error situations.
### END INIT INFO




Idézem/Quoting Nick Upson <address@hidden>:

the processes that monit controls are fully controlled by monit, so the OS
doesn't touch them

When told to shutdown the OS should stop all services, including monit,
shouldn't it?

On 24 October 2017 at 16:21, Guillaume François <
address@hidden> wrote:

Hello,

Are you using Monit to restart the processes when they "fail" ? If
shutdown process stop them but Monit start them back you'll go into a loop
mostly. Il already encountered this kind of loop.

Anyway, it would be better to stop Monit as part of the shudown process no
?

Best Regards.

2017-10-24 17:16 GMT+02:00 Nick Upson <address@hidden>:

Hi

I have several virtual centos 6.8 x64 VM's with monit-5.14-1.el6.x86_64
installed. I am finding that I can tell a VM to shutdown (either from the
hypervisor or commandline), the standard message is sent and then it
doesn't shutdown. I've waited hours and no shutdown, If I stop monit
however at that point the shutdown proceeds normally.

Has anyone seen this? would a more up-to-date version fix it?

(Oh and its not consistent, sometimes the system does shutdown)


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general




--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d(+) s++:- a C++$ ULC(+)>+++$ !P--- L+>$ !E---? W+++$ !N* !o-- K--?
w(+) !O---? !M- !V--? PS+? !PE Y+ PGP++>+++ !t-- !5 !X- R(+)>++* tv-? b(-)
DI !D- G(+)>+ e+++ h--() r->$ y?*
------END GEEK CODE BLOCK------

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general




SZÉPE Viktor, honlap üzemeltetés
https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
--
+36-20-4242498  address@hidden  skype: szepe.viktor
Budapest, III. kerület







reply via email to

[Prev in Thread] Current Thread [Next in Thread]