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

Re: how to create db files

Sorry, I had only used ldapadd up till now.

Thanx so much!

BTW, I accidently used an older version of slapadd at first (2.2.13) and I get the following error:

# slapadd -f /etc/openldap/slapd.conf -l base.ldif
/etc/openldap/schema/core.schema: line 366: AttributeType not found: "description"
slapadd: bad configuration file!

Does anyone know what changed? I looked at the CHANGES file for 2.3.35 and saw a few changes related to schema handling, but am not sure which is directly related to the above. (BTW, I am just curious... The add works just fine when I use slapadd from the 2.3.35 release.)

Again, it all works now. Thanx again!


Quanah Gibson-Mount wrote:

--On May 25, 2007 11:32:48 AM -0700 Craig <craig5@pobox.com> wrote:

Uh... it won't start without the id2entry file:

Checking configuration files for : bdb_db_open:
db_open(/var/lib/ldap/id2entry.bdb) failed: No such file or directory (2)

Any other ideas?

I said, load the server with your initial LDIF file (i.e., use slapadd). That will create the id2entry file.


Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration