Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Nolf

macrumors newbie
Original poster
Aug 13, 2013
7
0
Ukraine, Kiev
Good afternoon. Today tried to add a domain controller and against reserves as a result of this error I get this:
admin $ sudo / usr / sbin / slapconfig-preflightreplica master.local diradmin
master.local Password:
2013-10-11 11:43:58 +0000 NSMutableDictionary * _getRootDSE (const char *): rootDSE not found
2013-10-11 11:43:58 +0000 Error: Unable to determine the master's software version.
Tell me how can it be overcome?

Log slapconfig.log
2013-10-11 13:44:25 +0000 command: /usr/sbin/sso_util info -r /LDAPv3/ldap://tech-***.pr*** -p
2013-10-11 13:44:27 +0000 command: /usr/sbin/sso_util info -r /LDAPv3/ldap://tech-***.pr*** -p
2013-10-11 13:44:27 +0000 slapconfig -createreplica
2013-10-11 13:44:27 +0000 command: /usr/sbin/sso_util info -r /LDAPv3/ldap://tech-***.pr*** -p
2013-10-11 13:44:28 +0000 1 Creating computer record for replica
2013-10-11 13:44:42 +0000 command: /usr/sbin/slapconfig -delkeychain /LDAPv3/127.0.0.1 tech-***.pr***$
2013-10-11 13:44:42 +0000 slapconfig -delkeychain
2013-10-11 13:44:42 +0000 Added computer password to keychain
2013-10-11 13:44:42 +0000 2 Creating ldap replicator user
2013-10-11 13:44:42 +0000 _ldap_replicator exists from previous replica - migrating
2013-10-11 13:44:42 +0000 NSString *_getReplicatorPasswordWithNode(ODNode *): no syncrepl attribute found in results
2013-10-11 13:44:42 +0000 Unable to get replicator password, recreating replicator
2013-10-11 13:44:45 +0000 ServerID for this replica 7
2013-10-11 13:44:47 +0000 command: /usr/bin/sntp -s time.euro.apple.com.
2013-10-11 13:45:18 +0000 BOOL _syncClockWithSNTP(NSString *): Error invoking sntp -s time.euro.apple.com.
2013-10-11 13:45:18 +0000 on_wire failed for server 17.72.148.52!
on_wire failed for server 17.72.148.53!
2013-10-11 13:45:18 +0000 Error synchronizing clocks with the master.
2013-10-11 13:45:18 +0000 3 Updating local replica configuration
2013-10-11 13:45:18 +0000 4 Gathering replication data from the master
2013-10-11 13:45:18 +0000 5 Copying master database to new replica
2013-10-11 13:45:18 +0000 Removed directory at path /var/db/openldap/openldap-data.
2013-10-11 13:45:18 +0000 Starting LDAP server (slapd)
2013-10-11 13:45:18 +0000 Waiting for slapd to start
2013-10-11 13:45:20 +0000 slapd started
2013-10-11 13:45:20 +0000 Stopping LDAP server (slapd)
2013-10-11 13:45:24 +0000 command: /usr/sbin/slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d
2013-10-11 13:45:24 +0000 command: /usr/sbin/slapadd -c -w -l /var/db/openldap/openldap-data/backup.ldif
2013-10-11 13:45:25 +0000 command: /usr/sbin/slapadd -c -w -b cn=authdata -l /var/db/openldap/authdata/authdata.ldif
2013-10-11 13:45:25 +0000
2013-10-11 13:45:25 +0000 525800f5 slapd is running in import mode - only use if importing large data
525800f5 bdb_monitor_db_open: monitoring disabled; configure monitor database to enable
2013-10-11 13:45:25 +0000 6 Starting new replica
2013-10-11 13:45:25 +0000 Starting LDAP server (slapd)
2013-10-11 13:45:25 +0000 Waiting for slapd to start
2013-10-11 13:45:25 +0000 slapd started
2013-10-11 13:45:25 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
2013-10-11 13:45:25 +0000 command: /usr/bin/ldapsearch -x -LLL -H ldapi://%2Fvar%2Frun%2Fldapi -b cn=config -s base olcServerID
2013-10-11 13:45:25 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
2013-10-11 13:45:25 +0000 Starting password server
2013-10-11 13:45:26 +0000 7 Enabling local Kerberos server
2013-10-11 13:45:26 +0000 Configuring Kerberos server, realm is TECH-***.LOCAL
2013-10-11 13:45:26 +0000 command: /usr/sbin/sso_util configure -x -k -r TECH-***.LOCAL -f /LDAPv3/ldapi://%2Fvar%2Frun%2Fldapi -a diradmin -p **** -v 1 all
2013-10-11 13:45:27 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
2013-10-11 13:45:27 +0000 Stopping LDAP server (slapd)
2013-10-11 13:45:28 +0000 Starting LDAP server (slapd)
2013-10-11 13:45:28 +0000 Waiting for slapd to start
2013-10-11 13:45:28 +0000 slapd started
2013-10-11 13:45:28 +0000 8 Enabling syncprov overlay on the replica
2013-10-11 13:45:28 +0000 command: /usr/bin/ldapsearch -x -LLL -H ldapi://%2Fvar%2Frun%2Fldapi -b cn=config objectClass=olcSyncProvConfig dn
2013-10-11 13:45:28 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
2013-10-11 13:45:28 +0000 adding new entry "olcOverlay=syncprov,olcDatabase={1}bdb,cn=config"
2013-10-11 13:45:28 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
2013-10-11 13:45:28 +0000 adding new entry "olcOverlay=syncprov,olcDatabase={2}bdb,cn=config"
2013-10-11 13:45:28 +0000 9 Adding replica to master
2013-10-11 13:45:29 +0000 int _addLDAPReplicaWithNode(ODNode *, NSDictionary *, const char *, const char *, const char *): Cannot retrieve parent ServerID for (tech-***.pr***), exiting
2013-10-11 13:45:29 +0000 Unable to add Replica to parent/master
2013-10-11 13:45:29 +0000 Unable to add Replica to parent/master (error = 73)
2013-10-11 13:45:29 +0000 Deleting Cert Authority related data
2013-10-11 13:45:29 +0000 No intCAIdentity, not removing int CA from keychain
2013-10-11 13:45:29 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd.plist
2013-10-11 13:45:29 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd-helper.plist
2013-10-11 13:45:29 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertadmin.plist
2013-10-11 13:45:29 +0000 Updating ldapreplicas on primary master
2013-10-11 13:45:39 +0000 ODNode *CopyPrimaryMasterNode(BOOL): Unable to set credentials: 2100 Connection failed to the directory server.
2013-10-11 13:45:39 +0000 Primary master node is nil!
2013-10-11 13:45:39 +0000 Unable to locate ldapreplicas record: 0 (null)
2013-10-11 13:45:39 +0000 Error setting read ldap replicas array: 0 (null)
2013-10-11 13:45:39 +0000 Error setting write ldap replicas array: 0 (null)
2013-10-11 13:45:39 +0000 ODRecord *_getODRecord(ODNode *, NSString *, NSString *, NSArray *): ODNodeRef parameter error
2013-10-11 13:45:39 +0000 int _removeReplicaFromConfigRecord(ODNode *, NSString *): ODRecord not found
2013-10-11 13:45:39 +0000 Error synchronizing ldapreplicas: 0 (null)
2013-10-11 13:45:39 +0000 Removing self from the database
2013-10-11 13:45:39 +0000 Warning: An error occurred while re-enabling GSSAPI.
2013-10-11 13:45:40 +0000 Stopping LDAP server (slapd)
2013-10-11 13:45:44 +0000 Stopping password server
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/__db.001.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/__db.002.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/__db.003.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/__db.004.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/__db.005.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/__db.006.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/altSecurityIdentities.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/apple-config-realname.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/apple-generateduid.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-memberguid.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-nestedgroup.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-realname.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/apple-hwuuid.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/apple-locale-subnets.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/cn.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/DB_CONFIG.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/dn2id.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/entryCSN.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/entryUUID.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/gidNumber.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/givenName.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/id2entry.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/ipHostNumber.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/log.0000000001.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/macAddress.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/memberUid.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/objectClass.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/ou.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/sn.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/uid.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/openldap-data/uidNumber.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/__db.001.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/__db.002.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/__db.003.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/__db.004.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/__db.005.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/__db.006.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/alock.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/authdata.ldif.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/authGUID.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/DB_CONFIG.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/dn2id.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/draft-krbPrincipalAliases.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/draft-krbPrincipalName.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/entryCSN.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/entryUUID.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/id2entry.bdb.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/log.0000000001.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/openldap/authdata/objectClass.bdb.
2013-10-11 13:45:44 +0000 Removed directory at path /var/db/openldap/authdata.
2013-10-11 13:45:44 +0000 Removed file at path /etc/openldap/slapd_macosxserver.conf.
2013-10-11 13:45:44 +0000 Removed file at path /etc/openldap/slapd.conf.
2013-10-11 13:45:44 +0000 Removed file at path /etc/openldap/rootDSE.ldif.
2013-10-11 13:45:44 +0000 Removed file at path /var/db/dslocal/nodes/Default/groups/com.apple.access_dsproxy.plist.
2013-10-11 13:45:44 +0000 Removed directory at path /etc/openldap/slapd.d/cn=config.
2013-10-11 13:45:44 +0000 Removed file at path /etc/openldap/slapd.d/cn=config.ldif.
2013-10-11 13:45:44 +0000 Removed directory at path /etc/openldap/slapd.d.
2013-10-11 13:45:44 +0000 Removed directory at path /etc/openldap/slapd.d.backup/cn=config.
2013-10-11 13:45:44 +0000 Removed file at path /etc/openldap/slapd.d.backup/cn=config.ldif.
2013-10-11 13:45:44 +0000 Removed directory at path /etc/openldap/slapd.d.backup.
2013-10-11 13:45:44 +0000 Stopping password server
2013-10-11 13:45:44 +0000 Removed file at path /etc/ntp_opendirectory.conf.
2013-10-11 13:45:44 +0000 Removed file at path /Library/Preferences/com.apple.openldap.plist.
 
Last edited:

matspekkie

macrumors member
Oct 19, 2010
97
0
It looks like the replica server cannot resolve properly.
You have had a previous replica same name?
Ntp sync does not work.
Are they within 5 minutes sync.
 

Nolf

macrumors newbie
Original poster
Aug 13, 2013
7
0
Ukraine, Kiev
It looks like the replica server cannot resolve properly.
You have had a previous replica same name?
Ntp sync does not work.
Are they within 5 minutes sync.

Thank you for your response. No, this is the first installation in this form. I installed the first server and made him a master, the other wanted to make a second (redundant). About the time synchronization, I / ets / ntp.conf have a time server, as well as in the system settings, but when you install it for some reason trying to take all the time exactly from the site apple. (do not tell him where to specify a different server?)
 

matspekkie

macrumors member
Oct 19, 2010
97
0
From the replica can you ping your master " ping tech-***.pr***" the fq domain name?

Have you joined the replica to your domain first?

As far as setting your ntp server.

sudo nano /etc/ntp.conf

server "your.servername.com." (don't forget the trailing dot it marked it as a Full qualified domain name.

----------

Also make sure ssh is enabled and you are able to ssh from & to master & replica.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.