[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:19:36 CET 2010


The following issue has been CLOSED 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3862 
====================================================================== 
Reported By:                wbonnet
Assigned To:                dam
====================================================================== 
Project:                    openldap
Issue ID:                   3862
Category:                   upgrade
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-08-19 16:55 CEST
Last Modified:              2010-01-09 10:19 CET
====================================================================== 
Summary:                    OpenLDAP no longer start after berkeley db upgrade
to current
Description: 
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 ( 1.3.6.1.4.1.24552.500.1.1.1.13 NAME
'sshPublicKey'    DESC 'MANDATORY: OpenSSH Public key'    EQUALITY
octetStringMatch    SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 ))
line 19 (objectclass ( 1.3.6.1.4.1.24552.500.1.1.2.0 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.



====================================================================== 

---------------------------------------------------------------------- 
 (0007194) dam (administrator) - 2010-01-09 10:19
 http://www.opencsw.org/mantis/view.php?id=3862#c7194 
---------------------------------------------------------------------- 
With the BDB packages reverted to the separate-version-layout this error
should be no longer visible in OpenLDAP.




More information about the bug-notifications mailing list