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

Re: (ITS#5051) Translucent overlay and back-monitor



<quote who="hyc@symas.com">
> ghenry@OpenLDAP.org wrote:
>> Full_Name: Gavin Henry
>> Version: 19/07/07 HEAD
>> OS:
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (212.159.59.85)
>> Submitted by: ghenry
>>
>>
>> Dear All,
>>
>> Is slapd not started and giving below expected?
>>
>>
>> ================
>> monitor_back_register_entry_parent(""): base="cn=databases,cn=monitor"
>> scope=subordinate
>> filter="(&(monitoredInfo=ldap)(!(monitorOverlay=ldap))(namingContexts:distinguishedNameMatch:=dc=suretecsystems,dc=com))":
>> unable to find entry
>> backend_startup_one: bi_db_open failed! (1)
>> slapd shutdown: initiated
>> ================
>>
>> Using a config like:
>>
>> ================
>> include   /usr/local/etc/openldap/schema/core.schema
>>
>> pidfile     /usr/local/var/run/slapd.pid
>> argsfile    /usr/local/var/run/slapd.args
>>
>> # Load dynamic backend modules:
>> modulepath  /usr/local/libexec/openldap
>> moduleload  back_bdb.la
>> moduleload  back_ldap.la
>> moduleload  back_monitor.la
>> moduleload  translucent.la
>>
>> database bdb
>> directory /usr/local/var/openldap-data
>> cachesize 10000
>> suffix "dc=suretecsystems,dc=com"
>>
>> rootdn "cn=admin,dc=suretecsystems,dc=com"
>> rootpw {SSHA}blah
>>
>> index default eq
>> index objectClass,uid,dc,o,ou
>>
>> overlay translucent
>> uri ldap://x.x.x.x:389
>> idassert-bind binddn="cn=admin,dc=suretecsystems,dc=com"
>> credentials=blah
>>
>> database config
>> rootdn "cn=config"
>> rootpw {SSHA}blah
>>
>> database monitor
>> ================
>>
>>
>> If I remove "database monitor", all is obviously well.
>>
>> However, if I put "database monitor" before "database bdb", slapd starts
>> fine,
>> but complains with:
>>
>> ================
>> monitor_back_register_entry_parent(""): base="cn=databases,cn=monitor"
>> scope=subordinate
>> filter="(&(monitoredInfo=ldap)(!(monitorOverlay=ldap))(namingContexts:distinguishedNameMatch:=dc=suretecsystems,dc=com))":
>> unable to find entry
>> slapd starting
>> ================
>
> Pretty sure your monitor database needs a rootdn now for this to work.
>

Ok. What can the rootdn do on the monitor database then? Write to anything?

I can update the "Monitoring" section with this info then ;-)

Gavin.