Cyrus 2.2.8: imapd dies + corrupt inbox

Bernd Nies listuser at adnovum.ch
Thu Jan 13 02:38:45 EST 2005


Hi,

We are running Cyrus 2.2.8 on Solaris 8 using saslauthd and LDAP 
authentication.

Since we upgraded to Cyrus 2.2.8 it happens frequently that users 
inboxes get corrupted and clients cannot connect. Is this a known bug 
and has it been fixed with Cyrus 2.2.10?

The entry in the logfile is:

Jan 13 08:23:59 ducati master[29375]: [ID 970914 local6.error] process 
16678 exited, signaled to death by 11
Jan 13 08:23:59 ducati master[29375]: [ID 621917 local6.debug] service 
imap pid 16678 in BUSY state: terminated abnormally

A pstack on the imapd core file gives:

core 'core' of 16678:   imapd
  0003b060 mailbox_expunge (1381b0, 0, 0, 16227, 112d70, 0) + 4c0
  00022800 cmd_expunge (119b38, 0, 119778, 107c00, 1, 11acf0) + 58
  0001b71c cmdloop  (0, 131db8, 0, 0, 1c68c, 0) + d94
  0001a6a4 service_main (0, 1134c8, ffbefa3c, 2, 0, 18dc0) + 320
  00018f14 main     (417ca8bf, f4598, ffbefa3c, 1130a8, 69800, 3c) + 87c
  00018260 _start   (0, 0, 0, 0, 0, 0) + 5c



Cyrus SASL and IMAP have been compiled as follows:

PATH=/opt/studio/7/bin:$PATH
CC=cc
CFLAGS=-O
CXX=CC
CXXFLAGS=-O2
CPPFLAGS="-I/opt/adnmail/db/include -I/opt/adnmail/openssl/include 
-I/opt/adnmail/cyrus/include"
LDFLAGS="-R/opt/adnmail/db/lib -R/opt/adnmail/openssl/lib 
-R/opt/adnmail/cyrus/lib"
LDFLAGS="-L/opt/adnmail/db/lib -L/opt/adnmail/openssl/lib 
-L/opt/adnmail/cyrus/lib $LDFLAGS"

unset LD_LIBRARY_PATH

export PATH CC CFLAGS CXX CXXFLAGS LDFLAGS CPPFLAGS



gtar -xvpzf cyrus-sasl-2.1.19.tar.gz
cd cyrus-sasl-2.1.19
./configure --prefix=/opt/adnmail/cyrus \
             --with-dbpath=/var/spool/adnmail/cyrus/etc/sasldb2 \
             --sysconfdir=/var/spool/adnmail/cyrus/etc \
             --with-dblib=berkeley \
             --with-bdb-libdir=/opt/adnmail/db/lib \
             --with-bdb-incdir=/opt/adnmail/db/include \
             --with-openssl=/opt/adnmail/openssl \
             --with-ldap=/opt/adnmail/openldap \
             --with-plugindir=/opt/adnmail/cyrus/lib/sasl2 \
             --with-saslauthd=/var/spool/adnmail/cyrus/imap/socket \
             --with-des=/opt/adnmail/openssl \
             --with-ldap=/opt/adnmail/openldap \
             --with-pam \
             --enable-anon \
             --enable-login \
             --enable-shared \
             --enable-static \
             --disable-gssapi \
             --disable-kerb5
make
make install
cd ..



gtar -xvpzf cyrus-imapd-2.2.8.tar.gz
cd cyrus-imapd-2.2.8
./configure --prefix=/opt/adnmail/cyrus \
             --with-auth=unix \
             --with-cyrus-prefix=/opt/adnmail/cyrus \
             --with-dbdir=/opt/adnmail/db \
             --with-openssl=/opt/adnmail/openssl \
             --with-sasl=/opt/adnmail/cyrus \
             --with-perl=/usr/bin/perl \
             --sysconfdir=/var/spool/adnmail/cyrus/etc \
             --with-statedir=/var/spool/adnmail/cyrus/socket \
             --disable-krb4 \
             --disable-cram \
             --disable-gssapi \
             --without-krb
make



Thanks in advance for help

Regars,
Bernd
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list