[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: OpenLDAP-2.2.0alpha tests fail



Sounds like your Berkeley DB library is configured to only support DB_PRIVATE
environments. You need to rebuild your Berkeley DB library and make sure that
it provides shared mutex support.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Dieter
> Kluenter

> Hello,
> I just compiled OpenLDAP-2.2.0alpha (without back-perl) but running
> tests fail. Here is an excerpt from master.log
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> @(#) $OpenLDAP: slapd 2.2.0alpha (Aug  7 2003 19:35:44) $
>         dieter@marin:/work/ldap/servers/slapd
> daemon_init: ldap://localhost:9009/
> daemon_init: listen on ldap://localhost:9009/
> daemon_init: 1 listeners to open...
> ldap_url_parse_ext(ldap://localhost:9009/)
> daemon: initialized ldap://localhost:9009/
> daemon_init: 2 listeners opened
> lt-slapd init: initiated server.
> slap_sasl_init: initialized!
> bdb_initialize: initialize BDB backend
> bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25:
> (December 19, 2002)
> bdb_initialize: initialize BDB backend
> bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25:
> (December 19, 2002)
> >>> dnNormalize: <cn=Subschema>
> [...]
> bdb_db_init: Initializing BDB database
> [...]
> lt-slapd startup: initiated.
> bdb_db_open: o=OpenLDAP Project,l=Internet
> bdb_db_open: dbenv_open(./test-db)
> bdb(o=OpenLDAP Project,l=Internet): Berkeley DB library
> configured to support only DB_PRIVATE environments
> bdb_db_open: dbenv_open failed: Invalid argument (22)
> backend_startup: bi_db_open(0) failed! (22)
> lt-slapd shutdown: initiated
> ====> bdb_cache_release_all
> lt-slapd shutdown: freeing system resources.
> bdb(o=OpenLDAP Project,l=Internet): txn_checkpoint interface
> requires an environment configured for the transaction subsystem
> bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
> slapd stopped.
> connections_destroy: nothing to destroy.
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
>
> Any hints?
>
> -Dieter
> --
> Dieter Kluenter  | Systemberatung
> Tel:040.64861967 | Fax: 040.64891521
> mailto: dkluenter(at)dkluenter.de
> http://www.avci.de
>
>