hi there,

i'm running a debian wheezy in a chroot at a fritzbox 7230, running with freetz. Running well until the upgrade of version 2.1.7 from debian repros comming up.

after upgrade, the server comes up, but login is not possible.

Jul 20 20:13:46 master: Warning: Killed with signal 15 (by pid=15309 uid=0 code=kill) Jul 20 20:13:46 master: Info: Dovecot v2.1.7 starting up (core dumps disabled) Jul 20 20:14:15 lda: Debug: Loading modules from directory: /usr/lib/dovecot/modules Jul 20 20:14:15 lda: Debug: Loading modules from directory: /usr/lib/dovecot/modules Jul 20 20:14:15 lda: Debug: Module loaded: /usr/lib/dovecot/modules/lib90_sieve_plugin.so Jul 20 20:14:15 lda(mdomann): Debug: Effective uid=1000, gid=1000, home=/home/mdomann Jul 20 20:14:15 lda: Debug: Module loaded: /usr/lib/dovecot/modules/lib90_sieve_plugin.so Jul 20 20:14:15 lda(mdomann): Debug: Namespace : type=private, prefix=, sep=, inbox=yes, hidden=no,
list=yes, subscriptions=yes location=maildir:/home/mdomann/Mail:LAYOUT=fs
Jul 20 20:14:15 lda(mdomann): Debug: fs: root=/home/mdomann/Mail, index=, control=, inbox=/home/mdom
ann/Mail, alt=
Jul 20 20:14:15 lda(mdomann): Debug: Effective uid=1000, gid=1000, home=/home/mdomann Jul 20 20:14:15 lda(mdomann): Debug: Namespace : type=private, prefix=, sep=, inbox=yes, hidden=no,
list=yes, subscriptions=yes location=maildir:/home/mdomann/Mail:LAYOUT=fs
Jul 20 20:14:15 lda(mdomann): Debug: fs: root=/home/mdomann/Mail, index=, control=, inbox=/home/mdom
ann/Mail, alt=
Jul 20 20:14:15 lda(mdomann): Debug: userdb lookup skipped, username taken from USER environment Jul 20 20:14:15 lda(mdomann): Debug: none: root=, index=, control=, inbox=, alt= Jul 20 20:14:15 lda(mdomann): Debug: userdb lookup skipped, username taken from USER environment Jul 20 20:14:15 lda(mdomann): Debug: none: root=, index=, control=, inbox=, alt= Jul 20 20:14:16 lda(mdomann): Debug: Destination address: mdom...@fritz.fonwlan.box (source: user@ho
stname)
Jul 20 20:14:16 lda(mdomann): Debug: Destination address: mdom...@fritz.fonwlan.box (source: user@ho
stname)
Jul 20 20:14:16 lda(mdomann): Debug: sieve: include: sieve_global_dir is not set; it is currently no
t possible to include `:global' scripts.
Jul 20 20:14:16 lda(mdomann): Debug: sieve: include: sieve_global_dir is not set; it is currently no
t possible to include `:global' scripts.
Jul 20 20:14:16 lda(mdomann): Debug: sieve: using sieve path for user's script: /home/mdomann/.dovec
ot.sieve
Jul 20 20:14:16 lda(mdomann): Debug: sieve: using sieve path for user's script: /home/mdomann/.dovec
ot.sieve
Jul 20 20:14:16 lda(mdomann): Debug: sieve: opening script /home/mdomann/.dovecot.sieve Jul 20 20:14:16 lda(mdomann): Debug: sieve: opening script /home/mdomann/.dovecot.sieve Jul 20 20:14:16 lda(mdomann): Debug: sieve: script binary /home/mdomann/.dovecot.svbin successfully
loaded
Jul 20 20:17:15 imap: Error: dovecot/imap: error while loading shared libraries: libpthread.so.0: failed to map segment from shared object: Cannot allocate memory Jul 20 20:17:15 imap: Fatal: master: service(imap): child 22594 returned error 127 Jul 20 20:17:15 master: Error: service(imap): command startup failed, throttling for 2 secs Jul 20 20:17:15 imap-login: Error: read(imap) failed: Connection reset by peer Jul 20 20:17:15 imap-login: Info: Internal login failure (pid=22586 id=1) (internal failure, 1 succesful auths): user=<mdomann>, method=PLAIN, rip=192.168.2.105, lip=192.168.2.1, TLS, session=<gHEKlUjFNQDAqAJp>

the libary is still there
 fritz:~# ldd /usr/sbin/dovecot

       libdovecot.so.0 => /usr/lib/dovecot/libdovecot.so.0 (0x2aaaa000)
       libc.so.6 => /lib/mips-linux-gnu/libc.so.6 (0x2ab48000)
       libdl.so.2 => /lib/mips-linux-gnu/libdl.so.2 (0x2accc000)
       librt.so.1 => /lib/mips-linux-gnu/librt.so.1 (0x2ace0000)
       /lib/ld.so.1 (0x55550000)
       libpthread.so.0 => /lib/mips-linux-gnu/libpthread.so.0 (0x2acfa000)

the ulimit i have tried, but without success.

root@fritz:/var/mod/root# ulimit -a
-f: file size (blocks)             unlimited
-t: cpu time (seconds)             unlimited
-d: data seg size (kb)             unlimited
-s: stack size (kb)                unlimited
-c: core file size (blocks)        unlimited
-m: resident set size (kb)         unlimited
-l: locked memory (kb)             unlimited
-p: processes                      unlimited
-n: file descriptors               16384
-v: address space (kb)             unlimited
-w: locks                          unlimited

fritz:~# dovecot -n
# 2.0.18: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.28.10 mips Debian wheezy/sid squashfs
base_dir = /var/run/dovecot/
default_client_limit = 100
default_process_limit = 50
default_vsz_limit = 6 M
disable_plaintext_auth = no
lda_mailbox_autocreate = yes
listen = *
log_path = /var/log/dovecot
login_greeting = Dovecot on sysiphus ready.
mail_debug = yes
mail_gid = 1000
mail_location = maildir:/home/mdomann/Mail:LAYOUT=fs
mail_uid = 1000
namespace {
  hidden = no
  inbox = yes
  list = yes
  location =
  prefix =
  subscriptions = yes
  type = private
}
passdb {
  args = scheme=CRYPT username_format=%u /etc/dovecot/users
  driver = passwd-file
}
plugin {
mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_fields = uid box msgid size
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_global_path = /etc/dovecot/dovecot.sieve
}
postmaster_address = mdomann@localhost
protocols = " imap"
service anvil {
  client_limit = 210
}
service auth-worker {
  user = $default_internal_user
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    mode = 0666
  }
  unix_listener auth-userdb {
    group = mdomann
    mode = 0777
    user = mdomann
  }
}
service imap-login {
  inet_listener imap {
    port = 143
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
  service_count = 1
}
service lmtp {
  unix_listener lmtp {
    mode = 0666
  }
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
syslog_facility = debug
userdb {
  args = username_format=%u /etc/dovecot/users
  driver = passwd-file
}
verbose_proctitle = yes
protocol lda {
  mail_plugins = " sieve"
  syslog_facility = mail
}
protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep
  imap_idle_notify_interval = 24 mins
  mail_max_userip_connections = 20
}

root@fritz:/var/mod/root# free -m
             total         used         free       shared      buffers
Mem:         59512        52260         7252            0         2452
-/+ buffers:              49808         9704
Swap:       538608         8116       530492


I have no idea to solve this. The question is, is it possible a bug in debian wheezy mips or in dovecot. Hopefully someone can point me in the right direction.

thanks and regards micha

Reply via email to