installing 2.3.16 on slackware64-13

James Meara james at whitecube.com
Tue May 11 12:23:10 EDT 2010


Hi,

I'm trying to get cyrus imap running on new machine, I've compiled and 
installed it without errors but when I start master the imapd processes 
are dying immediately from what looks like a divide by zero error.

I'm going from 2.2.12 to 2.3.16 so I'm not entirely sure I've got the 
config right.

Here is my imap.conf

configdirectory: /srv/imap
partition-default: /srv/imap/spool
admins: root
sasl_pwcheck_method: auxprop saslauthd
allowanonymouslogin: 0
servername: mercury
allowplaintext: yes
reject8bit: no
sendmail: /usr/sbin/sendmail
tls_cert_file: /etc/ssl/imap.whitecube.com.cert.pem
tls_key_file: /etc/ssl/imap.whitecube.com.key.pem
tls_session_timeout: 0
altnamespace: 1
unixhierarchysep: 0
sievedir: /srv/imap/sieve
idlesocket: /var/imap/socket/idle
lmtpsocket: /var/imap/socket/lmtp

and cyrus.conf

# standard standalone server implementation

START {
  # do not delete this entry!
  recover       cmd="ctl_cyrusdb -r"

  # this is only necessary if using idled for IMAP IDLE
  idled                cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
  # add or remove based on preferences
  imap          cmd="imapd -T 0" listen="imap" prefork=9
  imaps         cmd="imapd -s -T 0" listen="imaps" prefork=2
#  pop3         cmd="pop3d" listen="pop3" prefork=0
#  pop3s                cmd="pop3d -s" listen="pop3s" prefork=0
  sieve         cmd="timsieved" listen="sieve" prefork=1

  # these are only necessary if receiving/exporting usenet via NNTP
#  nntp         cmd="nntpd" listen="nntp" prefork=0
#  nntps                cmd="nntpd -s" listen="nntps" prefork=0

  # at least one LMTP is required for delivery
#  lmtp         cmd="lmtpd" listen="lmtp" prefork=0
  lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0

  # this is only necessary if using notifications
#  notify       cmd="notifyd" listen="/var/imap/socket/notify" 
proto="udp" prefork=1
}

EVENTS {
  # this is required
  checkpoint    cmd="ctl_cyrusdb -c" period=30

  # this is only necessary if using duplicate delivery suppression,
  # Sieve or NNTP
  delprune     cmd="cyr_expire -E 3"at=0400

  # this is only necessary if caching TLS sessions
  tlsprune      cmd="tls_prune" at=0400
}

this is what I get from ps

cyrus     9661  7.0  0.0  51204  3932 pts/0    S    17:23   0:00 
/usr/cyrus/bin/master
cyrus     9666  0.0  0.0  85620  2500 pts/0    S    17:23   0:00 timsieved
cyrus     9669  0.0  0.0  85620  2500 pts/0    S    17:23   0:00 timsieved
cyrus    10609  0.0  0.0      0     0 pts/0    Z    17:23   0:00 [imapd] 
<defunct>
cyrus    10611  0.0  0.0      0     0 pts/0    Z    17:23   0:00 [imapd] 
<defunct>
cyrus    10612  0.0  0.0      0     0 pts/0    Z    17:23   0:00 [imapd] 
<defunct>
cyrus    10613  0.0  0.0      0     0 pts/0    Z    17:23   0:00 [imapd] 
<defunct>
cyrus    10614  0.0  0.0      0     0 pts/0    Z    17:23   0:00 [imapd] 
<defunct>
cyrus    10615  0.0  0.0      0     0 pts/0    Z    17:23   0:00 [imapd] 
<defunct>
cyrus    10616  0.0  0.0      0     0 pts/0    Z    17:23   0:00 [imapd] 
<defunct>
cyrus    10617  0.0  0.0      0     0 pts/0    Z    17:23   0:00 [imapd] 
<defunct>
cyrus    10622  0.0  0.0      0     0 pts/0    Z    17:23   0:00 [imapd] 
<defunct>
cyrus    10623  0.0  0.0      0     0 pts/0    Z    17:23   0:00 [imapd] 
<defunct>


and in  the logs

May 11 17:23:52 mercury1 master[9661]: process started
May 11 17:23:52 mercury1 ctl_cyrusdb[9662]: recovering cyrus databases
May 11 17:23:52 mercury1 ctl_cyrusdb[9662]: skiplist: checkpointed 
/srv/imap/mailboxes.db (18265 records, 1802644 bytes) in 0 seconds
May 11 17:23:52 mercury1 ctl_cyrusdb[9662]: skiplist: checkpointed 
/srv/imap/annotations.db (0 records, 144 bytes) in 0 seconds
May 11 17:23:52 mercury1 ctl_cyrusdb[9662]: done recovering cyrus databases
May 11 17:23:52 mercury1 master[9661]: ready for work
May 11 17:23:52 mercury1 ctl_cyrusdb[9663]: checkpointing cyrus databases
May 11 17:23:52 mercury1 kernel: imapd[9664] trap divide error ip:407487 
sp:7fff5fa64420 error:0 in imapd[400000+102000]
May 11 17:23:52 mercury1 kernel: imapd[9667] trap divide error ip:407487 
sp:7fff0c8c7c90 error:0 in imapd[400000+102000]
May 11 17:23:52 mercury1 kernel: imapd[9668] trap divide error ip:407487 
sp:7fffdd4ce590 error:0 in imapd[400000+102000]
May 11 17:23:52 mercury1 kernel: imapd[9670] trap divide error ip:407487 
sp:7fff511f9b90 error:0 in imapd[400000+102000]
May 11 17:23:52 mercury1 kernel: imapd[9671] trap divide error ip:407487 
sp:7fff821772f0 error:0 in imapd[400000+102000]
May 11 17:23:52 mercury1 kernel: imapd[9673] trap divide error ip:407487 
sp:7fff6f737320 error:0 in imapd[400000+102000]
May 11 17:23:52 mercury1 kernel: imapd[9675] trap divide error ip:407487 
sp:7fff30f1f7b0 error:0 in imapd[400000+102000]
May 11 17:23:52 mercury1 kernel: imapd[9672] trap divide error ip:407487 
sp:7ffffc44a3d0 error:0 in imapd[400000+102000]
May 11 17:23:52 mercury1 kernel: imapd[9678] trap divide error ip:407487 
sp:7fffda1ffa50 error:0 in imapd[400000+102000]
May 11 17:23:52 mercury1 kernel: imapd[9679] trap divide error ip:407487 
sp:7fff01b39af0 error:0 in imapd[400000+102000]
May 11 17:23:52 mercury1 ctl_cyrusdb[9663]: done checkpointing cyrus 
databases
May 11 17:24:04 mercury1 kernel: imapd[10625] trap divide error 
ip:407487 sp:7fff4fb14f90 error:0 in imapd[400000+102000]
May 11 17:24:04 mercury1 kernel: imapd[10626] trap divide error 
ip:407487 sp:7fff2de0ff70 error:0 in imapd[400000+102000]
May 11 17:24:04 mercury1 kernel: imapd[10627] trap divide error 
ip:407487 sp:7fff0ecfc950 error:0 in imapd[400000+102000]
May 11 17:24:04 mercury1 kernel: imapd[10628] trap divide error 
ip:407487 sp:7fff7f63e310 error:0 in imapd[400000+102000]
May 11 17:24:04 mercury1 kernel: imapd[10629] trap divide error 
ip:407487 sp:7fffe784f3c0 error:0 in imapd[400000+102000]
May 11 17:24:04 mercury1 kernel: imapd[10631] trap divide error 
ip:407487 sp:7fff21ffa010 error:0 in imapd[400000+102000]
May 11 17:24:04 mercury1 kernel: imapd[10632] trap divide error 
ip:407487 sp:7fff98caa700 error:0 in imapd[400000+102000]
May 11 17:24:04 mercury1 kernel: imapd[10634] trap divide error 
ip:407487 sp:7fff323a1440 error:0 in imapd[400000+102000]
May 11 17:24:04 mercury1 kernel: imapd[10635] trap divide error 
ip:407487 sp:7fff37d32de0 error:0 in imapd[400000+102000]

Any help would be great

Thanks,

James Meara


--

This communication, together with any attachments, is for the exclusive and confidential use of the addressee(s). Any other distribution, use, disclosure or reproduction without the sender's prior consent is unauthorised and strictly prohibited.  If you have received this e-mail in error please delete it and immediately notify the sender.  Any views or opinions expressed in this email are solely those of the author and do not necessarily represent those of White Cube Art LLP or MYJ Services Limited who accept no liability for loss or damage caused by viruses.

This email has been sent to you by White Cube Art LLP registered in British Columbia, Canada under registration no LL00367 or MYJ Services Limited registered in England and Wales under registration no 6808024.

Please consider the environment and whether you really need to print this e-mail.



More information about the Info-cyrus mailing list