Skiplist causing DB problems?

Ken Murchison ken at oceana.com
Sun Jan 18 13:44:03 EST 2004



Jason Williams wrote:

> 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

These are db3 errors, not skiplist errors.  If this is a new server, try 
deleting deliver.db, tls_sessions.db and the contents of /var/imap/db


-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp





More information about the Info-cyrus mailing list