On 07/28/2017 07:56 PM, Jake via FreeIPA-users wrote:
All I see are responses like yours, how about a link or add it to the documentation since it's such a problem?!
if the ruvs cannot be decoded, the ipa command line utility does not work, you have to execute a plain cleanallruv task, an example is here:


# ldapmodify -D "cn=directory manager" -W -a
dn: cn=clean 8, cn=cleanallruv, cn=tasks, cn=config
objectclass: extensibleObject
replica-base-dn: o=ipaca
replica-id: 8
cn: clean 8

you have to set the correct replicabase dn.

there exists documentatio for the cleanallruv task in 389-ds:
 
http://www.port389.org/docs/389ds/howto/howto-cleanruv.html

but it might not be applicable 1:1 to your scenario.


----- Original Message -----
From: "Petr Vobornik" <pvoborni@redhat.com>
To: "freeipa-users" <freeipa-users@lists.fedorahosted.org>
Cc: "Jake" <email@ml.jacobdevans.com>
Sent: Friday, July 28, 2017 1:30:23 PM
Subject: Re: [Freeipa-users] 5 bad replicas, can't remove, need these clean before I can re-add secondary replicas.

Hello,

this topic was investigated multiple times already.

Try searching for "freeipa-users" "unable to decode". It will point
you to archives of this mailing list predecessor. There should be a
good guide from L. Krispenz

On Fri, Jul 28, 2017 at 6:16 PM, email--- via FreeIPA-users
<freeipa-users@lists.fedorahosted.org> wrote:
Unable to remove any of these bad
ipa-replica-manage  list-ruv
Directory Manager password:

unable to decode: {replica 7} 585aae3e001a00070000 585aae3e001a00070000
unable to decode: {replica 8} 586520c8000f00080000 586520c8000f00080000
unable to decode: {replica 11} 58862e450004000b0000 58862e450004000b0000
unable to decode: {replica 32} 597ab1ae000100200000 597ab1ae000100200000
unable to decode: {replica 19} 58d41955000100130000 58d41955000100130000

command:  ipa-replica-manage clean-ruv 7
Result: Replica ID 7 not found

cleanallruv.pl -w - -b 'dc=ipa,dc=clarkinc,dc=io' -A -r 7 -v
Bind Password:
ldap_add: Server is unwilling to perform (53)
        additional info: Replica id (7) is not being cleaned, nothing to
abort.
Failed to add task entry "cn=abort_cleanallruv_2017_7_28_12_14_22, cn=abort
cleanallruv, cn=tasks, cn=config" error (53)



_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org




-- 
Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn, 
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Eric Shander