Control: found -1 1:5.20.0-4 Hi,
On 2017-01-09 15:02:11 +0300, Sergey Kirpichev wrote: > On Wed, Oct 5, 2016 at 12:09 PM, Vincent Lefevre <vinc...@vinc17.net> wrote: > > [CEST Sep 19 19:10:11] info : Adding event to the queue file > > /var/lib/monit/events/1474305011_1bbbd00 for later delivery > > [CEST Sep 19 19:12:11] error : Queued event file: unable to read event > > size -- end of file > > [...] > > > > At reload, everything is fine. Then one gets some errors during a reboot > > as Monit cannot connect to the mailserver at this time, which is normal > > since the mail server has been stopped before Monit. This is not a > > problem, as I will receive the mail after the reboot. The problem is > > the "Queued event file: unable to read event size -- end of file" errors > > every 2 minutes after the reboot, which fill my log file. > > Can you check permissions on events dir & file? root@zira:/home/vinc17# ls -l /var/lib/monit total 12 drwx------ 2 root root 4096 2017-01-06 18:16:28 events -rw-r--r-- 1 root root 32 2015-07-07 13:17:34 id -rw------- 1 root root 768 2017-01-09 13:21:03 state root@zira:/home/vinc17# ls -l /var/lib/monit/events total 0 -rw-r--r-- 1 root root 0 2015-07-25 17:15:17 1437837317_12a1a40 -rw-r--r-- 1 root root 0 2016-12-23 10:51:02 1482486662_5640726e2fa0 > If possible, please check new sid's version. Same problem: [...] [CET Jan 9 13:17:03] error : Queued event file: unable to read event size -- end of file [CET Jan 9 13:17:03] error : Queued event file: unable to read event size -- end of file [CET Jan 9 13:19:03] error : Queued event file: unable to read event size -- end of file [CET Jan 9 13:19:03] error : Queued event file: unable to read event size -- end of file [CET Jan 9 13:21:03] error : Queued event file: unable to read event size -- end of file [CET Jan 9 13:21:03] error : Queued event file: unable to read event size -- end of file [CET Jan 9 13:23:03] error : Queued event file: unable to read event size -- end of file [CET Jan 9 13:23:03] error : Queued event file: unable to read event size -- end of file > > the mail server has been stopped before Monit > > This shouldn't be. Monit must be stopped first by init script (and > started last, by the way). That's - package default. Apparently not: there are lots of services stopped before monit. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)