The problem is, that the statefile and idfile are placed in the event
queue directory. The error message is emitted when Monit tries to
process content of event queue ... it opens each file in that
directory and if it's not valid stored event, it reports error, skips
this file and continues with another entries.
=> the error is non-critical - Monit works correctly including idfile
and statefile ... in order to stop the error messages just set the
idfile and statefile location to different directory and (re)move the
old files.
Martin
On Sep 13, 2009, at 11:33 PM, Len Conrad wrote:
please can you send the .monit.id file?
[ Sep 13 16:30:44] info : monit HTTP server started
[ Sep 13 16:30:44] info : '127.0.0.1' Monit started
[ Sep 13 16:31:05] error : skipping /var/db/monit/.monit.id -
unknown data format
cat /var/db/monit/.monit.id
7bbfc1be92b5cb4e3a6292591926ef9f
Len
Thank you,
Martin
On Sep 11, 2009, at 11:01 PM, Len Conrad wrote:
monit 5.0.3
I saw these errog log lines
[ Sep 11 13:50:38] info : monit HTTP server started
[ Sep 11 13:50:38] info : '127.0.0.1' Monit started
[ Sep 11 13:50:59] error : Aborting event /var/db/
monit/.monit.state - invalid size 23
[ Sep 11 13:50:59] error : skipping /var/db/monit/.monit.id -
unknown data format
so stopped monit, deleted both files, started monit.
Still have a problem:
[ Sep 11 13:59:21] info : '127.0.0.1' Monit stopped
[ Sep 11 13:59:31] info : monit: generated unique Monit id
540f31be2dfc3cf4aff198122811949c and stored to '/var/db/
monit/.monit.id'
[ Sep 11 13:59:31] info : Starting monit daemon with http
interface at [--------:2812]
[ Sep 11 13:59:31] info : Starting monit HTTP server at
[----------:2812]
[ Sep 11 13:59:31] info : monit HTTP server started
[ Sep 11 13:59:31] info : '127.0.0.1' Monit started
[ Sep 11 13:59:51] error : skipping /var/db/monit/.monit.id -
unknown data format
Len
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
______________________________________________
IMGate OpenSource Mail Firewall www.IMGate.net
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general