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

Re: (ITS#4965) slapd stops if access to cn=monitor is restricted



HEAD as of now:

<slapd.conf>
# ...
access to * by * none

database        bdb
suffix          "dc=example,dc=com"
directory 
/home/masarati/Lavoro/sysnet/Ldap/ldap-devel/tests/testrun/db.1.a
rootdn          "cn=Manager,dc=example,dc=com"
rootpw          secret
index           objectClass     eq
index           cn,sn,uid       pres,eq,sub


database        monitor
</slapd.conf>

$ slapd -d stats
@(#) $OpenLDAP: slapd 2.X (Jun  7 2007 17:39:58) $
 
masarati@mbdyn-pm:/home/masarati/Lavoro/sysnet/Ldap/ldap-devel/servers/slapd
bdb_db_open: Warning - No DB_CONFIG file found in directory 
/home/masarati/Lavoro/sysnet/Ldap/ldap-devel/tests/testrun/db.1.a: (2)
Expect poor performance for suffix dc=example,dc=com.
monitor_back_register_entry_attrs(""): base="cn=databases,cn=monitor" 
scope=one 
filter="(namingContexts:distinguishedNameMatch:=dc=example,dc=com)": 
unable to find entry

slapd starting

It seems fine to me.  Are you sure there isn't anything else?  You might 
be disguised by a warning that has nothing to do with your real issue. 
Or, you're not posting enough info.

p.


ali.pouya@free.fr wrote:
> Hi Pierangelo;
> Unfortunately I reproduced the problem with the HEAD dated June 5.
> If I do not add a rootdn to the monitor database, slapd cannot start.
> At the end of the log I find :
> 
> monitor_back_register_entry_attrs(""): base="cn=databases,cn=monitor" scope=one
> filter="(namingContexts:distinguishedNameMatch:=c=fr)": unable to find entry
> 
> ====> bdb_cache_release_all
> backend_startup_one: bi_db_open failed! (-1)
> slapd shutdown: initiated
> ====> bdb_cache_release_all
> bdb_db_close: alock_close failed
> slapd destroy: freeing system resources.
> slapd stopped.
> connections_destroy: nothing to destroy.
> 
> Is the rootdn mandatory for monitor ?
> Best Regards
> Ali
> 
> 
> 
> 




Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it
---------------------------------------