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

Re: OpenLDAP-2.2.0alpha tests fail



"Howard Chu" <hyc@highlandsun.com> writes:

> 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.

It is still the same BerkeleyDB installation which had been used to
compile openldap-2.1.x. As far as I can rember db-4.1.25 had been
compiled with posixmutexes.

-Dieter
 

>> 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
>>
>>
>

-- 
Dieter Kluenter  | Systemberatung
Tel:040.64861967 | Fax: 040.64891521
mailto: dkluenter(at)dkluenter.de
http://www.avci.de