missing directories when using berkeley for seenstate_db

Bron Gondwana brong at fastmail.fm
Wed Jan 11 12:01:20 EST 2012


On Wed, Jan 11, 2012 at 03:54:29PM +0100, Thilo Uttendorfer wrote:
> Hi,
> 
> I recently switched the seenstate_db from skiplist to berkeley. It seems that
> the creation of directories is missing. I'm getting errors like this:

Why would you do that?  Berkeley is being removed due to
difficult in upgrading.  I don't expect you will get
measurable benefits.

> DBERROR: opening /var/lib/cyrus/domain/c/coreboso.de/user/d/demo.seen: cyrusdb error
> DBERROR: opening /var/lib/cyrus/domain/c/coreboso.de/user/d/demo.seen: No such file or directory
> 
> If I manually create /var/lib/cyrus/domain/c/coreboso.de/user/d/ everything
> works as expected. I hacked a (not so nice) patch for lib/cyrusdb_berkeley.c to fix this
> issue. Feel free to include it.

I probably won't, because that's not the direction that we're taking
things.  Thanks though.

Just out of interest - what version are you running?

Bron.


More information about the Cyrus-devel mailing list