1

Topic: Problem of Dovecot in Monit's logfile

After I started to use Monit to monitoring iredmail.

I found that the log file showing dovecot not so well and restarted by Monit.

I have check the config. of Monit without any problem. What problem ?

[HKT Jan 25 12:45:52] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 25 12:45:52] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 25 12:45:52] info     : 'dovecot' trying to restart
[HKT Jan 25 12:45:52] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 25 12:45:53] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 25 12:46:54] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 25 13:35:21] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 25 13:35:21] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 25 13:35:21] info     : 'dovecot' trying to restart
[HKT Jan 25 13:35:21] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 25 13:35:22] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 25 13:36:23] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 25 21:36:59] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 25 21:36:59] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 25 21:36:59] info     : 'dovecot' trying to restart
[HKT Jan 25 21:36:59] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 25 21:37:00] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 25 21:38:01] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 25 22:48:40] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 25 22:48:40] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 25 22:48:40] info     : 'dovecot' trying to restart
[HKT Jan 25 22:48:40] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 25 22:48:41] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 25 22:49:42] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 25 23:31:06] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 25 23:31:06] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 25 23:31:06] info     : 'dovecot' trying to restart
[HKT Jan 25 23:31:06] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 25 23:31:07] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 25 23:32:07] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 26 00:14:31] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 26 00:14:31] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 26 00:14:31] info     : 'dovecot' trying to restart
[HKT Jan 26 00:14:31] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 26 00:14:32] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 26 00:15:33] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 26 01:08:02] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 26 01:08:02] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 26 01:08:02] info     : 'dovecot' trying to restart
[HKT Jan 26 01:08:02] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 26 01:08:03] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 26 01:09:03] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 26 07:20:34] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 26 07:20:34] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 26 07:20:34] info     : 'dovecot' trying to restart
[HKT Jan 26 07:20:34] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 26 07:20:35] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 26 07:21:35] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 26 10:02:05] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 26 10:02:05] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 26 10:02:05] info     : 'dovecot' trying to restart
[HKT Jan 26 10:02:05] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 26 10:02:06] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 26 10:03:07] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 26 13:02:52] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 26 13:02:52] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 26 13:02:52] info     : 'dovecot' trying to restart
[HKT Jan 26 13:02:52] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 26 13:02:53] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 26 13:03:54] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 26 17:34:34] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 26 17:34:34] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 26 17:34:34] info     : 'dovecot' trying to restart
[HKT Jan 26 17:34:34] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 26 17:34:35] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 26 17:35:36] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 26 18:18:00] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 26 18:18:00] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 26 18:18:00] info     : 'dovecot' trying to restart
[HKT Jan 26 18:18:00] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 26 18:18:01] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 26 18:19:01] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 26 18:24:04] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 26 18:24:04] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 26 18:24:04] info     : 'dovecot' trying to restart
[HKT Jan 26 18:24:04] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 26 18:24:05] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 26 18:25:06] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 27 00:24:36] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 27 00:24:36] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 27 00:24:36] info     : 'dovecot' trying to restart
[HKT Jan 27 00:24:36] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 27 00:24:37] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 27 00:25:38] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 27 00:55:56] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 27 00:55:56] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 27 00:55:56] info     : 'dovecot' trying to restart
[HKT Jan 27 00:55:56] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 27 00:55:57] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 27 00:56:58] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 27 02:13:42] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 27 02:13:42] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 27 02:13:42] info     : 'dovecot' trying to restart
[HKT Jan 27 02:13:42] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 27 02:13:43] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 27 02:14:44] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 27 05:27:38] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 27 05:27:38] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 27 05:27:38] info     : 'dovecot' trying to restart
[HKT Jan 27 05:27:38] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 27 05:27:39] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 27 05:28:40] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 27 06:18:09] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 27 06:18:09] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 27 06:18:09] info     : 'dovecot' trying to restart
[HKT Jan 27 06:18:09] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 27 06:18:10] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 27 06:19:10] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL

2 (edited by hoho 2010-01-29 10:41:54)

Re: Problem of Dovecot in Monit's logfile

Now the service of dovecot is death "Execution failed" and cannot be restarted manually and the webmail service does not work because dovecot cause IMAP stop working

I am not sure the reason but I this problem happen after installation of Monit. I may try to stop it and wait for few day to see this case occur or not.

[HKT Jan 27 00:56:58] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 27 02:13:42] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 27 02:13:42] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 27 02:13:42] info     : 'dovecot' trying to restart
[HKT Jan 27 02:13:42] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 27 02:13:43] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 27 02:14:44] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 27 05:27:38] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 27 05:27:38] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 27 05:27:38] info     : 'dovecot' trying to restart
[HKT Jan 27 05:27:38] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 27 05:27:39] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 27 05:28:40] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 27 06:18:09] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 27 06:18:09] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 27 06:18:09] info     : 'dovecot' trying to restart
[HKT Jan 27 06:18:09] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 27 06:18:10] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 27 06:19:10] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 27 12:16:40] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 27 12:16:40] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 27 12:16:40] info     : 'dovecot' trying to restart
[HKT Jan 27 12:16:40] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 27 12:16:41] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 27 12:17:42] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 27 17:19:42] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 27 17:19:42] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 27 17:19:42] info     : 'dovecot' trying to restart
[HKT Jan 27 17:19:42] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 27 17:19:43] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 27 17:20:44] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 27 22:43:48] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 27 22:43:48] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 27 22:43:48] info     : 'dovecot' trying to restart
[HKT Jan 27 22:43:48] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 27 22:43:49] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 27 22:44:49] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 27 22:50:54] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 27 22:50:54] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 27 22:50:54] info     : 'dovecot' trying to restart
[HKT Jan 27 22:50:54] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 27 22:50:55] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 27 22:51:55] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 28 08:38:36] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 28 08:38:36] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 28 08:38:36] info     : 'dovecot' trying to restart
[HKT Jan 28 08:38:36] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 28 08:38:37] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 28 08:39:37] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 28 11:39:24] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 28 11:39:24] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 28 11:39:24] info     : 'dovecot' trying to restart
[HKT Jan 28 11:39:24] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 28 11:39:25] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 28 11:40:26] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 28 15:01:25] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 28 15:01:25] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 28 15:01:25] info     : 'dovecot' trying to restart
[HKT Jan 28 15:01:25] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 28 15:01:26] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 28 15:02:27] info     : 'dovecot' connection passed to INET[localhost:993] via TCPSSL
[HKT Jan 28 18:52:47] error    : IMAP error: * OK Waiting for authentication process to respond..
[HKT Jan 28 18:52:47] error    : 'dovecot' failed protocol test [IMAP] at INET[localhost:993] via TCPSSL
[HKT Jan 28 18:52:47] info     : 'dovecot' trying to restart
[HKT Jan 28 18:52:47] info     : 'dovecot' stop: /etc/init.d/dovecot
[HKT Jan 28 18:52:48] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 28 18:53:49] error    : 'dovecot' failed to start
[HKT Jan 28 18:53:49] error    : 'dovecot' process is not running
[HKT Jan 28 18:53:49] info     : 'dovecot' trying to restart
[HKT Jan 28 18:53:49] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 28 18:54:49] error    : 'dovecot' failed to start
[HKT Jan 28 18:54:49] error    : 'dovecot' process is not running
[HKT Jan 28 18:54:49] info     : 'dovecot' trying to restart
[HKT Jan 28 18:54:49] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 28 18:55:49] error    : 'dovecot' failed to start
[HKT Jan 28 18:55:50] error    : 'dovecot' process is not running
[HKT Jan 28 18:55:50] info     : 'dovecot' trying to restart
[HKT Jan 28 18:55:50] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 28 18:56:50] error    : 'dovecot' process is not running
[HKT Jan 28 18:56:50] info     : 'dovecot' trying to restart
[HKT Jan 28 18:56:50] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 28 18:56:50] error    : 'dovecot' failed to start
[HKT Jan 28 18:57:51] error    : 'dovecot' failed to start
[HKT Jan 28 18:57:51] error    : 'dovecot' service timed out and will not be checked anymore
[HKT Jan 29 10:19:08] info     : restart service 'dovecot' on user request
[HKT Jan 29 10:19:08] info     : Awakened by User defined signal 1
[HKT Jan 29 10:19:08] info     : 'dovecot' trying to restart
[HKT Jan 29 10:19:08] info     : monit daemon at 19811 awakened
[HKT Jan 29 10:19:08] info     : 'dovecot' start: /etc/init.d/dovecot
[HKT Jan 29 10:19:32] info     : stop service 'dovecot' on user request
[HKT Jan 29 10:19:32] info     : monit daemon at 19811 awakened
[HKT Jan 29 10:19:32] info     : Awakened by User defined signal 1
[HKT Jan 29 10:20:08] error    : 'dovecot' failed to start
[HKT Jan 29 10:20:46] info     : start service 'dovecot' on user request
[HKT Jan 29 10:20:46] info     : monit daemon at 19811 awakened

3

Re: Problem of Dovecot in Monit's logfile

You need to manually kill all dovecot processes still running. I also suggest you don't use monit, I know from my own experience it can cause huge problems if not properly configured.