Hi,
Tryint to clean a ruv of an old server (the server doesn't exist any more) I use:
[root@xxx ~]# ldapmodify -D "cn=Directory Manager" -x -W <<EOF
dn: cn=X-Y1-Y2, cn=replica, cn="o=xxx,dc=xxx,dc=xx", cn=mapping tree,
cn=config
changetype: modify replace: nsds5task nsds5task: CLEANRUVxx EOF
obtaining:
modifying entry "cn=X-Y1-Y2, cn=replica, cn="o=xxx,dc=xxx,dc=xxx",
cn=mapping tree, cn=config" ldapmodify: Server is unwilling to perform (53)
Which could be the problem? Can I just delete de attribute nsds50ruv in that entry?
nsds50ruv: {replica 3 ldap://server3:389} xxxx yyyy -> I want to delete
this one nsds50ruv: {replica 2 ldap://server1:389} xxxx yyyy nsds50ruv: {replica 1 ldap://server2:389} xxxx yyyy nsds50ruv: {replicageneration} xxxx
By the way, what is it the meaning of nsds50ruv because I have been looking for it and I only read about "internal state".
Thanks in advance. Moses.
On 04/22/2013 02:44 AM, Moisés Barba Pérez wrote:
Hi,
Tryint to clean a ruv of an old server (the server doesn't exist any more) I use:
[root@xxx ~]# ldapmodify -D "cn=Directory Manager" -x -W <<EOF > dn: cn=X-Y1-Y2, cn=replica, cn="o=xxx,dc=xxx,dc=xx", cn=mapping tree, cn=config > changetype: modify > replace: nsds5task > nsds5task: CLEANRUVxx > EOFobtaining:
modifying entry "cn=X-Y1-Y2, cn=replica, cn="o=xxx,dc=xxx,dc=xxx", cn=mapping tree, cn=config" ldapmodify: Server is unwilling to perform (53)Which could be the problem? Can I just delete de attribute nsds50ruv in that entry?
What version if 389-ds-base? What is your platform? No, you cannot delete nsds50ruv directly - it is replication metadata.
nsds50ruv: {replica 3 ldap://server3:389} xxxx yyyy -> I want to delete this one nsds50ruv: {replica 2 ldap://server1:389} xxxx yyyy nsds50ruv: {replica 1 ldap://server2:389} xxxx yyyy nsds50ruv: {replicageneration} xxxxBy the way, what is it the meaning of nsds50ruv because I have been looking for it and I only read about "internal state".
Thanks in advance. Moses.
-- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users
Moses,
You are using the wrong DN. It should be the replication entry, not the replication agreement:
dn: cn=replica, cn="o=xxx,dc=xxx,dc=xx", cn=mapping tree, cn=config changetype: modify replace: nsds5task nsds5task: CLEANRUVxx
Regards, Mark
On 04/22/2013 04:44 AM, Moisés Barba Pérez wrote:
Hi,
Tryint to clean a ruv of an old server (the server doesn't exist any more) I use:
[root@xxx ~]# ldapmodify -D "cn=Directory Manager" -x -W <<EOF > dn: cn=X-Y1-Y2, cn=replica, cn="o=xxx,dc=xxx,dc=xx", cn=mapping tree, cn=config > changetype: modify > replace: nsds5task > nsds5task: CLEANRUVxx > EOFobtaining:
modifying entry "cn=X-Y1-Y2, cn=replica, cn="o=xxx,dc=xxx,dc=xxx", cn=mapping tree, cn=config" ldapmodify: Server is unwilling to perform (53)Which could be the problem? Can I just delete de attribute nsds50ruv in that entry?
nsds50ruv: {replica 3 ldap://server3:389} xxxx yyyy -> I want to delete this one nsds50ruv: {replica 2 ldap://server1:389} xxxx yyyy nsds50ruv: {replica 1 ldap://server2:389} xxxx yyyy nsds50ruv: {replicageneration} xxxxBy the way, what is it the meaning of nsds50ruv because I have been looking for it and I only read about "internal state".
Thanks in advance. Moses.
-- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users
389-users@lists.fedoraproject.org