[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [monit-dev] Unable to read magic
From: |
Martin Pala |
Subject: |
Re: [monit-dev] Unable to read magic |
Date: |
Tue, 5 Feb 2013 11:47:23 +0100 |
It's safe to ignore the empty statefile file - monit overwrites it with valid
data.
Regards,
Martin
On Feb 5, 2013, at 10:20 AM, Sergey B Kirpichev <address@hidden> wrote:
> On Mon, Feb 04, 2013 at 10:58:05PM +0100, Martin Pala wrote:
>> yet one note - the error is logged also when monit starts for the first time
>> (this is minor bug, we'll fix) ... the error can be ignored, monit works
>> normally even if the state wasn't read.
>
> Yes, I mean exactly this case. But I'm just not sure if it's really
> safe to ignore this file with empty content (as does your patch).
>
> May be we can emit a warning?
>
> _______________________________________________
> monit-dev mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/monit-dev