Ok, to be more exact:

Solaris 7 (sparc)
cyrus 2.0.14
cyrus-sasl 1.5.24
Berkeley DB 3.2.9
Postfix 20010228-pl03

I have about 120 users on the system, half of them IMAP, the other half
POP.

I've found a way to "restore" mailboxes.db.  I take a copy that hasn't
been corrupted, copy it over to /var/imap/mailboxes.db and run
reconstruct -r user.  This seems to fix the problem for a couple hours,
but then spontaneously I get the same errors again resulting in cyrus
failing to respond to any requests.

Any ideas what's causing this corruption and how to prevent it?

-Derek

[EMAIL PROTECTED] wrote:
> 
> You might provide the list with additional info, like what
> platform/os you're using.  And how many users are we talking
> about, anyway?  What version of db are you using?
> 
> -Amos
> 
> On Wed, 27 Jun 2001, derek spencer wrote:
> 
> > I'm running cyrus 2.0.14 on a machine that's been working fine for about 4
> > weeks.  I've thrown some more users on the system (not a lot), and it
> > appears that my mailboxes file is corrupt.  How can I recover from this?
> >
> > Jun 27 18:03:07 neo imapd[18194]: DBERROR
> > db3: /var/imap/mailboxes.db: unexpected file type or format
> > Jun 27 18:03:07 neo imapd[18194]: DBERROR: opening
> > /var/imap/mailboxes.db: Invalid argument
> > Jun 27 18:03:07 neo imapd[18194]: DBERROR: opening
> > /var/imap/mailboxes.db: cyrusdb error
> >
> >
> >

Reply via email to