2 Replies Latest reply: Oct 23, 2014 2:04 PM by AK121881
Vern Dempster Level 1 Level 1 (20 points)

Hi all

 

Been fighting this for over a week now

Open directory Master running OK - students can login

Trying to create a replica on another brand new installed server. working my way through the errors using info from the discussions

 

DNS working perfectly on server changeip -checkhostname perfect

SSH on on both servers. (thanks Roger )

Root enable on both servers

Self signed Certificate enabled on both servers

 

Tried both GUI and Terminal create replicas- below are the logs. tried both FQDN and ip address

 

1. Errors with _ldap_replicator

 

1. 2012-10-10 08:45:16 +0000 CFStringRef CopyHostGUID(DSSLDAPContainerRef, CFStringRef): Could not get query results

2012-10-10 08:45:16 +0000 FATAL : Could not retrieve HOST GUID for parent

2012-10-10 08:45:16 +0000 FATAL : Could not retrieve HOST GUID for parent (error = 78)

2012-10-10 08:45:16 +0000 Deleting Cert Authority related data

2012-10-10 08:45:16 +0000 No intCAIdentity, not removing int CA from keychain

 

3. 2012-10-10 08:45:20 +0000 Warning: An error occurred while re-enabling GSSAPI.

 

Any thoughts how to move on from here

 

Thanks in advance

 

Vern dempster

 

Full logs

 

mahuserver4:~ admin$ sudo slapconfig -createreplica 10.0.96.104 diradmin

Password:

2012-10-10 08:43:44 +0000 slapconfig -createreplica

diradmin's Password:

2012-10-10 08:43:49 +0000 command: /usr/sbin/sso_util info -r /LDAPv3/ldap://10.0.96.104 -p

2012-10-10 08:43:49 +0000 1 Creating computer record for replica

2012-10-10 08:44:46 +0000 command: /usr/sbin/slapconfig -delkeychain /LDAPv3/127.0.0.1 mahuserver4.mahurangi.school.nz$

2012-10-10 08:44:46 +0000 Added computer password to keychain

2012-10-10 08:44:46 +0000 2 Creating ldap replicator user

2012-10-10 08:44:46 +0000 _ldap_replicator exists from previous replica - migrating

2012-10-10 08:44:46 +0000 NSString *_getReplicatorPasswordWithNode(ODNode *): no syncrepl attribute found in results

2012-10-10 08:44:46 +0000 Unable to get replicator password, recreating replicator

2012-10-10 08:44:54 +0000 ServerID for this replica 8

2012-10-10 08:44:56 +0000 command: /usr/bin/sntp -s time.asia.apple.com.

2012-10-10 08:44:57 +0000 3 Updating local replica configuration

2012-10-10 08:44:57 +0000 4 Gathering replication data from the master

2012-10-10 08:44:57 +0000 5 Copying master database to new replica

2012-10-10 08:44:57 +0000 Removed directory at path /var/db/openldap/openldap-data.

2012-10-10 08:44:57 +0000 Starting LDAP server (slapd)

2012-10-10 08:44:57 +0000 Waiting for slapd to start

2012-10-10 08:44:59 +0000 slapd started

2012-10-10 08:44:59 +0000 Stopping LDAP server (slapd)

2012-10-10 08:45:03 +0000 command: /usr/sbin/slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d

2012-10-10 08:45:03 +0000 command: /usr/sbin/slapadd -c -w -l /var/db/openldap/openldap-data/backup.ldif

2012-10-10 08:45:10 +0000 command: /usr/sbin/slapadd -c -w -b cn=authdata -l /var/db/openldap/authdata/authdata.ldif

2012-10-10 08:45:15 +0000

2012-10-10 08:45:15 +0000 50753596 slapd is running in import mode - only use if importing large data

          50753596 bdb_monitor_db_open: monitoring disabled; configure monitor database to enable

2012-10-10 08:45:15 +0000 6 Starting new replica

2012-10-10 08:45:15 +0000 Starting LDAP server (slapd)

2012-10-10 08:45:15 +0000 Waiting for slapd to start

2012-10-10 08:45:15 +0000 slapd started

2012-10-10 08:45:15 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi

2012-10-10 08:45:15 +0000 command: /usr/bin/ldapsearch -x -LLL -H ldapi://%2Fvar%2Frun%2Fldapi -b cn=config -s base olcServerID

2012-10-10 08:45:15 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi

2012-10-10 08:45:15 +0000 Starting password server

2012-10-10 08:45:16 +0000 CFStringRef CopyHostGUID(DSSLDAPContainerRef, CFStringRef): Could not get query results

2012-10-10 08:45:16 +0000 FATAL : Could not retrieve HOST GUID for parent

2012-10-10 08:45:16 +0000 FATAL : Could not retrieve HOST GUID for parent (error = 78)

2012-10-10 08:45:16 +0000 Deleting Cert Authority related data

2012-10-10 08:45:16 +0000 No intCAIdentity, not removing int CA from keychain

2012-10-10 08:45:16 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd.plist

2012-10-10 08:45:16 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd-helper.plist

2012-10-10 08:45:16 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertadmin.plist

2012-10-10 08:45:17 +0000 Updating ldapreplicas on primary master

2012-10-10 08:45:19 +0000 Removing self from the database

2012-10-10 08:45:20 +0000 Warning: An error occurred while re-enabling GSSAPI.

2012-10-10 08:45:21 +0000 Stopping LDAP server (slapd)

2012-10-10 08:45:23 +0000 Stopping password server

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/__db.001.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/__db.002.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/__db.003.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/__db.004.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/__db.005.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/__db.006.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/altSecurityIdentities.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/apple-computers.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/apple-config-realname.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/apple-generateduid.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-memberguid.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-nestedgroup.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-realname.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/apple-hwuuid.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/apple-realname.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/cn.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/DB_CONFIG.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/dn2id.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/entryCSN.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/entryUUID.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/gidNumber.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/givenName.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/id2entry.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/ipHostNumber.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/log.0000000001.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/log.0000000002.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/log.0000000003.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/log.0000000004.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/log.0000000005.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/macAddress.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/mail.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/memberUid.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/objectClass.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/ou.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/sn.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/telephoneNumber.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/uid.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/openldap-data/uidNumber.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/__db.001.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/__db.002.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/__db.003.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/__db.004.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/__db.005.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/__db.006.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/alock.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/authdata.ldif.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/authGUID.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/DB_CONFIG.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/dn2id.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/draft-krbPrincipalAliases.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/draft-krbPrincipalName.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/entryCSN.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/entryUUID.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/id2entry.bdb.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/log.0000000001.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/log.0000000002.

2012-10-10 08:45:23 +0000 Removed file at path /var/db/openldap/authdata/objectClass.bdb.

2012-10-10 08:45:23 +0000 Removed directory at path /var/db/openldap/authdata.

2012-10-10 08:45:23 +0000 Removed file at path /etc/openldap/slapd_macosxserver.conf.

2012-10-10 08:45:23 +0000 Removed file at path /etc/openldap/slapd.conf.

2012-10-10 08:45:23 +0000 Removed directory at path /etc/openldap/slapd.d/cn=config.

2012-10-10 08:45:23 +0000 Removed file at path /etc/openldap/slapd.d/cn=config.ldif.

2012-10-10 08:45:23 +0000 Removed directory at path /etc/openldap/slapd.d.

2012-10-10 08:45:23 +0000 Removed directory at path /etc/openldap/slapd.d.backup/cn=config.

2012-10-10 08:45:23 +0000 Removed file at path /etc/openldap/slapd.d.backup/cn=config.ldif.

2012-10-10 08:45:23 +0000 Removed directory at path /etc/openldap/slapd.d.backup.

2012-10-10 08:45:23 +0000 Stopping password server

2012-10-10 08:45:23 +0000 Removed file at path /etc/ntp_opendirectory.conf.

2012-10-10 08:45:23 +0000 Removed file at path /Library/Preferences/com.apple.openldap.plist.


MacBook Pro, OS X Mountain Lion (10.8.2), Using pages