Home Forums OS X Server and Client Discussion Open Directory Unable to Create a Replica

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #358919
    Anonymous
    Guest

    So I have set up the second OS X Server, both have the correct license number, and both are running 10.3.5.

    Initially, I would get errors: unable to write settings. When I changed the admin’s password to not have spaces, I was happy to start establishing the Replica.

    However, the process would start, it would destroy the local LDAP system, then the process would stop. Meanwhile, my LDAP server on the Master went down during this process, and the DirectoryServices gets trashed to only search the local Netinfo database (my whole system was down for a few hours while I figured out why it wouldn’t let me log in or get/send email).

    I would like to figure out what is going on, but the LDAP Log in Server Admin is always blank (I figure it is a permissions problem, but I don’t know where), and the System Log doesn’t seem to show anything useful.

    Does anyone hae any suggestions for what could be gong wrong?

    Alex

    #362960
    mkalien
    Participant

    [QUOTE BY= MacTroll] /Library/Logs/slapconfig.log

    Or just use “slapconfig” from the CLI to create the replica.[/QUOTE]

    So I’m not able to create a replica to a 10.4.2 OD Master. I was trying from the Server Admin GUI, but had no luck. I changed my replica-to-be to stand alone, then to replica and it always ended up back at stand alone. I tried a fresh Tiger server install on another xserve but had the same problem. I saw your tip and tried running slapconfig -createreplica . I wasn’t sure if “no such process” was normal for the slapd and slurpd calls and it seems to revert itself after attempting to set password server replication.

    Any help? (Preferrably other than frap and reinstall the master?) I will attempt to reinstall OS X Server on the replica again and try the command line.

    Here’s the output:

    Root Password For Master LDAP Server:
    diradmin’s Password:
    command: ssh [email protected] /usr/sbin/slapconfig -checkmaster diradmin 0 3 3
    Warning: Permanently added ‘10.6.2.11’ (RSA) to the list of known hosts.
    diradmin’s Password:
    1 Destroying local LDAP server
    command: /usr/sbin/sso_util remove -k -d -s -c -n -v 1
    sso_util command output:
    shutting down kadmind
    kadmind shut down
    shutting down kdc
    No such process
    No such process
    kdc shut down
    removing kdc database files
    Stopping LDAP server (slapd)
    No such process
    nothing found to load
    Stopping LDAP replicator (slurpd)
    No such process
    nothing found to load
    Removed file at path /etc/openldap/slapd.conf.
    Copied file from /etc/openldap/slapd.conf.default to /etc/openldap/slapd.conf.
    command: /usr/sbin/NeST -pwsstandalone
    NeST command output:
    No such process
    nothing found to load

    nothing found to load
    2 Stopping master LDAP server
    command: ssh [email protected] /usr/sbin/slapconfig -stopldapserver
    Warning: Permanently added ‘10.6.2.11’ (RSA) to the list of known hosts.
    Stopping LDAP server (slapd)
    nothing found to load
    Stopping LDAP replicator (slurpd)
    No such process
    nothing found to load
    3 Updating master configuration
    command: ssh [email protected] /usr/sbin/slapconfig -addreplica 10.6.2.12
    command: ssh [email protected] /usr/bin/db_recover -h /var/db/openldap/openldap-data
    command: ssh [email protected] /usr/sbin/slapcat -l /var/db/openldap/openldap-data/backup.ldif
    4 Restarting master LDAP server
    command: ssh [email protected] /usr/sbin/slapconfig -startldapserver
    Starting LDAP server (slapd)
    No such process
    5 Updating local replica configuration
    Copied file from /etc/openldap/slapd.conf to /etc/openldap/slapd.conf.backup.
    6 Copying master database to new replica
    Removed directory at path /var/db/openldap/openldap-data.
    command: scp [email protected]:/var/db/openldap/openldap-data/backup.ldif /var/db/openldap/openldap-data/
    command: scp [email protected]:/etc/openldap/schema /etc/openldap/
    command: /usr/sbin/slapadd -c -l /var/db/openldap/openldap-data/backup.ldif
    7 Starting new replica
    Starting LDAP server (slapd)
    No such process
    8 Starting replicator on master server
    command: ssh [email protected] /usr/sbin/slapconfig -startreplicator
    Starting LDAP replicator (slurpd)
    No such process
    Configuring Kerberos server, realm is LDAP.BIOLA.EDU
    command: scp [email protected]:/var/db/krb5kdc/.k5.LDAP.BIOLA.EDU /var/db/krb5kdc/
    command: scp [email protected]:/var/db/krb5kdc/kadm5.acl /var/db/krb5kdc/
    command: scp [email protected]:/var/db/krb5kdc/kadm5.keytab /var/db/krb5kdc/
    command: scp [email protected]:/var/db/krb5kdc/kdc.conf /var/db/krb5kdc/
    command: ssh [email protected] /usr/sbin/kdb5_util dump – K/[email protected]
    command: /usr/sbin/kdb5_util load /var/db/krb5kdc/initial.dump
    Removed file at path /var/db/krb5kdc/initial.dump.
    9 Enabling password server replication
    command: /usr/sbin/NeST -setupreplica 10.6.2.11 diradmin ****
    NeST command output:
    GetReplicaSetup = -14103
    NeST command failed with status 255
    Removing replica due to an error adding a Password Server replica.
    command: ssh [email protected] /usr/sbin/slapconfig -removereplica 10.6.2.12
    Stopping LDAP replicator (slurpd)
    nothing found to load
    Stopping LDAP server (slapd)
    nothing found to load
    Starting LDAP server (slapd)
    No such process
    Removed file at path /var/db/openldap/openldap-slurp/replication.log.
    Removed file at path /var/db/openldap/openldap-slurp/replication.log.lock.
    command: /usr/sbin/sso_util remove -k -d -s -c -n -v 1
    sso_util command output:
    shutting down kadmind
    kadmind shut down
    shutting down kdc
    No such process
    No such process
    kdc shut down
    removing kdc database files
    Stopping LDAP server (slapd)
    nothing found to load
    Stopping LDAP replicator (slurpd)
    No such process
    nothing found to load
    Removed file at path /var/db/openldap/openldap-data/__db.001.
    Removed file at path /var/db/openldap/openldap-data/__db.002.
    Removed file at path /var/db/openldap/openldap-data/__db.003.
    Removed file at path /var/db/openldap/openldap-data/__db.004.
    Removed file at path /var/db/openldap/openldap-data/__db.005.
    Removed file at path /var/db/openldap/openldap-data/apple-generateduid.bdb.
    Removed file at path /var/db/openldap/openldap-data/apple-group-memberguid.bdb.
    Removed file at path /var/db/openldap/openldap-data/apple-group-nestedgroup.bdb.
    Removed file at path /var/db/openldap/openldap-data/apple-group-realname.bdb.
    Removed file at path /var/db/openldap/openldap-data/cn.bdb.
    Removed file at path /var/db/openldap/openldap-data/DB_CONFIG.
    Removed file at path /var/db/openldap/openldap-data/dn2id.bdb.
    Removed file at path /var/db/openldap/openldap-data/gidNumber.bdb.
    Removed file at path /var/db/openldap/openldap-data/id2entry.bdb.
    Removed file at path /var/db/openldap/openldap-data/macAddress.bdb.
    Removed file at path /var/db/openldap/openldap-data/memberUid.bdb.
    Removed file at path /var/db/openldap/openldap-data/objectClass.bdb.
    Removed file at path /var/db/openldap/openldap-data/ou.bdb.
    Removed file at path /var/db/openldap/openldap-data/sn.bdb.
    Removed file at path /var/db/openldap/openldap-data/uid.bdb.
    Removed file at path /var/db/openldap/openldap-data/uidNumber.bdb.
    Removed file at path /etc/openldap/slapd_macosxserver.conf.
    Removed file at path /etc/openldap/slapd.conf.
    Copied file from /etc/openldap/slapd.conf.default to /etc/openldap/slapd.conf.
    command: /usr/sbin/NeST -pwsstandalone
    NeST command output:
    No such process
    nothing found to load

    nothing found to load

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

Comments are closed