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

(ITS#4789) can't add BDB database when monitoring

Full_Name: Howard Chu
Version: HEAD
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (
Submitted by: hyc

When back-monitor is active, attempting to add a bdb database thru cn=config
fails in bdb_monitor_db_open. The call to mbe->register_entry_attrs() fails
because the new database's suffixes aren't known to back-monitor:

monitor_back_register_entry_attrs(""): base="cn=databases,cn=monitor" scope=one
unable to find entry

====> bdb_cache_release_all
backend_startup_one: bi_db_open failed! (-1)
olcSuffix: value #0: <olcSuffix> failed startup (dc=foo,dc=example,dc=com)!
send_ldap_result: conn=0 op=12 p=3
send_ldap_result: err=80 matched="" text="<olcSuffix> failed startup"

I presume there's some kind of callback for registering new suffixes but I
haven't looked very hard.