On 7/7/20 10:13 PM, Andrey Ptashnik via FreeIPA-users wrote:
Team,

I'm trying to install FreeIPA replica and constantly hitting this error below.
OS where replica is being installed is a fresh install. IPA version 4.6.6
After this error Master does not have any record of replica anyway.

Can someone please shed some light why on the machine with fresh OS install I can see 
error such "directory [/var/lib/dirsrv/slapd-EXAMPLE-COM/cldb] already exists and is 
not empty"

Command that I'm using from a client machine that is already in the domain:

[root@server-02] #  kinit admin
[root@server-02] # ipa-replica-install --server server-01.example.com --domain 
example.com --setup-dns --setup-ca --forwarder 10.1xx.1xx.10
---8<------8<------8<------8<------8<------8<------8<------8<---
   [28/42]: ignore time skew for initial replication
   [29/42]: setting up initial replication
   [error] DatabaseError: Operations error: The changelog directory 
[/var/lib/dirsrv/slapd-EXAMPLE-COM/cldb] already exists and is not empty.  
Please choose a directory that does not exist or is empty.
Your system may be partly configured.
Run /usr/sbin/ipa-server-install --uninstall to clean up.
---8<------8<------8<------8<------8<------8<------8<------8<---

Hi,

it looks like the machine was already configured as a replica.

Please run ipa-server-install --uninstall -U on the soon-to-be replica, check that there is no /var/lib/dirsrv/slapd-EXAMPLE-COM directory, and re-try with ipa-client-install and ipa-replica-install.

flo
Regards,
Andrey

_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]

_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]

Reply via email to