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

Re: problem with subordinate backends



> Hello,
>
> I have a configuration like this (openldap 2.1.8) :
>
> database        monitor
>
> database        ldbm
> suffix          "ou=etudiants,dc=univ-nancy2,dc=fr"
> subordinate
> ...
>
> database        ldbm
> suffix          "ou=pers,dc=univ-nancy2,dc=fr"
> subordinate
> ...
>
> database        ldbm
> suffix          "dc=univ-nancy2,dc=fr"
> ...
>
> When I start slapb, I have this error :
> slapd: database.c:145: monitor_subsys_database_init: Assertion `j >= 0'
> failed.
>
> If I remove the database monitor :
>
> I can connect to the server with the base dc=univ-nancy2,dc=fr. After a
> few requests, it aborts (segmentation faults)
>
> If I keep the monitor, and I remove the subordinate, all works
> perfectly, but I can't ask slapd with the base dc=univ-nancy2,dc=fr If I
> ask with the base ou=pers, dc... or ou=etudiants,dc..., all works
> perfectly but, I can't ask with the base dc=univ-nancy2.fr
>
>
> How can I do? Is there un bug with the subordinate command?

I'm afraid there is.  Please try putting the

database        monitor

statement at the end; I need to track the bug down
and I'm not sure I have time right now.  Note that
the monitor backend was written before the subordinate
stuff came in, so I might have used database info in a
nave way ... ;)

Pierangelo.


-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it