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

Re: Monitor configuration... also for the manual



Arno Lehmann wrote:
> Hi Michael,
> 
> On 08.02.2019 at 20:29, Michael Ströder wrote:
>> On 2/7/19 9:34 AM, Arno Lehmann wrote:
>>> On 07.02.2019 at 03:31, Howard Chu wrote:
>>>> Did you try searching to see if cn=monitor is actually there?
>>>
>>> Yes, although I'm not exactly sure I have this sorted out correctly.
>>> What I did was for example this:
>>>
>>> root@host:~/ldap# ldapsearch -Q -LLL -H ldapi:/// -Y EXTERNAL -b '' -s
>>> base + '*' | grep -v supported
>>> dn:
>>> objectClass: top
>>> objectClass: OpenLDAProotDSE
>>> structuralObjectClass: OpenLDAProotDSE
>>> configContext: cn=config
>>> namingContexts: dc=<redacted>,dc=de
>>> entryDN:
>>> subschemaSubentry: cn=Subschema
>>
>> To me it seems it is *not* there. The operational attribute
>> 'monitorContext' contains the suffix of "database monitor".
>>
>> So if back-monitor is correctly configured this query goes like this:
> 
> So I guess I really did not add a monit database yet, which is exactly what I'd like to achieve.
> 
> Thanks for confirming.

That is not a confirmation. Did you actually do an ldapsearch using a base of "cn=monitor" ?

It sounds to me like you manually added or deleted elements of your configuration while slapd
was running, thus leaving things in a confused state.

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