AFP548 Changing the world one server at a time.

Replica has stopped working

Home › Forums › OS X Server and Client Discussion › Open Directory › Replica has stopped working

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #363801
    Anonymous
    Guest

    One of our replicas stopped letting users log in after a restart. Have tried going back to OD master and then back to replica but no luck. Trying from the command line I get:

    >slapconfig -createreplica 192.168.254.251 admin
    Root Password For Master LDAP Server:
    admin’s Password:
    admin’s Password:
    1 Destroying local LDAP server
    No username entered to decommision this replica of master 192.168.254.251.
    You must have a network administrator’s name & password to remove a KDC
    from the directory
    sso_util command output:
    shutting down kadmind
    kadmind shut down
    shutting down kdc
    kdc shut down
    removing kdc database files
    LDAP server is not running.
    NeST command output:

    2 Stopping master LDAP server
    Warning: Permanently added ‘192.168.254.251’ (RSA) to the list of known hosts.
    3 Copying master database to new replica
    4 Updating master configuration
    5 Restarting master LDAP server
    Starting LDAP server
    Starting LDAP replicator
    6 Updating local replica configuration
    7 Starting new replica
    Starting LDAP server
    /etc/openldap/slapd_macosxserver.conf: line 57: index attribute “apple-category” undefined
    8 Starting replicator on master server
    updating ldapreplicas record failed with error -14002
    dsOpenDirNode failed with error of type -14002
    9 Enabling password server replication
    NeST command output:

    10 Enabling local Kerberos server
    No Kerberos realm name found.

    any ideas?

    #363820
    Anonymous
    Guest

    Ah, ok was doing -destroyreplica instead of -setstandalone.

    It started working again randomly anyway after a few hours, which is a bit of a worry!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.