imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
Alex
alex at jili.ga
Wed Oct 24 10:56:17 EEST 2018
Nothing, the same error
Oct 24 10:11:16 server dovecot:
imap(email at example.com)<82402><Nhu9MPR4KuaASO/q>: Error: kevent(-1) for
notify remove failed: Bad file descriptor
Oct 24 10:11:16 server dovecot:
imap(email at example.com)<82402><Nhu9MPR4KuaASO/q>: Error: close(-1) for
notify remove failed: Bad file descriptor
Oct 24 10:11:16 server dovecot: imap-hibernate: Error: Failed to parse
client input: Invalid peer_dev_minor value: 18446744073709486335
Oct 24 10:11:16 server dovecot:
imap(email at example.com)<82402><Nhu9MPR4KuaASO/q>: Error:
/var/run/dovecot/imap-hibernate returned failure: Failed to parse client
input: Invalid peer_dev_minor value: 18446744073709486335
Oct 24 10:11:16 server dovecot: imap: Error:
mail_debug = yes
verbose_proctitle=yes
How I can view more debug information for imap-hibernate ?
Alex писал 2018-10-23 11:01:
> Yes, but my configuration is FreeBSD 10.4 and ZFS
> I\\\'ll try to reconfigure.
>
>
> Thanks
>
>
> Aki Tuomi писал 2018-10-23 10:48:
>> I tested with FreeBSD 11 and it worked just fine... did you follow
>> https://wiki.dovecot.org/IMAPServer/Hibernation this to set it up?
>>
>> Aki
>>
>>> On 23 October 2018 at 10:15 Alex <alex at jili.ga> wrote:
>>>
>>>
>>> Aki, is it configuration error or dovecot bug ?
>>> Can I use imap-hibernate on FreeBSD ?
>>>
>>>
>>>
>>> Alex писал 2018-10-19 10:31:
>>> > Yes,
>>> >
>>> > After I changed mode and user/group
>>> >
>>> > Oct 18 19:17:50 server dovecot:
>>> > imap(email at example.com)<57613><VVXuZ4N4avOASO/q>: Error: kevent(-1)
>>> > for notify remove fail
>>> > ed: Bad file descriptor
>>> > Oct 18 19:17:50 server dovecot:
>>> > imap(email at example.com)<57613><VVXuZ4N4avOASO/q>: Error: close(-1) for
>>> > notify remove failed: Bad file descriptor
>>> > Oct 18 19:17:50 server dovecot:
>>> > imap(email at example.com)<57613><VVXuZ4N4avOASO/q>: Error:
>>> > net_connect_unix(/var/run/dovecot/imap-hibernate) failed: Permission
>>> > denied
>>> >
>>> >
>>> >
>>> > All time this error:
>>> >
>>> > Oct 18 19:28:48 server dovecot:
>>> > imap(email at example.com)<53735><ZbKQR4N4DvOASO/q>: Error: kevent(-1)
>>> > for notify remove failed: Bad file descriptor
>>> > Oct 18 19:28:48 server dovecot:
>>> > imap(email at example.com)<53735><ZbKQR4N4DvOASO/q>: Error: close(-1) for
>>> > notify remove failed: Bad file descriptor
>>> > Oct 18 19:28:48 server dovecot:
>>> > imap(email at example.com)<53735><ZbKQR4N4DvOASO/q>: Error:
>>> > /var/run/dovecot/imap-hibernate returned failure: Failed to parse
>>> > client input: Invalid peer_dev_minor value: 18446744073709486335
>>> > Oct 18 19:28:48 server dovecot: imap: Error:
>>> > Oct 18 19:28:48 server dovecot: imap-hibernate: Error: Failed to parse
>>> > client input: Invalid peer_dev_minor value: 18446744073709486335
>>> > --
>>> > Oct 18 20:37:11 server dovecot:
>>> > imap(email at example.com)<80384><Af9CPIR4Vi0iwVKY>: Error: kevent(-1)
>>> > for notify remove failed: Bad file descriptor
>>> > Oct 18 20:37:11 server dovecot:
>>> > imap(email at example.com)<80384><Af9CPIR4Vi0iwVKY>: Error: close(-1) for
>>> > notify remove failed: Bad file descriptor
>>> > Oct 18 20:37:11 server dovecot: imap-hibernate: Error: Failed to parse
>>> > client input: Invalid peer_dev_minor value: 18446744073709486335
>>> > Oct 18 20:37:11 server dovecot:
>>> > imap(email at example.com)<80384><Af9CPIR4Vi0iwVKY>: Error:
>>> > /var/run/dovecot/imap-hibernate returned failure: Failed to parse
>>> > client input: Invalid peer_dev_minor value: 18446744073709486335
>>> > --
>>> > Oct 18 21:42:19 server dovecot:
>>> > imap(email at example.com)<4731><xGsiJYV4XOaASO/q>: Error: kevent(-1) for
>>> > notify remove failed: Bad file descriptor
>>> > Oct 18 21:42:19 server dovecot:
>>> > imap(email at example.com)<4731><xGsiJYV4XOaASO/q>: Error: close(-1) for
>>> > notify remove failed: Bad file descriptor
>>> > Oct 18 21:42:19 server dovecot: imap-hibernate: Error: Failed to parse
>>> > client input: Invalid peer_dev_minor value: 18446744073709486335
>>> > Oct 18 21:42:19 server dovecot:
>>> > imap(email at example.com)<4731><xGsiJYV4XOaASO/q>: Error:
>>> > /var/run/dovecot/imap-hibernate returned failure: Failed to parse
>>> > client input: Invalid peer_dev_minor value: 18446744073709486335
>>> > --
>>> > Oct 19 10:21:47 server dovecot:
>>> > imap(email at example.com)<78094><gLQuwY94b9KASO/q>: Error: kevent(-1)
>>> > for notify remove failed: Bad file descriptor
>>> > Oct 19 10:21:47 server dovecot:
>>> > imap(email at example.com)<78094><gLQuwY94b9KASO/q>: Error: close(-1) for
>>> > notify remove failed: Bad file descriptor
>>> > Oct 19 10:21:47 server dovecot: imap-hibernate: Error: Failed to parse
>>> > client input: Invalid peer_dev_minor value: 18446744073709486335
>>> > Oct 19 10:21:47 server dovecot:
>>> > imap(email at example.com)<78094><gLQuwY94b9KASO/q>: Error:
>>> > /var/run/dovecot/imap-hibernate returned failure: Failed to parse
>>> > client input: Invalid peer_dev_minor value: 18446744073709486335
>>> > --
>>> > Oct 19 10:22:47 server dovecot:
>>> > imap(email at example.com)<78208><bsnCxI94ddKASO/q>: Error: kevent(-1)
>>> > for notify remove failed: Bad file descriptor
>>> > Oct 19 10:22:47 server dovecot:
>>> > imap(email at example.com)<78208><bsnCxI94ddKASO/q>: Error: close(-1) for
>>> > notify remove failed: Bad file descriptor
>>> > Oct 19 10:22:47 server dovecot: imap-hibernate: Error: Failed to parse
>>> > client input: Invalid peer_dev_minor value: 18446744073709486335
>>> > Oct 19 10:22:47 server dovecot:
>>> > imap(email at example.com)<78208><bsnCxI94ddKASO/q>: Error:
>>> > /var/run/dovecot/imap-hibernate returned failure: Failed to parse
>>> > client input: Invalid peer_dev_minor value: 18446744073709486335
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > Aki Tuomi писал 2018-10-19 09:50:
>>> >> Does this happen every time? -1 is really not a valid file descriptor,
>>> >> which is why these errors occur.
>>> >>
>>> >> Aki
>>> >>
>>> >> On 19.10.2018 5.23, Alex wrote:
>>> >>> Hello!
>>> >>>
>>> >>> I tried to use imap-hibernate.
>>> >>>
>>> >>> But errors in maillog:
>>> >>>
>>> >>> Oct 19 05:14:24 server dovecot:
>>> >>> imap(email at example.com)<67125><Lu7ndYt4n8aASO/q>: Error: kevent(-1)
>>> >>> for notify remove failed: Bad file descriptor
>>> >>> Oct 19 05:14:24 server dovecot:
>>> >>> imap(email at example.com)<67125><Lu7ndYt4n8aASO/q>: Error: close(-1)
>>> >>> for
>>> >>> notify remove failed: Bad file descriptor
>>> >>> Oct 19 05:14:24 server dovecot: imap-hibernate: Error: Failed to
>>> >>> parse
>>> >>> client input: Invalid peer_dev_minor value: 18446744073709486335
>>> >>> Oct 19 05:14:24 server dovecot:
>>> >>> imap(email at example.com)<67125><Lu7ndYt4n8aASO/q>: Error:
>>> >>> /var/run/dovecot/imap-hibernate returned failure: Failed to parse
>>> >>> client input: Invalid peer_dev_minor value: 18446744073709486335
>>> >>> Oct 19 05:14:24 server dovecot: imap: Error:
>>> >>>
>>> >>>
>>> >>> dovecot-2.3.3, FreeBSD 10.4
>>> >>>
>>> >>> dovenull 38990 0,0 0,0 43748 16308 - S 3:54
>>> >>> 0:00,08 imap-login: (imap-login)
>>> >>> dovenull 38998 0,0 0,1 47844 19536 - S 3:54
>>> >>> 0:00,18 imap-login: [34.193.82.152 TLS proxy] (imap-login)
>>> >>> dovenull 38999 0,0 0,1 47844 17180 - S 3:54
>>> >>> 0:00,19 imap-login: (imap-login)
>>> >>> dovenull 39000 0,0 0,0 35556 9584 - S 3:54
>>> >>> 0:00,03 dovecot/imap-login
>>> >>> dovenull 39001 0,0 0,0 43748 16320 - S 3:54
>>> >>> 0:00,12 imap-login: (imap-login)
>>> >>> dovenull 39002 0,0 0,0 43748 16320 - S 3:54
>>> >>> 0:00,13 imap-login: (imap-login)
>>> >>> dovenull 39003 0,0 0,0 43748 16328 - S 3:54
>>> >>> 0:00,16 imap-login: (imap-login)
>>> >>> dovenull 39004 0,0 0,1 47844 17948 - S 3:54
>>> >>> 0:00,17 imap-login: [12.34.56.78 TLS proxy] (imap-login)
>>> >>> vmail 39042 0,0 0,0 15936 3040 - I 3:54
>>> >>> 0:00,01 imap-hibernate: [0 connections] (imap-hibernate)
>>> >>> vmail 39076 0,0 0,0 78900 8984 - S 3:54
>>> >>> 0:00,05 imap: [email at example.com 12.34.56.78 IDLE] (imap)
>>> >>> vmail 44114 0,0 0,0 78900 8936 - I 4:06
>>> >>> 0:00,05 imap: [email at example.com 34.193.82.152 IDLE] (imap)
>>> >>>
>>> >>> srw-rw---- 1 root dovecot 0 19 окт 03:54 imap-hibernate
>>> >>> srw------- 1 root dovecot 0 19 окт 03:54 imap-master
>>> >>> srw------- 1 root wheel 0 19 окт 03:54 imap-postlogin
>>> >>> srw-rw-rw- 1 root wheel 0 19 окт 03:54 imap-urlauth
>>> >>> srw------- 1 dovecot wheel 0 19 окт 03:54 imap-urlauth-worker
>>> >>>
>>> >>> imap_hibernate_timeout = 5 secs
>>> >>>
>>> >>> service imap-hibernate {
>>> >>> extra_groups = $default_internal_group
>>> >>> unix_listener imap-hibernate {
>>> >>> group = dovecot
>>> >>> }
>>> >>> user = vmail
>>> >>> }
>>> >>>
>>> >>> service imap {
>>> >>> extra_groups = $default_internal_group
>>> >>> unix_listener imap-master {
>>> >>> group = $default_internal_group
>>> >>> }
>>> >>> }
>>> >>>
>>> >>> I tried to set user/group vmail, set mode = 0666, but the same
>>> >>> errors.
>>> >>>
>>> >>>
>>> >>> Can you help me with hibernate confiration ?
>>> >>>
>>> >>>
>>> >>>
>>> >>> Best regards,
>>> >>> Alex
>>> >>>
>>> >>>
>>> >>>
>>> >>>
More information about the dovecot
mailing list