Can't create OD replica

Hi
I'm trying to create an OD replica but it won't stick and I get the following in my log file
Aug 8 16:14:15 racer slapd[4763]: @(#) $OpenLDAP: slapd 2.2.19 $\n
Aug 8 16:14:15 racer slapd[4763]: bdbbackinitialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)\n
Aug 8 16:14:15 racer slapd[4763]: bdbdbinit: Initializing BDB database\n
Aug 8 16:14:15 racer slapd[4763]: slapd starting\n
Aug 8 16:14:42 racer slapd[4763]: slapd shutdown: waiting for 0 threads to terminate\n
Aug 8 16:14:42 racer slapd[4763]: bdb(dc=lights-fmri-columbia-edu,dc=local): Locker still has locks\n
Aug 8 16:14:42 racer slapd[4763]: bdblocker_idfree: 9 err Invalid argument(22)\n
Aug 8 16:14:42 racer slapd[4763]: bdb(dc=lights-fmri-columbia-edu,dc=local): apple-generateduid.bdb: unable to flush: No such file or directory\n
Aug 8 16:14:42 racer slapd[4763]: bdb(dc=lights-fmri-columbia-edu,dc=local): uid.bdb: unable to flush: No such file or directory\n
Aug 8 16:14:42 racer slapd[4763]: bdb(dc=lights-fmri-columbia-edu,dc=local): ou.bdb: unable to flush: No such file or directory\n
Aug 8 16:14:42 racer slapd[4763]: bdb(dc=lights-fmri-columbia-edu,dc=local): cn.bdb: unable to flush: No such file or directory\n
Aug 8 16:14:42 racer slapd[4763]: bdb(dc=lights-fmri-columbia-edu,dc=local): objectClass.bdb: unable to flush: No such file or directory\n
Aug 8 16:14:42 racer slapd[4763]: bdb(dc=lights-fmri-columbia-edu,dc=local): dn2id.bdb: unable to flush: No such file or directory\n
Aug 8 16:14:42 racer slapd[4763]: bdb(dc=lights-fmri-columbia-edu,dc=local): id2entry.bdb: unable to flush: No such file or directory\n
Aug 8 16:14:42 racer slapd[4763]: bdb(dc=lights-fmri-columbia-edu,dc=local): txn_checkpoint: failed to flush the buffer cache No such file or directory\n
Aug 8 16:14:42 racer slapd[4763]: bdbdbdestroy: txn_checkpoint failed: No such file or directory (2)\n
Aug 8 16:14:42 racer slapd[4763]: slapd stopped.\n
I'm not running kerberos and I don't really want to.
thanks
Anna

Try this: a more simple command:
slapconfig -removereplica 10.20.30.15
The next option would be to archive the current OpenDirectory Master and then restoring it again, the replica should be gone after that archive and restore.
Everything else will be preserved.
Goodluck
Jeffrey

Similar Messages

  • Can not create a OD replica on lion server

    We've implemented a new XSAN running lion server but we're not able to create an OD replica using GUI. First it seems it create it, but after 15 seconds it was with the green condition it goes yellow again and says "it's not a master directory replica". Any help would be greatly appreciated it!

    I am sure the XSAN part is not of the issue, but rather the latter, 10.7 and replica.  I have had issues in the past although I had to do a lot of digging to get it to work.  Will say that subnetting is an issue when it comes to a replica, although 10.6 was also troublesome to say the least.  When I created the replica I actually had to keep the console open on the master to view the logs and what I found was interesting to say the least.  Now I am not sure if 10.7.4 fixes this but I would suggest that you boot the Server and login as root.  Then open Server Admin and create the replica.  I noticed that did not produce so many errors on either side.  I did post this to Apple but do not have the case # for it.  I would try this and let me know what occurs.  It would also help if you can post log data so I can help further.

  • Creating OD Replica fails

    Hi,
    We recently had a drama with our OD master which rendered it unusable so we're now running with one of our OD replicas promoted to master.
    We had two other servers which successfully bound as replicas to the new OD master but they didn't replicate following the initial replication.  I converted them back to stand-alone servers and then tried to join them as replicas again.
    Initially, I got the "augmented user record" error but manual removal of replica entries through Directory Utility corrected that.
    However, I still can't get the servers to join as replicas.  Using Server Admin, the replication process gets so far and then stops with no error message.  Creating replica via command line gives the output below.
    Any ideas?  Is it the Kerberos realm that's killing this?  I'm not using SSL anywhere and nothing has changed on the OD master since the initial replica creation.
    TIA,
    Stu
    odreplica:~ badger$ sudo slapconfig -createreplica newodmaster.company.com diradmin
    diradmin's Password:
    2012-11-23 22:16:55 +0000 command: /usr/sbin/sso_util info -r /LDAPv3/ldap://newodmaster.company.com -p
    2012-11-23 22:17:07 +0000 command: /usr/sbin/sso_util info -r /LDAPv3/128.56.0.201 -p
    2012-11-23 22:17:07 +0000 1 Creating computer record for replica
    2012-11-23 22:17:12 +0000 Added computer password to keychain
    2012-11-23 22:17:12 +0000 2 Updating master's configuration
    2012-11-23 22:17:12 +0000 3 Creating ldap replicator user
    2012-11-23 22:17:14 +0000 command: /usr/sbin/ntpd -q -d -d -g -x -c /var/run/tmpntp.conf.newodmaster.company.com
    2012-11-23 22:17:18 +0000 Removed file at path /var/run/tmpntp.conf.newodmaster.company.com.
    2012-11-23 22:17:18 +0000 4 Updating local replica configuration
    2012-11-23 22:17:18 +0000 5 Gathering replication data from the master
    2012-11-23 22:17:56 +0000 6 Copying master database to new replica
    2012-11-23 22:17:56 +0000 Removed directory at path /var/db/openldap/openldap-data.
    2012-11-23 22:17:57 +0000 command: /usr/bin/tar -C / -xf /var/db/openldap/schema.tar
    2012-11-23 22:17:57 +0000 Starting LDAP server (slapd)
    2012-11-23 22:17:57 +0000 Waiting for slapd to start
    2012-11-23 22:17:57 +0000 ...
    2012-11-23 22:17:59 +0000 Stopping LDAP server (slapd)
    2012-11-23 22:18:03 +0000 command: /usr/sbin/slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d
    2012-11-23 22:18:03 +0000 command: /usr/sbin/slapadd -c -w -l /var/db/openldap/openldap-data/backup.ldif
    2012-11-23 22:18:04 +0000 command: /usr/sbin/slapadd -c -w -b cn=authdata -l /var/db/openldap/authdata/authdata.ldif
    2012-11-23 22:18:04 +0000
    2012-11-23 22:18:04 +0000 slapd is running in import mode - only use if importing large data
    bdb_monitor_db_open: monitoring disabled; configure monitor database to enable
    2012-11-23 22:18:04 +0000 7 Starting new replica
    2012-11-23 22:18:04 +0000 Starting LDAP server (slapd)
    2012-11-23 22:18:05 +0000 Waiting for slapd to start
    2012-11-23 22:18:05 +0000 ...
    2012-11-23 22:18:06 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-11-23 22:18:06 +0000 command: /usr/bin/ldapsearch -x -LLL -H ldapi://%2Fvar%2Frun%2Fldapi -b cn=config -s base olcServerID
    2012-11-23 22:18:06 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-11-23 22:18:06 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-11-23 22:18:06 +0000 command: /bin/launchctl load -w /System/Library/LaunchDaemons/com.apple.PasswordService.plist
    2012-11-23 22:18:07 +0000 8 Enabling local Kerberos server
    2012-11-23 22:18:07 +0000 Configuring Kerberos server, realm is DEADSERVER.COMPANY.COM
    2012-11-23 22:18:07 +0000 command: /usr/sbin/kdcsetup -e
    2012-11-23 22:18:07 +0000 command: /usr/sbin/sso_util configure -x -k -r DEADSERVER.COMPANY.COM -f /LDAPv3/ldapi://%2Fvar%2Frun%2Fldapi -a diradmin -p **** -v 1 all
    2012-11-23 22:18:08 +0000 _createLDAPReplica: sso_util configure failed 1.  stdout = {  } stderr = { Creating the service list
    Creating the keytab file
    2012-11-23 22:18:09 +0000 9 Enabling syncprov overlay on the replica
    2012-11-23 22:18:09 +0000 command: /usr/bin/ldapsearch -x -LLL -H ldapi://%2Fvar%2Frun%2Fldapi -b cn=config objectClass=olcSyncProvConfig dn
    2012-11-23 22:18:09 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-11-23 22:18:10 +0000 adding new entry "olcOverlay=syncprov,olcDatabase={1}bdb,cn=config"
    2012-11-23 22:18:10 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-11-23 22:18:10 +0000 adding new entry "olcOverlay=syncprov,olcDatabase={2}bdb,cn=config"
    2012-11-23 22:18:10 +0000 10 Adding replica to master
    2012-11-23 22:18:10 +0000 addReplica request failed with status 1073 Unknown Error
    2012-11-23 22:18:10 +0000 addReplica request failed with status 1073 Unknown Error (error = 69)
    2012-11-23 22:18:10 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.opendirectorybackup.plist
    2012-11-23 22:18:10 +0000 Deleting Cert Authority related data
    2012-11-23 22:18:10 +0000 No intCAIdentity, not removing int CA from keychain
    2012-11-23 22:18:10 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd.plist
    2012-11-23 22:18:10 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd-helper.plist
    2012-11-23 22:18:10 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertadmin.plist
    2012-11-23 22:18:10 +0000 Updating ldapreplicas on primary master
    2012-11-23 22:18:10 +0000 Removing self from the database
    2012-11-23 22:18:11 +0000 Warning: An error occurred while re-enabling GSSAPI.
    2012-11-23 22:18:12 +0000 Stopping LDAP server (slapd)
    2012-11-23 22:18:16 +0000 cleanKeytab: unable to retrieve default realm
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/__db.001.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/__db.002.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/__db.003.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/__db.004.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/__db.005.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/__db.006.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/altSecurityIdentities.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/apple-company.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/apple-computers.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/apple-config-realname.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/apple-generateduid.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-memberguid.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-nestedgroup.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-realname.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/apple-hwuuid.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/apple-realname.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/apple-serviceslocator.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/c.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/cn.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/DB_CONFIG.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/departmentNumber.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/dn2id.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/entryCSN.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/entryUUID.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/gidNumber.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/givenName.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/id2entry.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/ipHostNumber.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/l.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/log.0000000001.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/macAddress.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/mail.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/memberUid.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/mobile.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/objectClass.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/ou.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/postalCode.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/sn.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/st.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/street.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/telephoneNumber.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/uid.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/openldap-data/uidNumber.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/__db.001.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/__db.002.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/__db.003.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/__db.004.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/__db.005.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/__db.006.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/alock.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/authdata.ldif.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/authdata_DB_CONFIG.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/authGUID.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/DB_CONFIG.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/dn2id.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/draft-krbPrincipalAliases.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/draft-krbPrincipalName.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/entryCSN.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/entryUUID.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/id2entry.bdb.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/log.0000000001.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/openldap/authdata/objectClass.bdb.
    2012-11-23 22:18:16 +0000 Removed directory at path /var/db/openldap/authdata.
    2012-11-23 22:18:16 +0000 Removed file at path /etc/openldap/slapd_macosxserver.conf.
    2012-11-23 22:18:16 +0000 Removed file at path /etc/openldap/slapd.conf.
    2012-11-23 22:18:16 +0000 Removed file at path /etc/openldap/rootDSE.ldif.
    2012-11-23 22:18:16 +0000 Removed file at path /var/db/dslocal/nodes/Default/groups/com.apple.access_dsproxy.plist.
    2012-11-23 22:18:16 +0000 Removed directory at path /etc/openldap/slapd.d/cn=config.
    2012-11-23 22:18:16 +0000 Removed file at path /etc/openldap/slapd.d/cn=config.ldif.
    2012-11-23 22:18:16 +0000 Removed directory at path /etc/openldap/slapd.d.
    2012-11-23 22:18:16 +0000 Removed directory at path /etc/openldap/slapd.d.backup/cn=config.
    2012-11-23 22:18:16 +0000 Removed file at path /etc/openldap/slapd.d.backup/cn=config.ldif.
    2012-11-23 22:18:16 +0000 Removed directory at path /etc/openldap/slapd.d.backup.
    2012-11-23 22:18:16 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.PasswordService.plist
    2012-11-23 22:18:22 +0000 Removed file at path /Library/Preferences/com.apple.openldap.plist.

    SSH is enabled for all users on both Macs. Manually added diradmin aswell just to make me feel better.
    Additionally, here's what I get when I try running preflight on either Mac:
    usvtamtln101:~ sadmin$ sudo /usr/sbin/slapconfig -preflightreplica 172.20.9.40 diradmin
    Password:
    172.20.9.40's Password:
    2012-12-17 19:34:33 +0000 NSMutableDictionary *_getRootDSE(const char *): rootDSE not found
    2012-12-17 19:34:33 +0000 Error: Unable to determine the master's software version.
    After seeing this, I tried unbinding both Macs from Active Directory, restarting and then trying again. Same thing...

  • Can DVDSP create a CSS enabled Video_TS ready for replication?

    Can I create a copy-protected DVD with a Video_TS folder ready for replication?
    From what I understand, copy-protected DVD's for replication can only be created through the DDP file process. That means that the replicator must apply a "mastering process" to the files before a glass master is created.
    I am being told my a replicator that in the past, they have received discs from clients that are copy protected and ready for replication. Is this possible? Can I burn these type of discs with DVD Studio Pro and a built in burner?
    Ed

    Here is a post from another site that provides more details--basically the answer to my question is no.
    Can I create a copy-protected DVD with a Video_TS folder ready for replication?
    Nope. All CSS encrypted DVD's must be in DDP or CMF format on either hard drive, DLT, or DVD-R (provided as DVD-ROM, not Video_TS).
    The "mastering process" is us (replicators) adding the actual CSS keys to the final image while it is premastering. DVD Studio Pro "flags" the master with CSS. The keys are added in the premastering stage at the replicator before glass is made (unless you use Scenarist, you can add the keys upon output, which doesn't make it playable but the Eclipse software will see the keys are present and we don't have to add them).
    I am being told by my replicator that in the past, they have received discs from clients that are copy protected and ready for replication. Is this possible? Can I burn these type of discs with DVD Studio Pro and a built in burner?
    I would think that this would be the DDP image with the CSS keys included. I dont believe there is any way to output a playable DVD that has CSS to a DVD-R on any authoring system. Even if there was you cannot premaster a DVD-Video with CSS at any replication facility.
    -Luke
    I think that pretty much sums it up.
    Ed

  • While creating OpenDirectory replica, I get a "non-zero status code". How do I fix this?

    I'm trying to create an OpenDirectory replica with OS X 10.9.2 servers running Server 3.1.1. The server seems to connect to the master momentarily, but ultimately the connection fails. The log file shows:
    May 21 11:25:01 inglewoodmirror.local Server[323]: An error occurred while configuring InglewoodMirror as a directory replica:
    Error Domain=XSActionErrorDomain Code=69 "Server returned a non-zero status code"
    UserInfo=0x608000a73500 {NSLocalizedDescription=Server returned a non-zero status code}
    The Apple Discussion titled, "Error occurred creating OD replica" addressed the issue by running Workgroup Manager to backup users, before destroying and recreating the OD.  However, that user also botched the master-replica relationship by changing the host name of the master without destroying the replica's first.
    I'm hoping that there is a simpler method to solve this issue.  It is my understanding that Workgroup Manager is a depricated app, so I am hesitant to use the method recommended by the referenced solution.
    What causes this error?  How can one attempt to remedy this without destroying the master?

    Update
    I have been trying to diagnose this by analyzing the network traffic, which has been enlightening, but it suddenly dawned on me that I had not checked the "Logs" section of the Server application.  Checking the Log and changing the specific Log to "Configuration Log" in the OpenDirectory section, I see the following:
    This error is much more clear than the text described above.  It seems that the problem is not network communication, rather it is that the OpenDirectory administrator is not the same as the system administrator.  I had thought that the user account was one and the same.
    So, now the question becomes.....
    How do I determine the userId of the directory administrator?
    The password is known.  We have a standard password that we use in this company for such things, but the user account is not known.  That changes based on the machine which houses the directory.  Does anyone have a suggestion?

  • Is there a way out by which commitment item can be created in all company

    Hi  All
    Is there a way out by which commitment item can be created in all company
    codes at one go? or any other  way to do the same.
    Advance thanks
    reddy

    Thanks for your advise, 
    I mean to say  ""  GL Accounts can be replicated in all company codes using the transaction code FS15. Commitment item is created using transaction code FIPOS. The issue is as the GL can be replicated in all company codes at one go but the commitment items are to be created one by one for each company code. For creating commitment items in all company codes from x to z ", involves considerable amount of time to create GL Account completely.""
    thanks in advance  any how  assigned points

  • How create a replice "Mass Change for Quotation" from the "Mass..for order"

    Hello everybody,
    How create a replica "Mass Change for Quotation" UI object from the standard "Mass change for Sales Ordesr" UI object...
    Way: SAP CRM==>Select a business role "SPL-Service part Management" ==> Sales ==> "Mass Change Sales Orders"
    It needs a replica with the title "Mass Change for Quotation" .
    Could you pleas help?
    Mit freundlichen Gruessen / Kind regards,
    Pavel Biarozkin

    Hi Howard Brown,
    Thanks for your suggestions about Windows user experience. Actually, we are glad to hear more feedback
     about Windows operating system so that we can improve Windows to make it be more easier to
     use.
    As a suggestion for your current situation, you can use Windows Charm Bar to search Apps, it is also easy to use.
    Alex Zhao
    TechNet Community Support

  • Error occurred creating OD replica

    Hello all, I am trying to create an OD replica and am having some frustrating problems. Recently, I added a second server, created an OD replica, and then changed the hostname on my OD master and that hosed up my replica. Prior to my hostname change, the replica appeared as "mplssv02.domain.com". After I changed the hostname to mplssv01, the replica became "mplssv02.mplssv01.domain.com". On the master, when I attempt to delete the replica, I give it the diradmin username and password, the server admin username and password, it thinks for a few seconds and then does nothing. So I created a DNS A record for "mplssv02.mplssv01.domain.com" and tried deleting it again and this time it finds the server and says it is destroying the replica and then it returns to the OD pane and the replica is still there! Why won't it go away!? I've tried restarting the machine, the OD service and still cannot figure this out.
    On the replica server I was able to successfully remove the replica but now I cannot recreate it. I get this error message:
    Jul 13 20:17:17 mpls-sv02.domain.com Server[76778]: An error occurred while configuring MPLSSV02 as a directory replica:
              Error Domain=XSActionErrorDomain Code=73 "Server returned a non-zero status code" UserInfo=0x7fd9e104bcf0 {NSLocalizedDescription=Server returned a non-zero status code}
    I've tried to create a replica on both machines and I get the same error regardless. I've tried to remove the bad replica on my master machine by running:
    sudo slapconfig -removereplica 10.33.1.16 svadmin
    I don't get any errors in terminal and it says it has destroyed the replica but it still shows up in the OD pane of server.app.
    What else can I try to get this working again?

    Solved it!
    As it turns out (according to Apple Enterprise Support), if slapconfig -removereplica command does not work it is because the replica records are orphaned and stuck in the OD abyss. The records became irphaned when I changed the hostname of the master. Apparently that's a bad idea.
    So I had to use workgroup manager to export my users, groups, and computer records. Then I used slapconfig -destroyldapserver to completely blow away the OD database. Then in Server.app I turned OD back on and followed prompts to create a new domain master. Once that was done I imported my users, groups, and computers into workgroup manager and reset the passwords on all the accounts. Importing and exporting retains everything except passwords.
    Then I recreated my replica on my second machine and all is well again. Hope this helps others in the same position.

  • Create a replica of textfield

    Hi there,
    I have this huge labVIEW program, that calls multiple subVIs.
    To know where in the program I am, I have a textfield on the main page, and I pass it as a reference to all subVIs, and so I use it as some sort of a Software Status. 
    Now, the main page is really big, and so one textfield is not enough, because sometimes I move to another position on page, and can no longer see this.
    Is there a way to create a replica of this, so that I can put multiple of these textfields on the page at different locations? 
    Thanks!

    Hi,
    There are many complicated ways to do this, but I can suggest a simpler but a little time consuming method
    Assuming that you are using the value property of the original string indicator/control to update the status message, you can do the following steps
    1. Place the new string indicators in your main vi's front panel.
    2. Change the original string indicator's property to Value(Signaling) from Value  in all the places its been used.
    3. Add a small while loop in your main VIs block diagram and place an event structure.
    4. Add a value change event for the original string in the event structure. Pass the new value data to all other new string indicators.
    You would see the status message displayed in every string indicator.
    Hope this helps.

  • How can I create a new iCloud account for a familiy member having a new iDevice and reuse one of my aliases for it

    Hi there,
    I moved into iCloud from the very beginning and started with one iCloud account for me and my family, making use of email aliases for family members. Now the number of personal iDevices grows and I want to create a new and separate iCloud Account for my son. The pity is, that I reserved his full name already as alias address on my initial iCloud account. If I now delete this alias, can I create a new account with the former alias as new primary email address?
    Or is there at least any transfer procedure supported for aliases between different accounts?
    Thanks for your help, lauterbachj

    Couldn't agree more... the folks who are getting penalized for this are the early adopters of .Mac/iCloud dating from the days when the only way to implement a "family" account was to use aliases. Now all my kids' / my wife's name aliases sit in my account, unable to move. I guess the good news is that if I delete them nobody else will get them, but this seems a pretty poor consolation.
    Would it really be so difficult to implement a "move this alias to another iCloud account" option that requires the "sender" and "receiver" to exchange some sort of code to implement the transation in order to prevent fraud?

  • How can I create JScrollPane in my swing application with scroll bars movin

    Hi,
    How can we create scrollpanes moving with scrollbars.I tried many times with custom layout.but it does not work if i set custom layout.I hope that I will get my problem solved.
    Thanks and Regards,
    Rameh RK

    This means it is not possible to create a pure unicode file without the byte order mark?
    You wouldn't happen to know how a file with byte order mark should read on a Linux system?
    Or if this possible or not?
    Regards
    Christian

  • I have multiple apple phones on one account  can i create a new iTunes account for other iphone

    I have multiple iphones on one billing account as well as itunes.  Can I create a separate itunes account for other iphone?

    You don't need to create two separate libraries.
    If you want to sync different content onto each device, select the device in iTunes, select the tabs across the top and sync what you want.
    To make it easier, create different playlists for each device and sync only those playlists.

  • TS2756 How can i create a new usb connection (service)  on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )

    How can i create a new usb connection (service)  on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )
    i know its not a problem whit my carrier o data plan or sharing preferences on the ipone because when i use it un my laptop it works perfectly through
    the usb and even works on the Imac through wifi and bluethood tethering but NOT through usb!!.
    the problem is that trying to make it work i deleted the "profile" usb iphone on the network prefereces panel. Now i only have 3 options: ethernet / wifi / bluetooth
    but not the usb iPhone i used to have.
    And when i try to add a new one i dont get a USB option.
    can some one help me please??
    this is how it looks (after the bluetooth PAN i used to have USB iPhone option)

    The question would be more appropriate in the Mac forums as it is not really related to the iPhone.

  • IPad2 and a new MacBook running Lion, Both Devices use the same Apple ID which is a Hotmail eMail id. Can I create a new iCloud eMail Id and use iCloud eMail and continue to use my Hotmail Id for my Apple Id and use it for iTunes, iCloud

    I have an iPad2 and a new MacBook running Mountain Lion. Both Devices use the same Apple ID which is a Hotmail eMail id. Can I create a new iCloud eMail Id and use iCloud eMail and continue to use my current Hotmail Id for my Apple Id for iTunes, iCloud.
    Note, I will use both Hotmail and iCloud eMail.

    Welcome to the Apple Community.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")

  • How can I create a new ring tone for my iPhone 4?

    How can I create a new ring tone for my iPhone 4? I followed the Garage Band process and ended up with the ring tone I want as a AAC audio file. It got stored in my iTunes a a song rather than a ring tone. How do I make it a ring tone vs. a song? I tried dragging it t the Ring Tone category at the bottom of the ITunes list, but it won't alloow me to move it?

    There's also an easy to use Applescript over at Doug's Applescripts for iTunes. It automates the whole thing. All you do is set the start and stop time on a file in iTuens and run the script. It will do everything else.
    Make Ringable v1.1
    http://dougscripts.com/475

Maybe you are looking for