Hmmm - I specified --with-db=db:

CFLAGS=-I/usr/local/include CXXFLAGS=-I/usr/local/include \
LDFLAGS=-L/usr/local/lib \
CXX=/usr/local/bin/g++32 CC=/usr/local/bin/gcc32 ./configure \
--prefix=/usr/local/courier \
--with-mailuser=courier \
--with-mailgroup=courier \
--with-paranoid-smtpext \
--without-authpam \
--without-authldap \
--without-authpwd \
--with-authmysql \
--without-authpgsql \
--without-authshadow \
--without-authuserdb \
--without-authvchkpw \
--without-authcram \
--enable-https=auto \
--enable-workarounds-for-imap-client-bugs \
--with-certdb=/usr/local/ssl/certs \
--enable-webpass=no \
--with-ispell=/usr/local/bin/ispell \
--without-ipv6 \
--enable-mimetypes=/usr/local/apache80/conf/mime.types \
--with-db=db

And I still see the same error. Well almost - the log entries are reversed
with the current version ;-)

courieresmtpd: submitclient: EOF from submit.
courieresmtpd: gdbm fatal: couldn't init cache

Any other trickery to get it to believe me when I say "DB"?

ls -l /usr/local/lib/libdb*
lrwxr-xr-x  1 root  wheel      11 Dec  1 07:40 libdb.so -> libdb3.so.3
-rw-r--r--  1 root  wheel  731534 Dec  1 07:38 libdb3.a
lrwxr-xr-x  1 root  wheel      11 Dec  1 07:38 libdb3.so -> libdb3.so.3
-rwxr-xr-x  1 root  wheel  563620 Dec  1 07:38 libdb3.so.3
-rw-r--r--  1 root  wheel  779416 Dec  1 07:38 libdb3_cxx.a
lrwxr-xr-x  1 root  wheel      15 Dec  1 07:38 libdb3_cxx.so ->
libdb3_cxx.so.3
-rwxr-xr-x  1 root  wheel  646473 Dec  1 07:38 libdb3_cxx.so.3

ls -l /usr/local/include/db*
lrwxr-xr-x  1 root  wheel  8 Dec  1 07:40 /usr/local/include/db.h ->
db3/db.h

/usr/local/include/db3:
total 90
-r--r--r--  1 root  wheel   1209 Apr 29  2001 cxx_common.h
-r--r--r--  1 root  wheel   2129 May  9  2001 cxx_except.h
-r--r--r--  1 root  wheel  57225 Dec  1 07:37 db.h
-r--r--r--  1 root  wheel   5820 Dec  1 07:37 db_185.h
-r--r--r--  1 root  wheel  20629 Jun 27  2001 db_cxx.h

Must be somethign I'm missing...

m/

-----Original Message-----
From: Gordon Messmer [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 30, 2003 10:07 PM
To: Mitch (WebCob)
Cc: Courier Users
Subject: Re: [courier-users] gdbm fatal: couldn't init cache -- any idea
of the source?


Mitch (WebCob) wrote:
> Hmmm - so what did you do to fix?

I installed db3, made sure that libdb.so was a symlink to libdb3.so, and
that db.h was a symlink to db3/db.h.  Recompiled courier with
--with-db=db so that gdbm wasn't used.  Removed all of the dat files
from etc/courier and ran the required "make*" commands to regenerate
them.  Courier worked fine with db3.

> I did check that there were no limits for the courier user though... set a
> shell for the user and ran ulimit - it returns "unlimited" - also checked
> the login.conf - no limits in effect that I can see.

We came up with the same thing, but gdbm should only print that error if
  it fails to malloc() memory for its "bucket_cache".  FreeBSD has a
malloc implementation that allows for debugging, IIRC.  Perhaps that
facility could help you track it down.  I'm trying to get access to the
debugging information I left when I tracked this problem down myself.





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to