[bug-notifications] [openldap 0003862]: OpenLDAP no longer start after berkeley db upgrade to current

Mantis Bug Tracker noreply at opencsw.org
Sat Jan 9 10:18:41 CET 2010

The following issue has been ASSIGNED. 
Reported By:                wbonnet
Assigned To:                dam
Project:                    openldap
Issue ID:                   3862
Category:                   upgrade
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
Date Submitted:             2009-08-19 16:55 CEST
Last Modified:              2010-01-09 10:18 CET
Summary:                    OpenLDAP no longer start after berkeley db upgrade
to current
After upgrading packages to current, openldap no longer start. It still try
to use version 4.2 of bdb not 4.7, producing a "Unrecognized database type
(bdb) error"

Here are the start logs : 

line 9 (include         /opt/csw/etc/openldap/schema/openldap-lpk.schema)
reading config file /opt/csw/etc/openldap/schema/openldap-lpk.schema
line 13 (attributetype ( NAME
'sshPublicKey'    DESC 'MANDATORY: OpenSSH Public key'    EQUALITY
octetStringMatch    SYNTAX ))
line 19 (objectclass ( NAME 'ldapPublicKey'
SUP top AUXILIARY    DESC 'MANDATORY: OpenSSH LPK objectclass'    MUST (
sshPublicKey $ uid )    ))
line 17 (pidfile         /opt/csw/var/run/slapd.pid)
line 18 (argsfile        /opt/csw/var/run/slapd.args)
line 21 (modulepath      /opt/csw/libexec/openldap)
line 22 (moduleload      back_bdb.la)
loaded module back_bdb.la
bdb_back_initialize: initialize BDB backend
bdb_back_initialize: BDB library version mismatch: expected Sleepycat
Software: Berkeley DB 4.2.52: (December  3, 2003), got Berkeley DB 4.7.25:
(May 15, 2008)
backend_add:  initialization for type "bdb" failed
module back_bdb.la: null module registered
line 61 (database        bdb)
Unrecognized database type (bdb)
/opt/csw/etc/openldap/slapd.conf: line 61: <database> failed init (bdb)!
slapd destroy: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.


 (0006780) dam (administrator) - 2009-09-30 13:16
Please manually remove CSWbdb4 and install the previous version from

Best regards

  -- Dago

More information about the bug-notifications mailing list