Please help! Probs with cyrus-imapd 2.1.9 and db3 - DBERROR db3: Unable to allocate memory
Marc Sebastian Pelzer
marc at have-it.net
Mon Nov 18 11:26:57 EST 2002
On Mon, 18 Nov 2002 14:20:51 +0100
Carsten Hoeger <choeger at suse.de> wrote:
Hi,
thanks to Carsten for the quick answer.
> > i successfully compiled cyrus-imapd 2.1.9 with SASL 2.1.9 and
> > Berkeley DB 3.1.17 on a Sun Sparc 10 with SuSE 7.3 and 128MB RAM and
> > get the following errors in /var/log/messages after starting the
> > '/usr/cyrus/bin/master' process and try to test it via 'telnet
> > prime 143'. Telnet opens the connection and then 'hangs' - no
> > prompt from the imap-Server.
> >
> > I read the mailinglist-archives, searched the SuSE Help-DB and read
> > the FAQ's but didnt find anything that solves the problem. I only
> > found questions from users with the same problem - but no answers.
>
> You need the attached patch for the bdb3.
I apply the patch and 'make clean' && re-compile db3, SASL and imapd but
it doesnt work for me:
Nov 18 17:08:55 prime master: setrlimit: Unable to set file descriptors
limit to 2147483647: Operation not permitted Nov 18 17:08:55 prime
master[7532]: process started Nov 18 17:08:55 prime master[7533]: about
to exec /usr/cyrus/bin/ctl_cyrusdb Nov 18 17:08:55 prime
ctl_cyrusdb[7533]: recovering cyrus databases Nov 18 17:08:59 prime
ctl_cyrusdb[7533]: DBERROR db3: Unable to allocate memory for the lock
table
Nov 18 17:09:31 prime ctl_cyrusdb[7533]: DBERROR: dbenv->open
'/var/imap/db' failed: Cannot allocate memory Nov 18 17:09:31 prime
ctl_cyrusdb[7533]: DBERROR: init /var/imap/db: cyrusdb error Nov 18
17:09:31 prime ctl_cyrusdb[7533]: DBERROR db3: environment not yet
opened Nov 18 17:09:31 prime ctl_cyrusdb[7533]: DBERROR: opening
/var/imap/mailboxes.db: Invalid argument Nov 18 17:09:31 prime
ctl_cyrusdb[7533]: DBERROR: opening /var/imap/mailboxes.db: cyrusdb
error Nov 18 17:09:31 prime master[7532]: process 7533 exited, status 75
Nov 18 17:09:31 prime master[7532]: ready for work
Nov 18 17:09:31 prime master[7534]: about to exec
/usr/cyrus/bin/ctl_cyrusdb Nov 18 17:09:31 prime master[7535]: about to
exec /usr/cyrus/bin/ctl_deliver Nov 18 17:09:31 prime master[7536]:
about to exec /usr/cyrus/bin/tls_prune Nov 18 17:09:31 prime
ctl_cyrusdb[7534]: checkpointing cyrus databases Nov 18 17:09:34 prime
ctl_cyrusdb[7534]: DBERROR db3: Unable to allocate memory for the lock
table Nov 18 17:09:37 prime tls_prune[7536]: DBERROR db3: Unable to
allocate memory for the lock table Nov 18 17:09:38 prime
ctl_cyrusdb[7534]: DBERROR: dbenv->open '/var/imap/db' failed: Cannot
allocate memory Nov 18 17:09:38 prime ctl_cyrusdb[7534]: DBERROR: init
/var/imap/db: cyrusdb error Nov 18 17:09:38 prime ctl_cyrusdb[7534]:
done checkpointing cyrus databases Nov 18 17:09:38 prime master[7532]:
process 7534 exited, status 1 Nov 18 17:09:41 prime ctl_deliver[7535]:
DBERROR db3: Unable to allocate memory for the lock table Nov 18
17:09:42 prime tls_prune[7536]: DBERROR: dbenv->open '/var/imap/db'
failed: Cannot allocate memory Nov 18 17:09:42 prime tls_prune[7536]:
DBERROR db3: environment not yet opened Nov 18 17:09:42 prime
tls_prune[7536]: DBERROR: opening /var/imap/tls_sessions.db: Invalid
argument Nov 18 17:09:42 prime tls_prune[7536]: DBERROR: opening
/var/imap/tls_sessions.db: cyrusdb error Nov 18 17:09:42 prime
master[7532]: process 7536 exited, status 1 Nov 18 17:09:43 prime
ctl_deliver[7535]: DBERROR: dbenv->open '/var/imap/db' failed: Cannot
allocate memory Nov 18 17:09:43 prime ctl_deliver[7535]: DBERROR: init
/var/imap/db: cyrusdb error Nov 18 17:09:43 prime master[7532]: process
7535 exited, status 1
Nov 18 17:10:07 prime master[7537]: about to exec /usr/cyrus/bin/imapd
Nov 18 17:10:07 prime imap[7537]: executed
Nov 18 17:10:10 prime imapd[7537]: DBERROR db3: Unable to allocate
memory for the lock table Nov 18 17:10:10 prime imapd[7537]: DBERROR:
dbenv->open '/var/imap/db' failed: Cannot allocate memory Nov 18
17:10:10 prime master[7532]: process 7537 exited, status 75
Regards, Marc.
More information about the Info-cyrus
mailing list