
私は、LDAPサーバーのldifバックアップを、OpenLDAPをインストールした新しいCentos 7マシンに復元しようとしました。私はこれらの手順を使用してきました。https://www.server-world.info/en/note?os=CentOS_7&p=openldap&f=1
chdomain ファイルまでですが、chdomain ファイルは含まれません。
ファイルをアップロードするために使用したコマンドはslapadd -c -l ldapBackup.ldifでした。
しかし、私が受け取った答えは
The first database does not allow slapadd; using the first available one(2)
hdb_db_open: database "dc=my-domain,dc=com": database already in use.
backend_startup_one (type=hdb, suffix="dc=my-domain,dc=com"): bi_db_open failed!(-1)
slap_startup_failed