[Dovecot] dovecot upgrade problems

Cieslak, Andreas cieslak at folkwang-hochschule.de
Wed Apr 7 10:58:34 EEST 2010


Hi list,

i made an upgrade from dovecot 1.0RC15 to 1.1.20

the default installation was under /etc/dovecot.
The upgrade installation was made under /usr/local/etc.

After that i changed all the paths in the /usr/local/etc/dovecot.conf
and the dovecot-binary to work with the new installation.
Even path-changes were made for /etc/init.d/dovecot to work with the
version 1.1.20.

Changes in the /etc/init.d/dovecot:
####
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/local/sbin/dovecot
NAME=dovecot
DESC="mail server"

test -x $DAEMON || exit 0

set -e

# The init script should do nothing if dovecot is being run from inetd
for p in `sed -r "s/^ *(([^:]+|\[[^]]+]|\*):)?(pop3s?|imaps?)[
\t].*/\3/;t;d" \
  /etc/inetd.conf`
do
  for q in `sed -r "s/^ *protocols[ \t]*=[
\t]*(([^\"]*)|\"(.*)\")/\2\3/;t;d" \
    /usr/local/etc/dovecot.conf`
  do
    if [ $p = $q ]; then
      exit 0
    fi
  done
done

case "$1" in
  start)
    if grep protocols /usr/local/etc/dovecot.conf | sed 's/#.*$//' | tr
-d '"' | \
    egrep -q '[^#]*(\bpop3s?\b|\bimaps?\b)';
    then
      if [ -x /usr/local/libexec/dovecot/imap-login -a -x
/usr/local/libexec/dovecot/imap ] \
        || [ -x /usr/local/libexec/dovecot/pop3-login -a -x
/usr/local/libexec/dovecot/pop3 ]
####
If I leave the DAEMON-Path to =/usr/sbin/dovecot

Dovecot is running fine!!!



The only thing which is missing under /usr/local is the auth-master
file.

Under /var/run/dovecot the old auth-master file exists. Why not under
the upgrade path?


Anyway, here is the logging when i try to start dovecot:


Apr  6 16:18:37 server dovecot: dovecot v1.1.20 starting up (core dumps
disabled)
Apr  6 16:18:37 server dovecot: Fatal: auth(default): Dovecot version
mismatch: Master is v1.1.20, dovecot-auth is v1.0.rc15 (if you don't
care, set version_ignore=yes)
Apr  6 16:18:37 server dovecot: Fatal: Auth process died too early -
shutting down


server:/usr/local/etc# /etc/init.d/dovecot restart
Restarting mail server: dovecotWarning: Last died with error (see error
log for more information): Auth process died too early - shutting down



Also the configuration output:

dovecot -n
# 1.1.20: /usr/local/etc/dovecot.conf
# OS: Linux 2.6.18-4-686 i686 Debian 4.0 
log_timestamp: %Y-%m-%d %H:%M:%S 
protocols: imaps pop3s imap
ssl_key_file: /etc/ssl/private/dovecot.key
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_max_processes_count: 256
first_valid_uid: 1000
last_valid_uid: 5000
mail_access_groups: mail
mail_location: maildir:~/Maildir
mail_debug: yes
mail_full_filesystem_access: yes
mbox_write_locks: fcntl
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
lda:
  postmaster_address: cieslak at folkwang-hochschule.de
  hostname: server
  log_path: /var/log/dovecot-deliver.log
  info_log_path: /var/log/dovecot-deliver.log
  sendmail_path: /usr/lib/sendmail
auth default:
  mechanisms: login plain
  verbose: yes
  debug: yes
  process_size: 512
  passdb:
    driver: passwd
    args: /etc/passwd
  passdb:
    driver: shadow
    args: /etc/shadow
  passdb:
    driver: ldap
    args: /usr/local/etc/dovecot-ldap.conf
  userdb:
    driver: passwd
    args: blocking=yes
  userdb:
    driver: ldap
    args: /usr/local/etc/dovecot-ldap.conf
  socket:
    type: listen
    master:
      path: /usr/local/var/run/dovecot/auth-master
      mode: 384
      user: mail
plugin:
  quota: maildir


###auth-master is not existing under the path
/usr/local/var/run/dovecot/auth-master. Is this the fault?


Can anyone help me out?

Andreas Cieslak
IT-Systeme
Folkwang Hochschule
Musik | Theater | Tanz | Gestaltung | Wissenschaft
Klemensborn 39
45239 Essen
Fon: 0201_4903-218
Fax: 0201_4903-288
cieslak at folkwang-hochschule.de
www.folkwang-hochschule.de <http://www.folkwang-hochschule.de/> 





More information about the dovecot mailing list