Cyrus weirdness

February 12, 2007

Feb 12 23:35:35 server launchd: edu.cmu.andrew.cyrus.master: exited with exit code: 75

Feb 12 23:35:35 server launchd: edu.cmu.andrew.cyrus.master: respawning too quickly! throttling

Feb 12 23:35:35 server launchd: edu.cmu.andrew.cyrus.master: 1 more failure without living at least 60 seconds will cause job removal

Feb 12 23:35:35 server launchd: edu.cmu.andrew.cyrus.master: will restart in 10 seconds

Feb 12 23:35:45 server master[14119]: empty option value on line 14 of configuration file

Feb 12 23:35:45 server master[14119]: exiting

That’s just launchd’s special way of saying that that cyrus is not starting up. The question is - what conf file is it talking about? Let’s check:

> man cyrus-master

OK, so there’s two of them - /etc/cyrus.conf and /etc/imapd.conf. The first one had a comment on line 14, but the second one:

tls_common_name:

Setting a CN fixed the problem and cyrus was purring like a kitten again:

Feb 12 23:40:42 server master[14244]: process started

Feb 12 23:40:43 server ctl_cyrusdb[14245]: verifying cyrus databases

Feb 12 23:40:43 server ctl_cyrusdb[14245]: skiplist: recovered /var/imap/mailboxes.db (30 records, 5008 bytes) in 0 seconds

Feb 12 23:40:43 server ctl_cyrusdb[14245]: skiplist: recovered /var/imap/annotations.db (0 records, 144 bytes) in 0 seconds

Feb 12 23:40:43 server ctl_cyrusdb[14245]: done verifying cyrus databases

Feb 12 23:40:44 server master[14244]: ready for work