Cyrus linked to bad bdb
Patrick Boutilier
boutilpj at ednet.ns.ca
Wed Oct 13 21:45:51 EDT 2004
Sebastien Hould wrote:
> [newbie]
>
> Hi, I am attempting to install cyrus-imapd-2.1.16 on a Red Hat 9
> server. There was already an db4-4.0.14-20 RPM installed on the
> server and I believe it would be complicated due to dependencies to
> uninstall it and switch to Berkeley db-4.2.52.NC. So I have tried to
> simply install version of db-4.2.52.NC from src and link it to
> cyrus-sasl on compilation. My cyrus-imapd compilation went fine yet I
> get these messages from syslog...
Couple of things.
1. What does
ldd /usr/cyrus/bin/imapd (or wherever your imapd is)
show?
2. What configure options did you use to compile cyrus-sasl and
cyrus-imapd?
For sasl I have (among other options):
--with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib
--with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include
and for imapd (among other options):
--with-bdb=/usr/local/BerkeleyDB.4.2
--with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib
--with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include
>
>
> Oct 13 20:45:09 MySQL master[27712]: process started
> Oct 13 20:45:10 MySQL ctl_cyrusdb[27713]: recovering cyrus databases
> Oct 13 20:45:10 MySQL ctl_cyrusdb[27713]: incorrect version of
> Berkeley db: compiled against 4.2.52, linked against 4.0.14
> Oct 13 20:45:10 MySQL master[27712]: process 27713 exited, status 75
> Oct 13 20:45:10 MySQL master[27712]: unable to bind socket for service
> imap: Cannot assign requested address
> Oct 13 20:45:10 MySQL master[27712]: ready for work
> Oct 13 20:45:10 MySQL ctl_cyrusdb[27716]: checkpointing cyrus databases
> Oct 13 20:45:10 MySQL ctl_cyrusdb[27716]: incorrect version of
> Berkeley db: compiled against 4.2.52, linked against 4.0.14
> Oct 13 20:45:10 MySQL tls_prune[27714]: incorrect version of Berkeley
> db: compiled against 4.2.52, linked against 4.0.14
> Oct 13 20:45:10 MySQL ctl_deliver[27715]: incorrect version of
> Berkeley db: compiled against 4.2.52, linked against 4.0.14
> Oct 13 20:47:18 MySQL master[27724]: setrlimit: Unable to set file
> descriptors limit to -1: Operation not permitted
> Oct 13 20:47:18 MySQL master[27724]: retrying with 1024 (current max)
> Oct 13 20:47:18 MySQL master[27724]: cannot get exclusive lock on
> pidfile (is another master still running?)
> Oct 13 20:47:18 MySQL master[27724]: exiting
>
>
> How do I link it properly. I am puzzled and am not to familiar with libraries.
>
> thanks
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list