monit-general
[Top][All Lists]
Advanced

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

Re: MMonit stop error


From: Jan-Henrik Haukeland
Subject: Re: MMonit stop error
Date: Thu, 24 Sep 2020 19:36:02 +0200


> On 24 Sep 2020, at 18:38, Guillaume François <guillaume.francois55@gmail.com> 
> wrote:
> 
> Hello,
> 
> I'm trying to stop MMonit (the collector app) using command shown in the 
> documentation but I'm always hitting an error:
> 
> mmonit@myhost:~$ /usr/share/mmonit/bin/mmonit -d stop
> AssertException: Cannot stop the mmonit process (1) -- Operation not permitted
>  raised in OS_finalize at src/system/OS.c:209
> Aborted
> 
> with mmonit start as user "mmonit" with command from another console (in fact 
> System.D):
> 
> mmonit@myhost:~$ /usr/share/mmonit/mmonit/bin/mmonit -i
> 
> Best regards.

Ah that is a bug. As a workaround until we release a patch, use this command to 
kill mmonit:

kill -SIGTERM $(cat /usr/share/mmonit/mmonit/logs/mmonit.pid)

Hauk




reply via email to

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