monit-general
[Top][All Lists]
Advanced

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

Re: Monit state file version warning - auto recover/delete bad state fil


From: Lutz Mader
Subject: Re: Monit state file version warning - auto recover/delete bad state file ?
Date: Fri, 24 Jan 2020 21:24:06 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Hello Ani,
are you installing a new version, are you updating some times ago?

> I am running Monit version 5.17.1 on Ubuntu 14.04. At times, I see
> that Monit has logged the following:
> 
> [PST Nov 14 15:42:40] warning  : State file '/var/lib/monit/state':
> incompatible version 2

You can stop monit and delete the monit status file. After you start
monit again, the status file will created again.
If you get the error some times later again, something is going wrong.

With regards,
Lutz

p.s.
See https://mmonit.com/monit/documentation/monit.html#FILES
to get some more information about the used files.

I delete the monit status file all the time I update monit or I kill the
monit process.



reply via email to

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