PDA

View Full Version : Error creating Open Directory Replica in Mountain Lion




carlosribas
Jul 22, 2013, 02:49 PM
I am encountering problems setting up an Open Directory Replica using the Server.app version 2.2.1 (169) in Mountain Lion (10.8.4) in the OD Mater and OD Replica. I receive the error attached when it attempts to create the replica.

The message says it is a network error, but the command "changeip -checkhostname" shows that everything is ok with ODM and with the server I want to use as ODR.

Any help would be greatly appreciated. Thanks.



dvdborn
Aug 26, 2013, 01:03 PM
I've got the exact same problem.

I setup 2 clean installed 10.8.4 servers.

I configured one as an OD Master with no problems.
I then tried to configure the second as a replica and it always fails.

Both servers have a FQDN.
sudo changeip -checkhostname shows no error on both servers.

I tried these instructions: http://www.mountainlionserver.com/setting-up-troubleshooting-an-open-directory-replica-in-os-x-mountain-lion-server

But running sudo slapconfig -preflightreplica 172.16.2.23 diradmin on the replica-wanna-be server gives an error.

Has anyone succeeded in setting up a replica under 10.8.4?

chrfr
Aug 26, 2013, 01:43 PM
gives an error

Helpful tip: when asking questions about errors, state the error.

And yes, I have a 10.8.4 OD Master/replica working fine.

dvdborn
Aug 26, 2013, 04:55 PM
Good to hear that someone has succeeded in setting up a 10.8.4 replica.

When I run the slapconfig -preflightreplica command I get the following message.

2013-08-26 15:03:30 +0000 NSMutableDictionary *_getRootDSE(const char *): rootDSE not found
2013-08-26 15:03:30 +0000 Error: Unable to determine the master's software version

chrfr
Aug 26, 2013, 05:55 PM
But running sudo slapconfig -preflightreplica 172.16.2.23 diradmin on the replica-wanna-be server gives an error.

Has anyone succeeded in setting up a replica under 10.8.4?

Is 172.16.2.23 your OD Master's IP address?
What is your DNS setup? Are both master and replica on the same network? Is there a firewall in the way?

dvdborn
Aug 27, 2013, 10:51 AM
I managed to create an OD replica 10.8.4 from a 10.8.4 OD Master.

I followed the instructions in this discussion:
https://discussions.apple.com/thread/4356139?start=15&tstart=0

What I can't create now is an OD replica from an OD Master that's also bound to AD.