DBERROR db4: /var/lib/imap/db/__db.001: unable to initialize environment lock: Function not implemented

Thomas Boernert tb at tbits.net
Sun May 25 17:21:13 EDT 2003


Hello Cyrus! (everyone ;-))

i'm using your sasl and imapd ;-), that's fine, but there
are some big problems.

Version SASL 2.1.13
Version IMAP 2.1.13
(both SRPMS from Simon Matter)

OS: RedHat 9.0 (on RH 8 it's working)

I'm using Berkeley DB 4.0.14 build from RedHat.

Problem 1:
May 25 22:08:32 jockel ctl_cyrusdb[17650]: checkpointing cyrus databases
May 25 22:08:32 jockel ctl_cyrusdb[17650]: DBERROR db4:
/var/lib/imap/db/__db.001: unable to initialize environment lock:
Function not implemented
May 25 22:08:32 jockel ctl_cyrusdb[17650]: DBERROR: dbenv->open
'/var/lib/imap/db' failed: Function not implemented
May 25 22:08:32 jockel ctl_cyrusdb[17650]: DBERROR: init
/var/lib/imap/db: cyrusdb error
May 25 22:08:32 jockel ctl_cyrusdb[17650]: done checkpointing cyrus
databases

Problem 2:
May 25 01:08:32 jockel lmtpd[7633]: DBERROR db4:
/var/lib/imap/db/__db.001: unable to initialize environment lock:
Function not implemented
May 25 01:08:32 jockel lmtpd[7633]: DBERROR: dbenv->open
'/var/lib/imap/db' failed: Function not implemented
May 25 01:08:32 jockel lmtpd[7633]: DBERROR: init /var/lib/imap/db:
cyrusdb error
May 25 01:08:32 jockel lmtpd[7633]: lmtpd: unable to init duplicate
delivery database

I've no problems building the sasl and imapd.

my imapd.conf
<------------------------ snip --------------------------->
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
allowanonymouslogin: no
autocreatequota: 1000000
quotawarn: 90
timeout: 30
poptimeout: 10
popminpoll: 15
servername: pop.tbits.net
sievedir: /var/lib/imap/sieve
sieve_maxscriptsize: 32
sieve_maxscripts: 5
hashimapspool: true
allowplaintext: yes
sasl_pwcheck_method: saslauthd
sasl_mech_list: LOGIN PLAIN NTLM DIGEST-MD5
tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem
tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem
<------------------------ snip --------------------------->

my cyrus.conf
<------------------------ snip --------------------------->
# 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/lib/imap/sockets
SERVICES {
  # add or remove based on preferences
  imap          cmd="imapd" listen="[localhost]:imap" prefork=5
  imaps         cmd="imapd -s" listen="[localhost]:imaps" prefork=1
  pop3          cmd="pop3d" listen="[pop]:pop3" prefork=3
  pop3s         cmd="pop3d -s" listen="[pop]:pop3s" prefork=1
  sieve         cmd="timsieved" listen="[localhost]:sieve" prefork=0

  # at least one LMTP is required for delivery
#  lmtp         cmd="lmtpd" listen="[localhost]:lmtp" prefork=0
  lmtpunix      cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1

  # this is only necessary if using notifications
#  notify       cmd="notifyd" listen="/var/lib/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
  delprune      cmd="ctl_deliver -E 3" at=0400

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

Thanks for help !

Have a nice day.

-Thomas






More information about the Info-cyrus mailing list