OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003862 [openldap] upgrade block always 2009-08-19 16:55 2010-01-09 10:19
Reporter wbonnet View Status public  
Assigned To dam
Priority normal Resolution no change required  
Status closed  
Summary 0003862: 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.


Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006774)
DidierL (reporter)
2009-09-30 11:19

Hi,

Did you find a solution? I have exactly the same issue with same version numbers for BDB. It looks like the openldap package should be upgradedā€¦
(0006776)
dam (administrator)
2009-09-30 11:28

There is an updated OpenLDAP in testing. Please verify.
(0006777)
DidierL (reporter)
2009-09-30 12:00

In testing? Do you mean in the "current" repository tree? I tried that tree but it didn't work:

# pkg-get -s "ftp://ftp.ibiblio.org/pub/packages/solaris/opencsw/current" [^] -u openldap
WARNING: gpg not found
No worries... you already have version 2.3.39,REV=2008.02.22 of openldap
If you doubt this message, run 'pkg-get -U', then run
 'pkg-get upgrade openldap'

Notice I am using solaris 5.10 i386.

(btw opencsw.org seems quite unstable)
(0006778)
DidierL (reporter)
2009-09-30 12:02

Sorry I figured out I was already using the current tree before (looking at pkg-get.conf). I think I will try to switch back to stable. Is it possible to downgrade packages?
(0006780)
dam (administrator)
2009-09-30 13:16

Please manually remove CSWbdb4 and install the previous version from
  http://csw.informatik.uni-erlangen.de/oldpkgs/ [^]

Best regards

  -- Dago
(0007194)
dam (administrator)
2010-01-09 10:19

With the BDB packages reverted to the separate-version-layout this error should be no longer visible in OpenLDAP.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker