Hi everyone, I'm configuring the freeipa replication as follows:
1) ipa-client-install --domain=pippo.internal --realm=PIPPO.INTERNAL -N
2) I add the client to the ipaserver host group
3) ipa-replica-install -N --setup-dns --forwarder 8.8.8.8 --forwarder 8.8.4.4 --forwarder 1.1.1.1 --setup-ca
After running ipa-replica-install I get the following error:
Your system may be partly configured. Run /usr/sbin/ipa-server-install --uninstall to clean up.
ipapython.admintool: ERROR A replication agreement for this host already exists. It needs to be removed. Run this command: %% ipa-replica-manage del pluto.pippo.internal --force ipapython.admintool: ERROR The ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information
I would like to point out that I have attempted the configuration several times without success. Before proceeding with the uninstall commands of the client and the replica on the replica server, I delete the replica on the server (which fails because it does not find any replica) and then proceed with deleting the client.
In the replication log file I have the following error:
2024-03-28T12:05:10Z DEBUG The ipa-replica-install command failed, exception: ScriptError: A replication agreement for this host already exists. It needs to be removed. Run this command: %% ipa-replica-manage del pluto.pippo.internal --force 2024-03-28T12:05:10Z ERROR A replication agreement for this host already exists. It needs to be removed. Run this command: %% ipa-replica-manage del pluto.pippo.internal --force 2024-03-28T12:05:10Z ERROR The ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information
I can't understand where the problem is. Could it be something dirty in LDAP?
Thank you very much
Richard Halley via FreeIPA-users wrote:
Hi everyone, I'm configuring the freeipa replication as follows:
ipa-client-install --domain=pippo.internal --realm=PIPPO.INTERNAL -N
I add the client to the ipaserver host group
ipa-replica-install -N --setup-dns --forwarder 8.8.8.8 --forwarder 8.8.4.4 --forwarder 1.1.1.1 --setup-ca
After running ipa-replica-install I get the following error:
Your system may be partly configured. Run /usr/sbin/ipa-server-install --uninstall to clean up.
ipapython.admintool: ERROR A replication agreement for this host already exists. It needs to be removed. Run this command: %% ipa-replica-manage del pluto.pippo.internal --force ipapython.admintool: ERROR The ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information
I would like to point out that I have attempted the configuration several times without success. Before proceeding with the uninstall commands of the client and the replica on the replica server, I delete the replica on the server (which fails because it does not find any replica) and then proceed with deleting the client.
In the replication log file I have the following error:
2024-03-28T12:05:10Z DEBUG The ipa-replica-install command failed, exception: ScriptError: A replication agreement for this host already exists. It needs to be removed. Run this command: %% ipa-replica-manage del pluto.pippo.internal --force 2024-03-28T12:05:10Z ERROR A replication agreement for this host already exists. It needs to be removed. Run this command: %% ipa-replica-manage del pluto.pippo.internal --force 2024-03-28T12:05:10Z ERROR The ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information
I can't understand where the problem is. Could it be something dirty in LDAP?
Yes, exactly. Try `ipa server-del pluto.pippo.internal` instead.
rob
freeipa-users@lists.fedorahosted.org