Hi Jeff,

setting up Imap 2.0.9/sasl 1.5.24/BerkeleyDB3.1 on SuSE 7.0 led me into
the same problem. It was caused by sasl, which didn't compile/link with
the Berkeley 3.1. There is no sasl configure switch to tell sasl about
the lib and its include directory. Set up LDFLAGS and CPPFlags
accordingly and it works.

This is the script I used to invoke "configure" :

export CPPFLAGS=-I/usr/local/BerkeleyDB.3.1/include
export LDFLAGS=-L/usr/local/BerkeleyDB.3.1/lib
./configure \
--with-pwcheck \
--without-krb \
--without-gssapi                                  

When the build is complete, you may test it with the command "strings
-n4 utils/.libs/saslpasswd | grep "libdb"" from the top src directory
and you should see something like "libdb-3.xxxx". If it shows
"libdb.so.3-or-something", you got an elder, incompatible version, which
ships on linux systems with the shutils package and is located in /lib.
It is also required but not in the first instance.
Hope it helps.

All the best ... Michael

Jeff_Newton wrote:
> 
> I could really use some help troubleshooting my install.  Thanks in
> advance for your suggestions!!
> 
> I manually compiled and installed the following:
> 
> db-3.2.9
> cyrus-sasl-1.5.24
> cyrus-imapd-2.0.11
> 
> After starting /usr/cyrus/bin/master I try the following test:
> 
> $ telnet localhost imap
> Trying 127.0.0.1...
> Connected to newton.
> Escape character is '^]'.
> 
> It just hangs there until I kill the telnet.  This is what
> /var/log/imapd.log reports:
> 
> Feb  6 13:20:21 newton master[801]: set maximum file descriptors to
> 256/256
> Feb  6 13:20:21 newton master[801]: about to exec
> /usr/cyrus/bin/ctl_mboxlist
> Feb  6 13:20:24 newton ctl_mboxlist[801]: running mboxlist recovery
> Feb  6 13:20:24 newton master[798]: process 801 exited, signaled to
> death by 11
> Feb  6 13:20:24 newton master[813]: set maximum file descriptors to
> 256/256
> Feb  6 13:20:24 newton master[813]: about to exec
> /usr/cyrus/bin/ctl_deliver
> Feb  6 13:20:25 newton master[798]: process 813 exited, signaled to
> death by 11
> Feb  6 13:20:26 newton master[798]: ready for work
> Feb  6 13:20:26 newton master[814]: set maximum file descriptors to
> 256/256
> Feb  6 13:20:26 newton master[814]: about to exec
> /usr/cyrus/bin/ctl_mboxlist
> Feb  6 13:20:26 newton master[815]: set maximum file descriptors to
> 256/256
> Feb  6 13:20:26 newton master[815]: about to exec
> /usr/cyrus/bin/ctl_deliver
> Feb  6 13:20:26 newton master[798]: process 815 exited, signaled to
> death by 11
> Feb  6 13:20:26 newton ctl_mboxlist[814]: checkpointing mboxlist
> Feb  6 13:20:26 newton master[798]: process 814 exited, signaled to
> death by 11
> Feb  6 13:50:26 newton master[878]: set maximum file descriptors to
> 256/256
> Feb  6 13:50:26 newton master[878]: about to exec
> /usr/cyrus/bin/ctl_mboxlist
> Feb  6 13:50:27 newton ctl_mboxlist[878]: checkpointing mboxlist
> Feb  6 13:50:27 newton master[798]: process 878 exited, signaled to
> death by 11
> Feb  6 13:57:28 newton master[951]: set maximum file descriptors to
> 256/256
> Feb  6 13:57:28 newton master[951]: about to exec /usr/cyrus/bin/imapd
> Feb  6 13:57:28 newton service-imapd[951]: executed
> Feb  6 13:57:29 newton master[798]: process 951 exited, signaled to
> death by 11
> 
> --
> Jeff Newton
> Security Analyst
> PMC-Sierra Inc.

Reply via email to