I am having an odd problem using 2.1.3 in Mac OS X. If I start things from a terminal after logging in everything works great however when I run master from /Library/StartupItems I get the following:
Apr 1 22:26:15 localhost master[294]: process started Apr 1 22:26:15 localhost master[299]: about to exec /usr/cyrus/bin/ctl_cyrusdb Apr 1 22:26:15 localhost ctl_cyrusdb[299]: recovering cyrus databases Apr 1 22:26:33 localhost ctl_cyrusdb[299]: done recovering cyrus databases Apr 1 22:26:33 localhost master[294]: ready for work Apr 1 22:26:33 localhost master[326]: about to exec /usr/cyrus/bin/ctl_cyrusdb Apr 1 22:26:33 localhost master[327]: about to exec /usr/cyrus/bin/ctl_deliver Apr 1 22:26:33 localhost master[328]: about to exec /usr/cyrus/bin/tls_prune Apr 1 22:26:33 localhost ctl_cyrusdb[326]: checkpointing cyrus databases Apr 1 22:26:33 localhost ctl_cyrusdb[326]: DBERROR: archive /var/imap/db: cyrusdb error Apr 1 22:26:33 localhost ctl_cyrusdb[326]: archiving log file: /var/imap/db/log.0000000002 Apr 1 22:26:34 localhost tls_prune[328]: DBERROR: opening /var/imap/tls_sessions.db: Invalid argument Apr 1 22:26:34 localhost tls_prune[328]: DBERROR: opening /var/imap/tls_sessions.db: cyrusdb error Apr 1 22:26:34 localhost master[294]: process 328 exited, status 1 Apr 1 22:26:35 localhost ctl_cyrusdb[326]: done checkpointing cyrus databases Apr 1 22:26:35 localhost master[294]: process 326 exited, status 0 Apr 1 22:26:35 localhost ctl_deliver[327]: DBERROR db3: 4 lockers Apr 1 22:26:38 localhost master[294]: process 327 exited, signaled to death by 10 Apr 1 22:28:43 localhost master[381]: about to exec /usr/cyrus/bin/imapd Apr 1 22:28:43 localhost imap[381]: executed Apr 1 22:28:44 localhost imapd[381]: DBERROR: opening /var/imap/mailboxes.db: Invalid argument Apr 1 22:28:44 localhost imapd[381]: DBERROR: opening /var/imap/mailboxes.db: cyrusdb error Apr 1 22:28:44 localhost imapd[381]: DBERROR db3: Database handles open during environment close Apr 1 22:28:44 localhost imapd[381]: DBERROR: error exiting application: Invalid argument Apr 1 22:28:44 localhost imapd[381]: DBERROR: error exiting application: cyrusdb error Apr 1 22:28:44 localhost master[294]: process 381 exited, status 75 I have tried this with both DB 3.3 and DB 4.0 with the same results. If I kill and restart master at this point everything is great, but if I can't restart master at reboot it is rather useless to me. -kevin