Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Create standby MDC failed in create Open directory replica

Hi guys,


I've been trying to create Xsan standby MDC, but stuck. Before the standby MDC up and running, it need to be OD replica.

After tried many things including destroyed and re-create OD master. it still has not been done.

current environment

- OS X Mavericks 10.9.5

- OS X Server 3.2.2


Here following are the log at failed step.

2015-08-06 10:47:32 +0000 9 Adding replica to master

2015-08-06 10:47:32 +0000 Configuring multimaster for (MDC-2.<MYDOMAIN>.com) with ServerID (13)

2015-08-06 10:47:32 +0000 Remote server (mdc-1.<MYDOMAIN>.com) ID: (null)

2015-08-06 10:47:32 +0000 command: /usr/bin/ldapsearch -x -LLL -H ldapi://%2Fvar%2Frun%2Fldapi -b dc=MDC-1,dc=<MYDOMAIN>,dc=com uid=_ldap_replicator dn

2015-08-06 10:47:32 +0000 No serverID specified, exiting

2015-08-06 10:47:32 +0000 failed to add parent/master to replica

2015-08-06 10:47:32 +0000 failed to add parent/master to replica (error = 73)

2015-08-06 10:47:32 +0000 Deleting Cert Authority related data

2015-08-06 10:47:32 +0000 No intCAIdentity, not removing int CA from keychain

2015-08-06 10:47:32 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd.plist

2015-08-06 10:47:32 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd-helper.plist

2015-08-06 10:47:32 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertadmin.plist

2015-08-06 10:47:32 +0000 Updating ldapreplicas on primary master

2015-08-06 10:47:32 +0000 Removing self from the database

2015-08-06 10:47:32 +0000 Warning: An error occurred while re-enabling GSSAPI.

2015-08-06 10:47:33 +0000 Stopping LDAP server (slapd)

2015-08-06 10:47:34 +0000 Stopping password server

2015-08-06 10:47:34 +0000 Removed all service principals from keytab for realm MDC-1.<MYDOMAIN>.com

2015-08-06 10:47:34 +0000 Removed file at path /var/db/openldap/openldap-data/__db.001.

2015-08-06 10:47:34 +0000 Removed file at path /var/db/openldap/openldap-data/__db.002.


Any one has suggestion?


Thanks

Pankrich K.

Mac mini, OS X Mavericks (10.9.5)

Posted on Aug 8, 2015 7:01 AM

Reply
2 replies

Aug 20, 2015 2:01 AM in response to pankrichk

Dear pals,


I tried many things then got a bit progress but still die in step #9 as following logs

2015-08-14 06:30:45 +0000 9 Adding replica to master

2015-08-14 06:30:45 +0000 Configuring multimaster for (mdc-sec.newdomain.com) with ServerID (2)

2015-08-14 06:30:46 +0000 Remote server (mdc-pri.newdomain.com) ID: 1

2015-08-14 06:30:46 +0000 command: /usr/bin/ldapsearch -x -LLL -H ldapi://%2Fvar%2Frun%2Fldapi -b dc=mdc-pri,dc=newdomain,dc=com uid=_ldap_replicator dn

2015-08-14 06:30:46 +0000 command: /usr/bin/ldapsearch -x -LLL -H ldapi://%2Fvar%2Frun%2Fldapi -b cn=config -s base olcServerID

2015-08-14 06:30:46 +0000 command: /usr/bin/ldapsearch -x -LLL -H ldapi://%2Fvar%2Frun%2Fldapi -b cn=config objectClass=olcSyncProvConfig dn

2015-08-14 06:30:46 +0000 default realm: MDC-PRI.NEWDOMAIN.COM

2015-08-14 06:30:46 +0000 Configuring multimaster

2015-08-14 06:30:46 +0000 command: /usr/bin/ldapsearch -x -LLL -H ldapi://%2Fvar%2Frun%2Fldapi -b cn=config -s base olcServerID

2015-08-14 06:30:46 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi

2015-08-14 06:30:46 +0000 modifying entry "cn=config"


modifying entry "olcDatabase={1}bdb,cn=config"


modifying entry "olcDatabase={1}bdb,cn=config"


modifying entry "olcDatabase={2}bdb,cn=config"


modifying entry "olcDatabase={2}bdb,cn=config"

2015-08-14 06:30:46 +0000 Stopping LDAP server (slapd)

2015-08-14 06:30:57 +0000 Starting LDAP server (slapd)

2015-08-14 06:30:57 +0000 slapd started

2015-08-14 06:30:57 +0000 Updating ldapreplicas on mdc-pri.newdomain.com as diradmin

2015-08-14 06:31:07 +0000 Updating ldapreplicas record

2015-08-14 06:31:17 +0000 Unable to create ODNode for 10.11.217.201: 2100 Connection failed to the directory server.

2015-08-14 06:31:17 +0000 Unable to create ODNode for 10.11.217.201: 2100 Connection failed to the directory server. (error = 69)

2015-08-14 06:31:17 +0000 Deleting Cert Authority related data

2015-08-14 06:31:17 +0000 No intCAIdentity, not removing int CA from keychain

2015-08-14 06:31:17 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd.plist

2015-08-14 06:31:17 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd-helper.plist

2015-08-14 06:31:17 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertadmin.plist

2015-08-14 06:31:17 +0000 Updating ldapreplicas on primary master

2015-08-14 06:31:27 +0000 Unable to create ODNode for mdc-pri.newdomain.com: 2100 Connection failed to the directory server.

2015-08-14 06:31:27 +0000 Primary master node is nil!

2015-08-14 06:31:27 +0000 Unable to locate ldapreplicas record: 0 (null)

2015-08-14 06:31:27 +0000 Error setting read ldap replicas array: 0 (null)

2015-08-14 06:31:27 +0000 Error setting write ldap replicas array: 0 (null)

2015-08-14 06:31:27 +0000 ODRecord *_getODRecord(ODNode *, NSString *, NSString *, NSArray *): ODNodeRef parameter error

2015-08-14 06:31:27 +0000 int _removeReplicaFromConfigRecord(ODNode *, NSString *): ODRecord not found

2015-08-14 06:31:27 +0000 Error synchronizing ldapreplicas: 0 (null)

2015-08-14 06:31:27 +0000 Removing self from the database

2015-08-14 06:31:27 +0000 Warning: An error occurred while re-enabling GSSAPI.

2015-08-14 06:31:28 +0000 Stopping LDAP server (slapd)

2015-08-14 06:31:29 +0000 Stopping password server



Anything I can try more?


Thanks

Create standby MDC failed in create Open directory replica

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.