Hi guys,

My server ran out of disk space today, and when I fixed it, cyrus was not
running properly. I have had this problem in the past, and fixed it by
regenerating the deliver.db file, but that does not work this time, the
problem seems to be with the mailboxes.db file. To be honest, I have been
running cyrus for a couple of years with no big problems, so I am really not
up on it, not having to fix anything much. Right now my mailserver is down
and I have angry users :(

Okay, so when I start cyrus, I get these errors:

Dec  1 14:27:11 ns ctl_cyrusdb[21924]: checkpointing cyrus databases
Dec  1 14:27:11 ns ctl_cyrusdb[21924]: DBERROR db4: fatal region error
detected; run recovery
Dec  1 14:27:11 ns ctl_cyrusdb[21924]: DBERROR: dbenv->open '/var/imap/db'
failed: DB_RUNRECOVERY: Fatal error, run database recovery
Dec  1 14:27:11 ns ctl_cyrusdb[21924]: DBERROR: init /var/imap/db: cyrusdb
error
Dec  1 14:27:11 ns ctl_cyrusdb[21924]: done checkpointing cyrus databases

so I have tried to reconstruct them but this happens:

[EMAIL PROTECTED] imap]$ /usr/cyrus/bin/reconstruct
reconstruct: can't initialize mboxlist environment

I found a page online (
http://david.codebase.ca/index.cgi/os%20x/cyrus.writeback)  that suggests a
fix, but I can not find the mkimap command anywhere on my server (linux, his
is OSX), so I can't do that properly. So the WIKI FAQ for cyrus says that if
i do have a corrupted mailboxes file: "The first is to see if db_recover can
recover your database. If that doesnt' work, there should be backups in
$CONFIGDIRECTORY/db.backup1 and $CONFIGDIRECTORY/db.backup2 that may be OK."

I have run db_recover in the /var/imap directory and it doesn't alter the
mailboxes file or help at all, and the db.backup2 DOES have a
mailboxes.dbfile in it, however it seems to be the exact same file as
I am using now,
and is dated as of an hour ago, so I think it made a backup of the corrupted
file perhaps?

I am lost, can anyone point me in the right direction? I hate to be the dumb
guy asking for help, but I'm really panicking.

thanks,

andrew
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to