db5 / PANIC errors under 2.5.12?

Дилян Палаузов dilyan.palauzov at aegee.org
Fri Nov 23 07:00:20 EST 2018

Hello Karl,

man imapd.conf shows the default database types, e.g. check for
annotation_db, duplicate_db…  You likely have there explicit or
implicit berkeley database.  With cvt_cyrusdb you can switch between
database formats.  You use the latter to convert to e.g. twoskip and
then update imapd.conf to state, that the database is in twoskip

On my system the files in imap/db/ were not changed since 2016, I guess
when I upgraded at that time.


On Wed, 2018-11-21 at 10:15 +0000, Karl Pielorz wrote:
> This just happened again, on a different server...
> Having spent more time looking at this - the error:
>   Nov 21 07:45:30 imaps[72501]: DBERROR db5: BDB1581 File handles still 
> open at environment close
> I'm guessing "db5" is indeed Berkeley DB5 - so even though in our 
> imapd.conf we don't specify 'berkeley' anywhere (and 'files' on all the .db 
> files confirms - they're all twoskip) - the database being created in 
> '/vol/host/imap/db/' is likely still berkeley.
> How can I change this? - In imapd.conf I can see a myriad of 
> 'seenstate_db', 'mboxlist_db' - but I can't see anything that relates to 
> the files in that DB directory.
> To be honest - I can't see anywhere what that database is actually called 
> (which might help me track down how to change it's format - if you can?)
> Does anyone know what the database that lives off of 'db/' is actually 
> called / used for? - And how I can change it's format, that is presuming 
> the issues I'm seeing are caused by it still being berkeley?
> -Karl

More information about the Cyrus-devel mailing list