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

Re: (ITS#4671) unable to add objectIdentifier "olmBDBAttributes=olmDatabaseAttributes:1"



If you have back-monitor enabled, you need to regenerate backends.c; 
probably need to rerun configure or config.status. If you don't have 
back-monitor enabled, then you need to enable it. (Or we need to #ifdef 
all of this stuff.)

michael@stroeder.com wrote:
> Full_Name: Michael Ströder
> Version: HEAD synced now
> OS: SuSE Linux 10.0
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (83.124.27.59)
> 
> 
> Since several days even test000-rootdse fails:
> 
>>>>>> Starting test000-rootdse ...
> running defines.sh
> Starting slapd on TCP/IP port 9011...
> Using ldapsearch to retrieve the root DSE...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> ./scripts/test000-rootdse: line 66: kill: (19058) - No such process
> ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
>>>>>> Test failed
>>>>>> ./scripts/test000-rootdse failed (exit 255)
> make[2]: *** [bdb-mod] Error 255
> make[2]: Leaving directory `/home/michael/src/openldap-HEAD/ldap/tests'
> make[1]: *** [test] Error 2
> make[1]: Leaving directory `/home/michael/src/openldap-HEAD/ldap/tests'
> make: *** [test] Error 2
> 
> -------------------------------------------------------------------------
> 
> tests/testrun/slapd.1.log:
> 
> @(#) $OpenLDAP: slapd 2.X (Sep 11 2006 22:20:53) $
>         michael@nb2:/home/michael/src/openldap-HEAD/ldap/servers/slapd
> daemon_init: ldap://localhost:9011/
> daemon_init: listen on ldap://localhost:9011/
> daemon_init: 1 listeners to open...
> ldap_url_parse_ext(ldap://localhost:9011/)
> daemon: listener initialized ldap://localhost:9011/
> daemon_init: 1 listeners opened
> ldap_create
> lt-slapd init: initiated server.
> slap_sasl_init: initialized!
> => str2entry: "dn:
> vendorName: The OpenLDAP Project <http://www.openldap.org/>
> "
>>>> dnPrettyNormal: <>
> <<< dnPrettyNormal: <>, <>
> <= str2entry() -> 0x81ac398
> bdb_back_initialize: initialize BDB backend
> bdb_back_initialize: Sleepycat Software: Berkeley DB 4.4.20: (January 10, 2006)
> back-bdb/back-hdb monitor: line 0: OID olmDatabaseAttributes:1 not recognized
>         ObjectIdentifier <name> <oid>
> bdb_monitor_initialize: unable to add objectIdentifier
> "olmBDBAttributes=olmDatabaseAttributes:1"
> backend_add:  initialization for type "bdb" failed
> Unrecognized database type (bdb)
> ./testrun/slapd.1.conf: line 48: <database> failed init (bdb)!
> lt-slapd destroy: freeing system resources.
> slapd stopped.
> connections_destroy: nothing to destroy.

-- 
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc
   OpenLDAP Core Team            http://www.openldap.org/project/