[Date Prev][Date Next]
Can't add Organizational Unit
I'm trying to add an ldif with the definition of a organizational unit, and an error message appears:
bdb_db_open: database already in use
backend_startup_one: bi_db_open failed! (-1)
I search for some solution on the web and i found these:
Where was told to me that some instance of slapd was already using the database. So, i try to stop (and/or reboot) the slapd process.
Then another error appears:
bdb_db_open: Warning - No DB_CONFIG file found in directory /usr/local/var/openldap-data: (2)
Expect poor performance for suffix dc=intranet,dc=techno,dc=com.
=> bdb_tool_entry_put: id2entry_add failed: DB_KEYEXIST: Key/data pair already exists (-30996)
=> bdb_tool_entry_put: txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996)
slapadd: could not add entry dn="ou=h350,dc=intranet,dc=techno,dc=com" (line=6): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996)
I think i must not stop the slapd process, but restarting it the first error appears again.
Can anyone guide me?
Thank you very much,