Skiplist causing DB problems?

Jason Williams jwilliams at courtesymortgage.com
Fri Jan 16 20:00:50 EST 2004


Important info:
FreeBSD 4.9
Cyrus-Imapd-2.1.16
Cyrus-SASL-2.1.17

I've setup two idential servers.
They are both compiled with BerkeleyDB 4.1.25:
I installed cyrus through the ports tree, but set different options upon 
compile time.

(Configure options)

make WITH_BDB_VER=41 WITH_SKIPLIST=YES install clean

Here is the first server: (Server 1)

name       : Cyrus IMAPD
version    : v2.1.16 2003/11/19 16:45:28
vendor     : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os         : FreeBSD
os-version : 4.9-RELEASE
environment: Cyrus SASL 2.1.17
              Sleepycat Software: Berkeley DB 4.1.25: (December 19, 2002)
              Built w/OpenSSL 0.9.7c 30 Sep 2003
              Running w/OpenSSL 0.9.7c 30 Sep 2003
              CMU Sieve 2.2
              TCP Wrappers
              mmap = shared
              lock = fcntl
              nonblock = fcntl
              auth = unix
              idle = poll
              mailboxes.db = skiplist
              seen.db = skiplist
              subs.db = flat
              deliver.db = db3-nosync
              tls_sessions.db = db3-nosync


mailboxes and seen, both set with skiplist, as suggested from twiki

Here is the problem, shown in my logfiles:

Jan 16 16:46:01 obsidian master[167]: process started
Jan 16 16:46:01 obsidian ctl_cyrusdb[168]: recovering cyrus databases
Jan 16 16:46:01 obsidian ctl_cyrusdb[168]: skiplist: recovered 
/var/imap/mailboxes.db (1 record, 320 bytes) in 0 seconds
Jan 16 16:46:01 obsidian ctl_cyrusdb[168]: done recovering cyrus databases
Jan 16 16:46:02 obsidian master[167]: ready for work
Jan 16 16:46:02 obsidian ctl_cyrusdb[169]: checkpointing cyrus databases
Jan 16 16:46:02 obsidian ctl_cyrusdb[169]: DBERROR: error listing log 
files: DB_NOTFOUND: No matching key/data pair found
Jan 16 16:46:02 obsidian ctl_cyrusdb[169]: DBERROR: archive /var/imap/db: 
cyrusdb error
Jan 16 16:46:02 obsidian ctl_cyrusdb[169]: done checkpointing cyrus databases

Recovering works ok...
But checkpointing has problems.


Second server (Same hardware, FreeBSD 4.9 etc.)

Configure options

make WITH_BDB_VER=41 install clean

name       : Cyrus IMAPD
version    : v2.1.16 2003/11/19 16:45:28
vendor     : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os         : FreeBSD
os-version : 4.9-RELEASE
environment: Cyrus SASL 2.1.17
              Sleepycat Software: Berkeley DB 4.1.25: (December 19, 2002)
              Built w/OpenSSL 0.9.7c 30 Sep 2003
              Running w/OpenSSL 0.9.7c 30 Sep 2003
              CMU Sieve 2.2
              TCP Wrappers
              mmap = shared
              lock = fcntl
              nonblock = fcntl
              auth = unix
              idle = poll
              mailboxes.db = db3
              seen.db = flat
              subs.db = flat
              deliver.db = db3-nosync
              tls_sessions.db = db3-nosync

mailboxes is db3
seen is flat

Jan 16 16:49:30 scarydaemon master[107]: process started
Jan 16 16:49:30 scarydaemon ctl_cyrusdb[110]: recovering cyrus databases
Jan 16 16:49:31 scarydaemon ctl_cyrusdb[110]: done recovering cyrus databases
Jan 16 16:49:31 scarydaemon master[107]: ready for work
Jan 16 16:49:31 scarydaemon ctl_cyrusdb[119]: checkpointing cyrus databases
Jan 16 16:49:31 scarydaemon ctl_cyrusdb[119]: done checkpointing cyrus 
databases

No problems...

Any ideas?

Thanks.





More information about the Info-cyrus mailing list