Dovecot will not start, please help!

frankc420

Verified User
Joined
Jul 31, 2007
Messages
59
After upgrading to dovecot 1.2.16 on CentOS I'm receiving the following error:

Error: stat(/var/run/dovecot) failed: Invalid argument
Fatal: Invalid configuration in /etc/dovecot.conf

I've since re-installed 1.2.14 and the issue is still there. I've downloaded the dovecot.conf file and tried that directly from the DA site and I'm still getting the above error.

This is a production webhost server and has been down since around 11PM last night. Any help would be appreciated!

Looking at /var/run/dovecot, this is what I see:


[root@jxnms001 ~]# ls -l /var/run/dovecot
total 4
srwxrwxrwx 1 root root 0 Oct 4 16:32 dict-server
lrwxrwxrwx 1 root root 17 Oct 4 16:32 dovecot.conf -> /etc/dovecot.conf
drwxr-x--- 2 root dovecot 4096 Nov 13 06:57 login
[root@jxnms001 ~]# ls -l /var/run/dovecot/login
total 0
[root@jxnms001 ~]# dovecot -n
# 1.2.14: /etc/dovecot.conf
# OS: Linux 2.6.18-194.26.1.el5 x86_64 CentOS release 5.5 (Final)
log_path: /var/log/dovecot.log
protocols: imap imaps pop3 pop3s
ssl_cert_file: /etc/httpd/conf/ssl.crt/server.crt
ssl_key_file: /etc/httpd/conf/ssl.key/server.key
ssl_cipher_list: HIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
disable_plaintext_auth: no
verbose_ssl: yes
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_greeting: Dovecot DA ready.
login_processes_count: 16
verbose_proctitle: yes
mail_access_groups: mail
mail_location: maildir:~/Maildir
mail_debug: yes
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
auth default:
username_chars: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@&
verbose: yes
passdb:
driver: shadow
passdb:
driver: passwd-file
args: username_format=%n /etc/virtual/%d/passwd
userdb:
driver: passwd
userdb:
driver: passwd-file
args: username_format=%n /etc/virtual/%d/passwd
 
Last edited:
Back
Top