problems running cyrus-imap-2.2.8

James Miller jimm at simutronics.com
Fri Sep 10 17:32:54 EDT 2004


Hi all,

I'm trying to run cyrus-imapd-2.2.8 and I'm having all kinds of problems.
Anytime imap gets called by master it complains.
I'm running a Debian Sid (mixed with a bit of Sarge).  Using BerkeleyDB-4.2
(w/the 2 patches).  One note, I wasn't able to get cyrus-imapd to compile
with db-4.2 w/out the -lpthread statement.

./configure
LDFLAGS="-lpthread" --with-auth=unix --with-bdb=/usr/local/BerkeleyDB.4.2/ \
--with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib/ --with-bdb-incdir=/usr/loca
l/BerkeleyDB.4.2/include/ \
--with-openssl --with-sasl=/usr/local/lib/sasl2/ --with-perl --enable-listex
t --with-cyrus-user=cyrus \
--with-cyrus-group=mail


Sep 10 14:18:34 mailbox master[7997]: process started
Sep 10 14:18:34 mailbox master[7998]: about to exec
/usr/cyrus/bin/ctl_cyrusdb
Sep 10 14:18:34 mailbox master[7999]: about to exec /usr/sbin/ctl_deliver
Sep 10 14:18:34 mailbox master[8000]: about to exec /usr/cyrus/bin/tls_prune
Sep 10 14:18:34 mailbox master[8007]: about to exec
/usr/cyrus/bin/ctl_cyrusdb
Sep 10 14:18:34 mailbox ctl_cyrusdb[8007]: archiving database file:
/var/lib/cyrus/annotations.db
Sep 10 14:18:34 mailbox ctl_cyrusdb[8007]: archiving log file:
/var/lib/cyrus/db/log.0000000001
Sep 10 14:18:34 mailbox ctl_cyrusdb[8007]: archiving database file:
/var/lib/cyrus/mailboxes.db
Sep 10 14:18:34 mailbox ctl_cyrusdb[8007]: archiving log file:
/var/lib/cyrus/db/log.0000000001
Sep 10 14:18:34 mailbox master[7997]: process 8007 exited, status 0
Sep 10 14:18:34 mailbox ctl_cyrusdb[7998]: recovering cyrus databases
Sep 10 14:18:34 mailbox ctl_cyrusdb[7998]: done recovering cyrus databases
Sep 10 14:18:34 mailbox tls_prune[8000]: tls_prune: purged 0 out of 0
entries
Sep 10 14:18:34 mailbox master[7997]: ready for work
Sep 10 14:18:34 mailbox ctl_cyrusdb[8007]: checkpointing cyrus databases
Sep 10 14:18:34 mailbox ctl_cyrusdb[8007]: done checkpointing cyrus
databases
Sep 10 14:18:56 mailbox master[8009]: about to exec /usr/cyrus/bin/imapd
Sep 10 14:18:56 mailbox imap[8009]: executed
Sep 10 14:18:56 mailbox imap[8009]: accepted connection
Sep 10 14:18:56 mailbox master[7997]: service imap pid 8009 in BUSY state:
terminated abnormally

Anytime imap runs I get the BUSY state: terminated abnormally error.

Here's the last part of an strace when I run 'cyradm --user cyrus
localhost':
uname({sys="Linux", node="mailbox", ...}) = 0
write(3, "1 CAPABILITY\r\n", 14)        = 14
select(4, [3], [], NULL, NULL)          = 1 (in [3])
read(3, "* BYE Fatal error: can\'t write p"..., 4096) = 42
select(4, [3], [], NULL, NULL)          = 1 (in [3])
read(3, "", 4096)                       = 0
write(3, "2 CAPABILITY\r\n", 14)        = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
+++ killed by SIGPIPE +++

And these 4 log entries
Sep 10 15:29:11 mailbox master[12653]: about to exec /usr/cyrus/bin/imapd
Sep 10 15:29:11 mailbox imap[12653]: executed
Sep 10 15:29:11 mailbox imap[12653]: accepted connection
Sep 10 15:29:11 mailbox master[12642]: service imap pid 12653 in BUSY state:
terminated abnormally





Thank you in advance for your help and assistance,

--Jim

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list