I had that same problem last week. With RedHat Enterprise 3, which is basically Red Hat 9... Still not sure what caused it exactly, so if you find out anything please let the list know. What I did notice was if I deleted all the files under /var/imap/db, it would work again until the next reboot or stopping of cyrus.. It really seemed like to me the mailboxes file was corrupted. Maybe you can try running reconstruct to see if that works for you. I didn't have much time to investigate, so I just rebuilt cyrus again and used a backedup mailboxes file that I knew was good.
----- Original Message ----- From: "Roberto Leibman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 21, 2004 5:17 PM Subject: Cyrus stops working after reboot > Hi all! > It took me weeks to get everything running, and everything seemed to be > working great until I rebooted my computer (moved it to another side of > the room). Cyrus is no longer working. > > Environment: Here are the various components that are involved > > RedHat 9 > Cyrus > Fetchmail > Sendmail > Sieve > Spamasssassin > Spamass-milter > > Here's an excerpt of my syslog: > > Mar 21 14:29:38 www deliver[23226]: DBERROR: init() on berkeley > Mar 21 14:29:38 www deliver[23226]: connect(/var/imap/socket/lmtp) > failed: Connection refused > Mar 21 14:29:38 www deliver[23227]: DBERROR db4: /var/imap/db/__db.001: > unable to initialize environment lock: Function not implemented > Mar 21 14:29:38 www deliver[23227]: DBERROR: dbenv->open '/var/imap/db' > failed: Function not implemented > Mar 21 14:29:38 www deliver[23227]: DBERROR: init() on berkeley > Mar 21 14:29:38 www deliver[23227]: connect(/var/imap/socket/lmtp) > failed: Connection refused > Mar 21 14:29:38 www deliver[23228]: DBERROR db4: /var/imap/db/__db.001: > unable to initialize environment lock: Function not implemented > Mar 21 14:29:38 www deliver[23228]: DBERROR: dbenv->open '/var/imap/db' > failed: Function not implemented > Mar 21 14:29:38 www deliver[23228]: DBERROR: init() on berkeley > Mar 21 14:29:38 www deliver[23228]: connect(/var/imap/socket/lmtp) > failed: Connection refused > Mar 21 14:29:52 www master[23241]: setrlimit: Unable to set file > descriptors limit to -1: Operation not permitted > Mar 21 14:29:52 www master[23241]: retrying with 1024 (current max) > Mar 21 14:29:52 www ctl_cyrusdb[23243]: DBERROR db4: > /var/imap/db/__db.001: unable to initialize environment lock: Function > not implemented > Mar 21 14:29:52 www ctl_cyrusdb[23243]: DBERROR: dbenv->open > '/var/imap/db' failed: Function not implemented > Mar 21 14:29:52 www ctl_cyrusdb[23243]: DBERROR: init() on berkeley > Mar 21 14:29:52 www tls_prune[23247]: DBERROR db4: > /var/imap/db/__db.001: unable to initialize environment lock: Function > not implemented > Mar 21 14:29:52 www tls_prune[23247]: DBERROR: dbenv->open > '/var/imap/db' failed: Function not implemented > Mar 21 14:29:52 www tls_prune[23247]: DBERROR: init() on berkeley > Mar 21 14:29:52 www tls_prune[23247]: DBERROR db4: environment not yet > opened > Mar 21 14:29:52 www tls_prune[23247]: DBERROR: opening > /var/imap/tls_sessions.db: Invalid argument > Mar 21 14:29:52 www tls_prune[23247]: DBERROR: opening > /var/imap/tls_sessions.db: cyrusdb error > Mar 21 14:29:52 www ctl_cyrusdb[23249]: DBERROR db4: > /var/imap/db/__db.001: unable to initialize environment lock: Function > not implemented > Mar 21 14:29:52 www ctl_cyrusdb[23249]: DBERROR: dbenv->open > '/var/imap/db' failed: Function not implemented > Mar 21 14:29:52 www ctl_cyrusdb[23249]: DBERROR: init() on berkeley > Mar 21 14:29:52 www cyr_expire[23248]: DBERROR db4: > /var/imap/db/__db.001: unable to initialize environment lock: Function > not implemented > Mar 21 14:29:52 www cyr_expire[23248]: DBERROR: dbenv->open > '/var/imap/db' failed: Function not implemented > Mar 21 14:29:52 www cyr_expire[23248]: DBERROR: init() on berkeley > Mar 21 14:29:52 www ctl_cyrusdb[23249]: DBERROR db4: txn_checkpoint > interface requires an environment configured for the transaction > subsystem > Mar 21 14:29:52 www ctl_cyrusdb[23249]: DBERROR: couldn't checkpoint: > Invalid argument > Mar 21 14:29:52 www ctl_cyrusdb[23249]: DBERROR: sync /var/imap/db: > cyrusdb error > Mar 21 14:29:52 www ctl_cyrusdb[23249]: DBERROR db4: DB_ENV->log_archive > interface requires an environment configured for the logging subsystem > Mar 21 14:29:52 www ctl_cyrusdb[23249]: DBERROR: error listing log > files: Invalid argument > Mar 21 14:29:52 www ctl_cyrusdb[23249]: DBERROR: archive /var/imap/db: > cyrusdb error > Mar 21 14:29:52 www ctl_cyrusdb[23249]: DBERROR db4: txn_checkpoint > interface requires an environment configured for the transaction > subsystem > Mar 21 14:29:52 www ctl_cyrusdb[23249]: DBERROR: couldn't checkpoint: > Invalid argument > Mar 21 14:29:52 www ctl_cyrusdb[23249]: DBERROR: sync /var/imap/db: > cyrusdb error > Mar 21 14:29:52 www ctl_cyrusdb[23249]: DBERROR db4: DB_ENV->log_archive > interface requires an environment configured for the logging subsystem > Mar 21 14:29:52 www cyr_expire[23248]: DBERROR db4: environment not yet > opened > Mar 21 14:29:52 www ctl_cyrusdb[23249]: DBERROR: error listing log > files: Invalid argument > Mar 21 14:29:52 www cyr_expire[23248]: DBERROR: opening > /var/imap/deliver.db: Invalid argument > Mar 21 14:29:52 www ctl_cyrusdb[23249]: DBERROR: archive /var/imap/db: > cyrusdb error > Mar 21 14:29:52 www cyr_expire[23248]: DBERROR: opening > /var/imap/deliver.db: cyrusdb error > Mar 21 14:30:18 www deliver[23251]: DBERROR db4: /var/imap/db/__db.001: > unable to initialize environment lock: Function not implemented > Mar 21 14:30:18 www deliver[23251]: DBERROR: dbenv->open '/var/imap/db' > failed: Function not implemented > > Please help! > Let me know if you need more information! > > Roberto Leibman, who was very impressed until today... > > --- > Home Page: http://asg.web.cmu.edu/cyrus > Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > > --- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html