[Dovecot] dovecot crashes after reloading service

Timo Sirainen tss at iki.fi
Mon Aug 15 01:38:18 EEST 2011


This is fixed in v2.0. Too much trouble trying to debug and fix it in v1.2.

On 22.7.2011, at 23.48, Alan Morais wrote:

> Hello,
> 
> I just made a fresh install of dovecot using Iredmail, and works just fine,
> but, after changing a parameter on /etc/dovecot.conf, and reloading
> service, the daemon crashes, with the message as follows:
> 
> * restarting the service instead of reload works fine.
> 
> ############# Error message
> 
> dovecot: Panic: file dict-process.c: line 154 (dict_listener_input):
> assertion failed: (listener->process
> es == NULL)
> Jul 22 10:50:52 dovecot: Error: Raw backtrace: /usr/sbin/dovecot
> [0x805adb0] -> /usr/sbin/dovecot [0x805ae93] -> /usr/sbi
> n/dovecot [0x80529c6] -> /usr/sbin/dovecot [0x805a65c] -> /usr/sbin/dovecot
> [0x804cd60] -> /usr/sbin/dovecot [0x805ece0]
> -> /usr/sbin/dovecot [0x805ddc8] -> /usr/sbin/dovecot [0x805337d] ->
> /lib/i686/nosegneg/libc.so.6(__libc_start_main+0xdc)
> [0x6cce9c] -> /usr/sbin/dovecot [0x804a571]
> 
> ############## Commands executed
> 
> included parameter "login_greeting =xxxxxxxxxxxxxx" on dovecot.conf
> 
> /etc/init.d/dovecot reload
> 
> ##################### config
> [root at correio221 ~]# dovecot -n
> # 1.2.16: /etc/dovecot.conf
> # OS: Linux 2.6.18-128.el5xen i686 CentOS release 5.3 (Final) nfs
> log_path: /var/log/dovecot.log
> protocols: pop3 pop3s imap imaps managesieve
> listen(default): *
> listen(imap): *
> listen(pop3): *
> listen(managesieve): *:2000
> ssl_ca_file: /etc/pki/tls/certs/iRedMail_CA.pem
> ssl_cert_file: /etc/pki/tls/certs/iRedMail_CA.pem
> ssl_key_file: /etc/pki/tls/private/iRedMail.key
> login_dir: /var/run/dovecot/login
> login_executable(default): /usr/libexec/dovecot/imap-login
> login_executable(imap): /usr/libexec/dovecot/imap-login
> login_executable(pop3): /usr/libexec/dovecot/pop3-login
> login_executable(managesieve): /usr/libexec/dovecot/managesieve-login
> login_greeting: SIANET POP/IMAP
> login_process_size: 512
> login_processes_count: 128
> login_max_processes_count: 256
> login_max_connections: 1024
> max_mail_processes: 256
> first_valid_uid: 5000
> last_valid_uid: 5000
> mail_uid: 5000
> mail_gid: 5000
> mail_location: maildir:/home/vmail/%d/%Ln/Maildir
> mmap_disable: yes
> mail_nfs_storage: yes
> mail_nfs_index: yes
> lock_method: dotlock
> mail_executable(default): /usr/libexec/dovecot/imap
> mail_executable(imap): /usr/libexec/dovecot/imap
> mail_executable(pop3): /usr/libexec/dovecot/pop3
> mail_executable(managesieve): /usr/libexec/dovecot/managesieve
> mail_process_size: 512
> mail_plugins(default): quota imap_quota autocreate
> mail_plugins(imap): quota imap_quota autocreate
> mail_plugins(pop3): quota
> mail_plugins(managesieve):
> mail_plugin_dir(default): /usr/lib/dovecot/imap
> mail_plugin_dir(imap): /usr/lib/dovecot/imap
> mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
> mail_plugin_dir(managesieve): /usr/lib/dovecot/managesieve
> imap_client_workarounds(default): tb-extra-mailbox-sep
> imap_client_workarounds(imap): tb-extra-mailbox-sep
> imap_client_workarounds(pop3):
> imap_client_workarounds(managesieve):
> pop3_client_workarounds(default):
> pop3_client_workarounds(imap):
> pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
> pop3_client_workarounds(managesieve):
> namespace:
> type: private
> prefix: INBOX.
> inbox: yes
> list: yes
> subscriptions: yes
> lda:
> postmaster_address: root
> auth_socket_path: /var/run/dovecot/auth-master
> mail_plugins: quota sieve autocreate
> sieve_global_path: /home/vmail/sieve/dovecot.sieve
> log_path: /var/log/sieve.log
> auth default:
> mechanisms: plain login
> default_realm: sianet.com.br
> user: vmail
> verbose: yes
> passdb:
> driver: sql
> args: /etc/dovecot-mysql.conf
> userdb:
> driver: sql
> args: /etc/dovecot-mysql.conf
> socket:
> type: listen
> client:
> path: /var/spool/postfix/dovecot-auth
> mode: 438
> user: postfix
> group: postfix
> master:
> path: /var/run/dovecot/auth-master
> mode: 438
> user: vmail
> group: vmail
> plugin:
> quota_warning: storage=85%% /usr/local/bin/dovecot-quota-warning.sh 85
> quota_warning2: storage=90%% /usr/local/bin/dovecot-quota-warning.sh 90
> quota_warning3: storage=95%% /usr/local/bin/dovecot-quota-warning.sh 95
> quota: maildir
> quota: dict:user::proxy::quotadict
> quota_rule: *:storage=0
> expire: Trash 7 Trash/* 7 Junk 30
> expire_dict: proxy::expire
> auth_socket_path: /var/run/dovecot/auth-master
> sieve_global_dir: /home/vmail/
> sieve_before: %Lh/dovecot.sieve.before
> sieve: /%Lh/dovecot.sieve
> sieve_global_path: /home/vmail/dovecot.sieve
> global_script_path: /home/vmail/dovecot.sieve
> autocreate: INBOX
> autocreate2: INBOX.Sent
> autocreate3: INBOX.Trash
> autocreate4: INBOX.Drafts
> autocreate5: INBOX.Junk
> autosubscribe: INBOX
> autosubscribe2: INBOX.Sent
> autosubscribe3: INBOX.Trash
> autosubscribe4: INBOX.Drafts
> autosubscribe5: INBOX.Junk
> dict:
> expire: db:/var/lib/dovecot/expire/expire.db
> quotadict: mysql:/etc/dovecot-used-quota.conf
> 
> Thanks in advance.
> 
> --
> 
> Alan Morais
> Analista de Suporte
> Fone: (11) 2125-9222
> E-mail: alan.morais at sianet.com.br
> [1]
> 
> 
> 
> Links:
> ------
> [1] http://www.sianet.com.br
> 



More information about the dovecot mailing list