When using slapadd to add an entry, it shows error "The first database does not allow slapadd; using the first available one (2)".

Solution Unverified - Updated -

Issue

When using slapadd to add an entry, it shows error "The first database does not allow slapadd; using the first available one (2)".
The customer use command as below:

slapadd -l text.ldif
The first database does not allow slapadd; using the first available one (2)
-#################### 100.00% eta   none elapsed                 spd   9.6 k/s
Closing DB...

But if the customer remove the monitor database lines in slapd.conf, it shows no error.

Environment

  • Red Hat Enterprise Linux 6
  • Openldap 2.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In