-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Dear list members,
I have a bdb database in openldap 2.3.27 on centos 5.2 in which I have defined, in the database section :
dbconfig set_cachesize 0 268435456 1 dbconfig set_lk_max_objects 1500 dbconfig set_lk_max_locks 1500 dbconfig set_lk_max_lockers 1500 dbconfig set_lg_regionmax 262144 dbconfig set_lg_bsize 2097152
I stop my server, clear /var/lib/ldap/*, slapadd my basic ldif entries (replication account, people and groups ou), chown everything to ldap:ldap and start openldap but I still get a warning :
bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap
- From what I read, I understood that the dbconfig directives created the DB_CONFIG file at startup if it wasn't present in the database directory. This doesn't seem to be working and I can't figure out why. Is there something obvious I'm missing out here?
Thanks. - -- Oliver Henriot B.Sc. Ph.D. | Technicien de Maintenance Moyens Informatiques et Multimédia | UMS MI2S | http://mi2s.imag.fr/ Domaine universitaire BP53 | 38041 Grenoble cedex 9 | France tel.: +33 4 76 51 43 48 | fax: +33 4 76 51 47 15
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ooops, I hadn't realised the order of declarations within the database section of slapd.conf was important. Specifying dbconfig directives *after* the directory directive solves the problem. Sorry for encumbering the list with useless questions.
Cheers,
Dans sa grande sagesse, Oliver Henriot a écrit, le 17.03.2009 16:29 :
Dear list members,
I have a bdb database in openldap 2.3.27 on centos 5.2 in which I have defined, in the database section :
dbconfig set_cachesize 0 268435456 1 dbconfig set_lk_max_objects 1500 dbconfig set_lk_max_locks 1500 dbconfig set_lk_max_lockers 1500 dbconfig set_lg_regionmax 262144 dbconfig set_lg_bsize 2097152
I stop my server, clear /var/lib/ldap/*, slapadd my basic ldif entries (replication account, people and groups ou), chown everything to ldap:ldap and start openldap but I still get a warning :
bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap
From what I read, I understood that the dbconfig directives created the DB_CONFIG file at startup if it wasn't present in the database directory. This doesn't seem to be working and I can't figure out why. Is there something obvious I'm missing out here?
Thanks.
- -- Oliver Henriot B.Sc. Ph.D. | Technicien de Maintenance Moyens Informatiques et Multimédia | UMS MI2S | http://mi2s.imag.fr/ Domaine universitaire BP53 | 38041 Grenoble cedex 9 | France tel.: +33 4 76 51 43 48 | fax: +33 4 76 51 47 15
openldap-technical@openldap.org