Has Berkeley DB bitten us at last?

Andreas Hasenack andreas at conectiva.com.br
Tue Jan 18 14:12:39 EST 2005

On Tue, Jan 18, 2005 at 07:23:53PM +0100, Sebastian Hagedorn wrote:
> Up to now we haven't had any problems attributable to Berkeley DB, contrary 
> to the experience of several other people. But today the following appeared 
> in our logs:
> Jan 18 13:16:25 lvr13 ctl_cyrusdb[24512]: checkpointing cyrus databases
> Jan 18 13:16:25 lvr13 ctl_cyrusdb[24512]: archiving database file: 
> /var/lib/imap/annotations.db
> Jan 18 13:16:25 lvr13 ctl_cyrusdb[24512]: DBERROR db4: 
> /var/lib/imap/db/log.0000001081: log file open failed: Permission denied
> For some reason the file /var/lib/imap/db/log.0000001081 belonged to root! 
> I am pretty sure that nobody changed the ownership manually. Is this a 

Seems someone ran recover (either db_recover or cyrus' recover utility) as root.
Happened to me a lot during my early days with cyrus.

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