gate03@landcroft.com wrote:
Full_Name: Michael Mounteney Version: 2.4.43 OS: OmniOS URL: http://pastebin.com/aV1yFt7g Submission from: (NULL) (122.108.201.32)
This appears to be a dup of ITS#8339. Closing.
- rm /var/openldap-data/*
- Install attached slapd.conf in /opt/openldap/etc/openldap
- Save attached l1.ldif
- Run your LDAP server thus: /opt/openldap/libexec/slapd -f
/opt/openldap/etc/openldap/slapd.conf -h "ldap:/// ldaps:///" -d -1 4. Import the LDIF data thus: ldapadd -D "cn=manager,dc=mounteney,dc=me" -a -W -f l1.ldif 5. The password is: suomi 6. The data import/add/load will crash on the last entry. 7. Stop the server with ctrl-C. 8. Restart the server with the same command as at step 3. 9. The server reports: mdb_db_open: database "dc=mounteney,dc=me" cannot be opened: Device busy (16). Restore from backup!
The error is that at step 9, the OpenLDAP should have opened the existing database and run normally, waiting for client requests.
slapd.conf at http://pastebin.com/aV1yFt7g l1.ldif at http://pastebin.com/tHc5ye1W