DB positions

Andrea Venturoli ml at netfence.it
Wed Jun 29 04:52:26 EDT 2016


Hello.

Just a quick question: I have FreeBSD box wich cyrus-imap 2.5.8 
installed and I'm seing some strange messages in the logs, i.e.

> Jun 29 10:46:09 xxxxxx imaps[51333]: DBERROR db6: /var/imap/db/__db.001: No such file or directory
> Jun 29 10:46:09 xxxxxx imaps[51333]: DBERROR: dbenv->open '/var/imap/db' failed: No such file or directory
> Jun 29 10:46:09 xxxxxx imaps[51333]: DBERROR: init() on berkeley
> Jun 29 10:46:09 xxxxxx imaps[51333]: DBERROR: reading /var/imap/db/skipstamp, assuming the worst: No such file or directory



Now, in fact, I don't have /var/imap/db!

> # ls -l /var/imap/
> total 416
> -rw-------  1 cyrus  mail     336 Nov  6  2015 annotations.db
> drwx------  2 cyrus  mail     512 Jun 29 10:30 db.backup1
> drwx------  2 cyrus  mail     512 Jun 29 10:00 db.backup2
> -rw-------  1 cyrus  mail  108840 Jun 29 10:47 deliver.db
> drwxr-xr-x  5 cyrus  mail     512 Nov 20  2015 domain
> drwxr-xr-x  5 cyrus  mail     512 Dec 16  2015 lock
> drwxr-xr-x  3 cyrus  mail     512 Jun  7 17:41 log
> -rw-------  1 cyrus  mail  248208 Jun 28 04:00 mailboxes.db
> drwxr-xr-x  2 cyrus  mail    2048 Jun 29 10:47 proc
> drwxr-xr-x  2 cyrus  mail    1024 Jun  7 17:44 proc.old
> drwx------  3 cyrus  mail     512 Jun  6 13:24 sieve
> drwxr-x---  2 cyrus  mail    4608 Jun 29 10:47 socket
> -rw-------  1 cyrus  mail     336 Nov  9  2015 statuscache.db
> -rw-------  1 cyrus  mail   10600 Jun 29 08:28 tls_sessions.db
> drwxr-xr-x  4 cyrus  mail     512 Nov  6  2015 user

But, as you can see I have db.backup1 and db.backup2, which seems to be 
correctly updated with their own copy of mailboxes.db and annotations.db.


What are the consequences of the above?
Should I try and fix this, given the server seems to works perfectly? 
How do I do it?


  bye & Thanks
	av.


More information about the Info-cyrus mailing list