Replica Reset Voodoo (That Works!)

So today, after downgrading my master server to 10.4.7, I kept getting an error on my replica. So I decided to reset the replica by demoting it to a “Standalone” role, and then re-promoting it to the “Replica” role. But even after doing this, the error message persisted. The message was telling me to check the logs at:

/var/run/openldap-slurp/replica

and doing so did reveal errors like:

ERROR: Type or value exists: modify/add: memberUid: value #0 already exists

The solution was to again demote the replica to standalone status and then archive all the files in:

/var/run/openldap-slurp/replica

to anywhere else. I put them in a folder called “old.” Just get ‘em out of the way. Once this was done I was able to promote my replica without receiving error messages.

Yay! That wasn’t too bad.

Oh, and you may be asking yourself how I knew to do this. Well, to be honest, I don’t really remember. I just know that at some point in the past there was a problem I’d had with a replica and it was caused by stale files. So, since my ultimate goal was to start from scratch, I just got everything out of the way. And lo and behold. It worked. Sorry for the voodoo explanation, though. I wish I could be more explicit. Hell, I wish I fully understood what I was dealing with. But I don’t. And, though it pains me to say this, I don’t have time to figure it out.

But y’know? I’ll take the cure even if I don’t know what caused the disease.

5 Comments

  1. Neil Aquino
    Posted February 21, 2007 at 4:01 AM | Permalink

    I got a message today that I could update my AOL toolbar. I was going to do this but I hit the wrong button and the box with the update went away. I’m hoping it comes back later. I’ve been thinking about getting high-speed internet but I can barely handle all the content in my life now. If I could really watch baseball clips on MLB.com, or really watch old shows on C-SPAN, I’m afraid I would not get other things done.I’ve got no idea what any of your posts are about. Though I’m certain that they are good and useful.

  2. matx
    Posted February 22, 2007 at 7:01 AM | Permalink

    well, i’ve been tempted to try this “replica” business, but it sounds like more trouble really. hmmm

  3. ????
    Posted March 14, 2007 at 1:08 AM | Permalink

    ????GPS????????????????????????????????????GPS??????????512MB?RS-MMC????????GPS????????????????????????GPS?????????????????????? …

  4. Mike McHargue
    Posted May 1, 2007 at 1:28 AM | Permalink

    You just saved my life with this post, as I am in an indentical situation (remodeling the company) with an indentical problem with a moved replica.

    THANKS!

  5. systemsboy
    Posted May 1, 2007 at 1:37 AM | Permalink

    That’s awesome, Mike. Glad I could help.

    -systemsboy

Post a Comment

Your email is never shared. Required fields are marked *

*
*