KenHumphries1

Q: Unable to set up a Open Directory replica server

I am setting up a second server, and I have been getting the following error in the slapconfig.log file, when attempting to set up the Open Directory replica server from the Server app:


2016-02-28 22:09:13 +0000 The machine is bound to the server specified as the OD master - unbind before creating the replica


Any ideas on how to unbind this machine, so I can set up a replica QD for this server?


PS. I set up Mail first, so I am definitely accessing the Open Directory from the other server currently.

Mac mini, OS X El Capitan (10.11.3)

Posted on Feb 28, 2016 2:31 PM

Close

Q: Unable to set up a Open Directory replica server

  • All replies
  • Helpful answers

  • by MrHoffman,

    MrHoffman MrHoffman Feb 28, 2016 2:56 PM in response to KenHumphries1
    Level 6 (15,627 points)
    Mac OS X
    Feb 28, 2016 2:56 PM in response to KenHumphries1

    Undo what you did to connect this server to OD originally.   Unbind the server.   Or wipe and reinstall OS X and OS X Server, of course.   Once you've promoted this box to a replica, you'll then re-do that bind sequence to connect to the local server — the replica – and not to the OD master.

     

    In general, IP networking and routing gets set up first, then DNS services are referenced or are established, then the OD servers or replicas, then the rest of the pieces and parts and services, and which depend on OD or DNS or IP networking.

  • by KenHumphries1,

    KenHumphries1 KenHumphries1 Feb 28, 2016 3:22 PM in response to MrHoffman
    Level 1 (0 points)
    Feb 28, 2016 3:22 PM in response to MrHoffman

    Is there a link on instructions on how to unbind the Server app from the master Open Directory?  I would really prefer to not reinstall the system, especially since getting the mail services up and running was my original primary concern.

  • by MrHoffman,Helpful

    MrHoffman MrHoffman Feb 29, 2016 8:14 PM in response to KenHumphries1
    Level 6 (15,627 points)
    Mac OS X
    Feb 29, 2016 8:14 PM in response to KenHumphries1

    Get a backup or two of the disk.

     

    Then...

     

     > System Preferences > Users & Groups > unbind from the directory server.

     

    Then see if you can then promote the local box to a directory server replica.

     

    That might disrupt some of the mail processing, unfortunately.  At least until you get the replica online and bind to that.

     

    I've not tried yanking directory services from underneath mail, though.

  • by KenHumphries1,

    KenHumphries1 KenHumphries1 Feb 29, 2016 8:17 PM in response to MrHoffman
    Level 1 (0 points)
    Feb 29, 2016 8:17 PM in response to MrHoffman

    Thanks.  That did it.  I turned off the Mail service while I made the change, then turned it back on after I was done setting up the replica.  Eveything is working great now