Desperate

Colin Bruce ccx004 at coventry.ac.uk
Thu Apr 8 10:52:59 EDT 2004


On Thu, 8 Apr 2004, Rob Siemborski wrote:

> On Thu, 8 Apr 2004, Colin Bruce wrote:
>
> > Apr  6 13:02:37 imap2 ctl_cyrusdb[2264]: archiving log file: /usr/local/packages/cyrus/var/db/log.0000000001
> > Apr  6 13:02:37 imap2 ctl_cyrusdb[2264]: archiving database file: /usr/local/packages/cyrus/var/mailboxes.db
> > Apr  6 13:02:37 imap2 ctl_cyrusdb[2264]: archiving log file: /usr/local/packages/cyrus/var/db/log.0000000001
>
> .....
>
> Are you using the skiplist backend for the mailbox list?
>
> > As a matter of interest how are we supposed to stop cyrus if the machine it is
> > running on is being shutdown. I can't find any mention of how to do that in the
> > documentation.
>
> Kill the master process.
>

Dear Rob,

Thanks for the reply. Another person (Roman Hochuli) made a similar suggestion about
using skiplist. The thing is we do kill the master process (using kill PID) but that
seems to mostly cause some sort of database corruption. Roman said that the DB stuff
is not so stable and that skiplist would be better. However, I am not so sure what we
are using anymore. The configuration options were:

./configure --prefix=/usr/local/packages/cyrus-2.2.3 --enable-netscapehack \
            --with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib \
            --with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include \
            --with-sasl=/usr/local/lib/sasl2 --with-perl=/usr/bin/perl \
            --with-cyrus-prefix=/usr/local/packages/cyrus-2.2.3/sbin \
            --with-service-path=/usr/local/packages/cyrus-2.2.3/sbin \
            --sysconfdir=/usr/local/packages/cyrus-2.2.3/etc \
            --with-openssl --with-auth=unix

and the imapd.conf file is

root at imap2:/usr/local/packages/cyrus/etc# cat imapd.conf
configdirectory: /usr/local/packages/cyrus/var
defaultdomain: coventry.ac.uk
seenstate_db: berkeley
duplicatesuppression: 0
admins: root cyrus
sieveusehomedir: 0
allowallsubscribe: 1
allowusermoves: 1
unix_group_enable: 0
autocreatequota: 5120
quotawarn: 80
hashimapspool: 1

sasl_pwcheck_method: saslauthd
sasl_auto_transition: 0

lmtp_over_quota_perm_failure: 1

partition-default: /usr/spool/mail/cyrus
partition-spool1: /mnt/disk1
partition-spool2: /mnt/disk2
partition-spool3: /mnt/disk3
partition-spool4: /mnt/disk4
partition-spool5: /mnt/disk5
partition-spool6: /mnt/disk6


I haven't seen a skiplist option in ./configure but maybe I missed it.

It seems we should switch to using skiplist but how do we go about doing it? Do the
databases need to be converted in some way or do we just shutdown and restart?

Anyway, enough from me. Thanks for your help and advice.

Best wishes....
Colin




---
Home Page: http://asg.web.cmu.edu/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