[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#8343) MDB database corrupted after one run
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#8343) MDB database corrupted after one run
- From: hyc@symas.com
- Date: Tue, 29 Dec 2015 01:24:14 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
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.
>
> 0. rm /var/openldap-data/*
> 1. Install attached slapd.conf in /opt/openldap/etc/openldap
> 2. Save attached l1.ldif
> 3. 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
>
>
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/