[Dovecot] file client-common.c: line 25 (client_unlink): assertion failed: (clients_count > 0)
Hello
since few days I got this in dovecot log
I use 1.1.11 on Debian etch 64 bits
Thanks for any info
dovecot: Mar 12 16:57:37 Panic: imap-login: file client-common.c: line 25 (client_unlink): assertion failed: (clients_count > 0) dovecot: Mar 12 16:57:37 Error: child 5247 (login) killed with signal 6 (ip=80.125.173.19) dovecot: Mar 12 17:10:04 Panic: imap-login: file client-common.c: line 25 (client_unlink): assertion failed: (clients_count > 0) dovecot: Mar 12 17:10:04 Error: child 6678 (login) killed with signal 6 (ip=92.132.140.150) dovecot: Mar 12 17:10:58 Panic: imap-login: file client-common.c: line 25 (client_unlink): assertion failed: (clients_count > 0) dovecot: Mar 12 17:10:58 Error: child 6812 (login) killed with signal 6 (ip=90.3.120.43) dovecot: Mar 12 17:11:07 Panic: imap-login: file client-common.c: line 25 (client_unlink): assertion failed: (clients_count > 0) dovecot: Mar 12 17:11:07 Error: child 6827 (login) killed with signal 6 (ip=90.3.120.43) dovecot: Mar 12 17:11:13 Panic: imap-login: file client-common.c: line 25 (client_unlink): assertion failed: (clients_count > 0) dovecot: Mar 12 17:11:13 Error: child 6839 (login) killed with signal 6 (ip=90.3.120.43) dovecot: Mar 12 17:11:15 Panic: imap-login: file client-common.c: line 25 (client_unlink): assertion failed: (clients_count > 0) dovecot: Mar 12 17:11:15 Error: child 6841 (login) killed with signal 6 (ip=90.3.120.43)
on 3-12-2009 10:29 AM Frank Bonnet spake the following:
Hello
since few days I got this in dovecot log
I use 1.1.11 on Debian etch 64 bits
Thanks for any info
You need to give more info before you get more info. How about if mail is local to machine or on NFS. And also dovecot -n output.
-- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
Scott Silva wrote:
on 3-12-2009 10:29 AM Frank Bonnet spake the following:
Hello
since few days I got this in dovecot log
I use 1.1.11 on Debian etch 64 bits
Thanks for any info
You need to give more info before you get more info. How about if mail is local to machine or on NFS. And also dovecot -n output.
OK
mail is local ( IBM X3650 RAID5 array )
mail:~# dovecot -n # 1.1.11: /usr/local/etc/dovecot.conf # OS: Linux 2.6.18-4-amd64 x86_64 Debian 4.0 log_path: /var/log/dovecot/dovecot.log info_log_path: /var/log/dovecot/info.log protocols: imap imaps pop3 pop3s disable_plaintext_auth: no login_dir: /usr/local/var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login login_processes_count: 6 max_mail_processes: 4096 verbose_proctitle: yes mail_privileged_group: mail mail_location: mbox:%h/:INBOX=/var/mail/%u mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 imap_client_workarounds(default): outlook-idle tb-extra-mailbox-sep imap_client_workarounds(imap): outlook-idle tb-extra-mailbox-sep imap_client_workarounds(pop3): pop3_uidl_format(default): %08Xu%08Xv pop3_uidl_format(imap): %08Xu%08Xv pop3_uidl_format(pop3): %08Xv%08Xu auth default: passdb: driver: passwd passdb: driver: shadow userdb: driver: passwd
on 3-13-2009 2:33 AM Frank Bonnet spake the following:
Scott Silva wrote:
on 3-12-2009 10:29 AM Frank Bonnet spake the following:
Hello
since few days I got this in dovecot log
I use 1.1.11 on Debian etch 64 bits
Thanks for any info
You need to give more info before you get more info. How about if mail is local to machine or on NFS. And also dovecot -n output.
OK
mail is local ( IBM X3650 RAID5 array )
mail:~# dovecot -n # 1.1.11: /usr/local/etc/dovecot.conf # OS: Linux 2.6.18-4-amd64 x86_64 Debian 4.0 log_path: /var/log/dovecot/dovecot.log info_log_path: /var/log/dovecot/info.log protocols: imap imaps pop3 pop3s disable_plaintext_auth: no login_dir: /usr/local/var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login login_processes_count: 6 max_mail_processes: 4096 verbose_proctitle: yes mail_privileged_group: mail mail_location: mbox:%h/:INBOX=/var/mail/%u
The docs say that ~/ is better than %h, and I think %h/ would be invalid for mbox. Maybe if you try mail_location: mbox:~/:INBOX=/var/mail/%u or at least %h without the trailing / Do you actually want the mboxes in the root of their home directories? ~/mail is probably safer as it will keep dovecot from trying to access other files that might be in the root of their home directories. So the best and safest would be mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 imap_client_workarounds(default): outlook-idle tb-extra-mailbox-sep imap_client_workarounds(imap): outlook-idle tb-extra-mailbox-sep imap_client_workarounds(pop3): pop3_uidl_format(default): %08Xu%08Xv pop3_uidl_format(imap): %08Xu%08Xv pop3_uidl_format(pop3): %08Xv%08Xu auth default: passdb: driver: passwd passdb: driver: shadow userdb: driver: passwd
-- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
Scott Silva wrote:
on 3-13-2009 2:33 AM Frank Bonnet spake the following:
Scott Silva wrote:
on 3-12-2009 10:29 AM Frank Bonnet spake the following:
Hello
since few days I got this in dovecot log
I use 1.1.11 on Debian etch 64 bits
Thanks for any info
You need to give more info before you get more info. How about if mail is local to machine or on NFS. And also dovecot -n output.
OK
mail is local ( IBM X3650 RAID5 array )
mail:~# dovecot -n # 1.1.11: /usr/local/etc/dovecot.conf # OS: Linux 2.6.18-4-amd64 x86_64 Debian 4.0 log_path: /var/log/dovecot/dovecot.log info_log_path: /var/log/dovecot/info.log protocols: imap imaps pop3 pop3s disable_plaintext_auth: no login_dir: /usr/local/var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login login_processes_count: 6 max_mail_processes: 4096 verbose_proctitle: yes mail_privileged_group: mail mail_location: mbox:%h/:INBOX=/var/mail/%u
The docs say that ~/ is better than %h, and I think %h/ would be invalid for mbox. Maybe if you try mail_location: mbox:~/:INBOX=/var/mail/%u or at least %h without the trailing /
OK gonna check that
Do you actually want the mboxes in the root of their home directories? ~/mail is probably safer as it will keep dovecot from trying to access other files that might be in the root of their home directories. So the best and safest would be mail_location = mbox:~/mail:INBOX=/var/mail/%u
The machine is a "mail server only" that's why I did this there are no other files than imap folders in users's home directories.
Thanks for your help :-)
on 3-13-2009 1:04 PM Frank Bonnet spake the following:
Scott Silva wrote:
on 3-13-2009 2:33 AM Frank Bonnet spake the following:
Scott Silva wrote:
on 3-12-2009 10:29 AM Frank Bonnet spake the following:
Hello
since few days I got this in dovecot log
I use 1.1.11 on Debian etch 64 bits
Thanks for any info
You need to give more info before you get more info. How about if mail is local to machine or on NFS. And also dovecot -n output.
OK
mail is local ( IBM X3650 RAID5 array )
mail:~# dovecot -n # 1.1.11: /usr/local/etc/dovecot.conf # OS: Linux 2.6.18-4-amd64 x86_64 Debian 4.0 log_path: /var/log/dovecot/dovecot.log info_log_path: /var/log/dovecot/info.log protocols: imap imaps pop3 pop3s disable_plaintext_auth: no login_dir: /usr/local/var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login login_processes_count: 6 max_mail_processes: 4096 verbose_proctitle: yes mail_privileged_group: mail mail_location: mbox:%h/:INBOX=/var/mail/%u The docs say that ~/ is better than %h, and I think %h/ would be invalid for mbox. Maybe if you try mail_location: mbox:~/:INBOX=/var/mail/%u or at least %h without the trailing /
OK gonna check that
Do you actually want the mboxes in the root of their home directories? ~/mail is probably safer as it will keep dovecot from trying to access other files that might be in the root of their home directories. So the best and safest would be mail_location = mbox:~/mail:INBOX=/var/mail/%u
The machine is a "mail server only" that's why I did this there are no other files than imap folders in users's home directories.
Thanks for your help :-)
Another thing to check is that all home directories have proper permissions for the users, and the group mail, and that all users are a member of that group.
I also saw some warning on the wiki about the "mail_privileged_group:" not functioning in the deliver module
-- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
On Thu, 2009-03-12 at 18:29 +0100, Frank Bonnet wrote:
dovecot: Mar 12 16:57:37 Panic: imap-login: file client-common.c: line 25 (client_unlink): assertion failed: (clients_count > 0)
How common is this? Does it keep happening all the time now, or is it in random bursts?
Just before this error there should have been also a "Disconnected" or "Logged in" message logged. Do you see them? What are they?
Timo Sirainen wrote:
On Thu, 2009-03-12 at 18:29 +0100, Frank Bonnet wrote:
dovecot: Mar 12 16:57:37 Panic: imap-login: file client-common.c: line 25 (client_unlink): assertion failed: (clients_count > 0)
How common is this? Does it keep happening all the time now, or is it in random bursts?
Just before this error there should have been also a "Disconnected" or "Logged in" message logged. Do you see them? What are they?
Well the problem seemed to be self solved ... nothing more into logfile ...
it happened several time a day , not very often maybe a problem with some email client ?
I'm gonna watch forward those coming days
Thanks for the help.
On Mar 16, 2009, at 4:20 AM, Frank Bonnet wrote:
Timo Sirainen wrote:
On Thu, 2009-03-12 at 18:29 +0100, Frank Bonnet wrote:
dovecot: Mar 12 16:57:37 Panic: imap-login: file client-common.c:
line 25 (client_unlink): assertion failed: (clients_count > 0) How common is this? Does it keep happening all the time now, or is
it in random bursts? Just before this error there should have been also a "Disconnected"
or "Logged in" message logged. Do you see them? What are they?Well the problem seemed to be self solved ... nothing more into logfile ...
it happened several time a day , not very often maybe a problem with some email client ?
I'm gonna watch forward those coming days
If you're using Linux, with Dovecot v1.1.12+ you can add -D parameter
to login_executable and you should be able to get core dumps from imap-
login processes. core dumps would be helpful in solving this.
participants (3)
-
Frank Bonnet
-
Scott Silva
-
Timo Sirainen