부록 B. 복제 계약 상태

각 복제 계약의 읽기 전용 nsds5replicaLastUpdateStatus 속성에서 Directory Server는 계약의 최신 상태를 표시합니다. 다음은 가능한 상태 목록입니다.

비활성화된 계약

복제 계약이 비활성화된 경우 nsds5replicaLastUpdateStatus 매개변수가 더 이상 업데이트되지 않으며 다음 상태를 표시할 수 있습니다.

  • 서버가 시작되면 복제 계약이 이미 비활성화되어 있었습니다.

    Error (0) No replication sessions started since server startup
  • 이 계약은 런타임 중에 비활성화되어 있었습니다.

    Error (0) Replica acquired successfully: agreement disabled
일반 계약 상태
{blank}
  • 복제 계약이 중지되었습니다.

    Error (0) Replica acquired successfully: Protocol stopped
  • 증분 업데이트가 시작되었습니다.

    Error (0) Replica acquired successfully: Incremental update started
  • 증분 업데이트가 성공했습니다.

    Error (0) Replica acquired successfully: Incremental update succeeded
  • 복제가 성공했지만 소비자는 다른 공급자가 취득할 수 있도록 세션을 종료했습니다.

    Error (0) Replica acquired successfully: Incremental update succeeded and yielded
ACQUIRING_REPLICA 상태의 오류 메시지

복제 세션의 첫 번째 부분 동안 공급업체는 소비자를 인수하고, 연결을 설정하고, 소비자에게 바인딩하고, 소비자가 다른 공급자에 의해 아직 업데이트되지 않았는지 확인하고 추가 검사를 수행합니다. 다음 오류 코드를 이 상태로 표시할 수 있습니다.

  • 소비자와의 연결을 설정하는 동안 오류가 발생했습니다.

    Error (result_code) Problem connecting to replica - LDAP error: ldap_error_message
    Error (result_code) Problem connecting to replica (SSL not enabled) - LDAP error: ldap_error_message

    결과 코드와 오류 메시지는 연결을 설정할 수 없는 이유를 나타냅니다.

  • 소비자에서 내부 오류가 발생했습니다.

    Error (8) :Failed to acquire replica: Internal error occurred on the remote replica

    이 오류는 소비자의 CSN(변경 시퀀스 번호) 생성기와 관련된 오류로 인해 발생합니다. 자세한 내용은 소비자 로그 파일을 참조하십시오.

  • 소비자에게 인증하는 데 사용되는 ID는 유효한 복제 바인딩 고유 이름(DN)이나 바인딩 DN 그룹의 멤버였습니다.

    Error (3) :Unable to acquire replica: permission denied. The bind dn does not have permission to supply replication updates to the replica. Will retry later.
  • 소비자의 접미사에 대해 유효한 복제본이 정의되지 않았습니다.

    Error (6) :Unable to acquire replica: there is no replicated area on the consumer server. Replication is aborting.
  • 소비자에게 전송된 복제 컨트롤의 디코딩 오류:

    Error (4) :Unable to acquire replica: the consumer was unable to decode the startReplicationRequest extended operation sent by the supplier. Replication is aborting.
  • 복제본은 현재 다른 공급자에 의해 업데이트됩니다.

    Error (1) :Unable to acquire replica: the replica is currently being updated by another supplier.
  • 공급자 및 소비자는 동일한 복제본 ID를 사용합니다.

    Error (11) :Unable to aquire replica: the replica has the same Replica ID as this one. Replication is aborting.

    공급자 또는 소비자가 잘못 구성되어 있습니다. 복제 구성에서 고유한 복제본 ID를 설정하여 문제를 해결합니다.

  • 공급자는 백오프 모드로 설정 되었습니다.

    Error (14) :Unable to acquire replica: the replica instructed us to go into backoff mode. Will retry later.

    이 상태는 사용자 정의 복제 후크가 구현된 경우에만 표시됩니다.

  • 소비자에서 수신한 복제 컨트롤의 오류를 디코딩합니다.

    Error (extop_result) :Unable to acquire replica
    Error (4) Unable to parse the response to the startReplication extended operation. Replication is aborting.
    Error (16) Unable to receive the response for a startReplication extended operation to consumer. Will retry later.
    Error (0) Unable to obtain current CSN. " "Replication is aborting.
SENDING_UPDATES 상태의 오류 메시지

복제본을 성공적으로 획득한 후 세션은 업데이트 전송을 시작합니다. 이 상태에서 다음 메시지를 각 단계에 표시할 수 있습니다.

  1. replica update vector (RUV) 검사:

    • 복제에 업데이트 벡터가 구성되어 있지 않거나 소비자가 복제가 활성화되지 않았습니다.

      Error (19) : Replica is not initialized
    • 소비자는 공급업체와 동일한 데이터베이스 생성을 사용하여 초기화되지 않았습니다.

      Error (19) : Replica has different database generation ID, remote replica may need to be initialized

      문제를 해결하려면 공급자 또는 소비자를 초기화합니다.

  2. CSN(변경 상태 번호) 생성기 업데이트:

    • 로컬 서버와 제거 서버 간의 시간 차이가 너무 큽니다.

      Error (2) : fatal error - too much time skew between replicas
    • Directory Server에서 CSN 생성기를 업데이트하지 못했습니다.

      Error (2) : fatal internal error updating the CSN generator
  3. 초기 변경 로그 위치:

    • 변경 로그를 처리할 수 없는 경우 일반적인 오류:

      Error (15) : Unexpected format encountered in changelog database

      예를 들어 변경 로그 파일의 경로가 없는 경우 이 오류가 기록됩니다.

    • 변경 로그에서 항목을 구문 분석하지 못했습니다.

      Error (15) : Unexpected format encountered in changelog database
    • 변경 로그의 데이터베이스 계층과 관련된 오류입니다.Errors related to the database layer of the changelog:

      Error (15) : Changelog database was in an incorrect state
      Error (15) : Incorrect dbversion found in changelog database
      Error (15) : Changelog database error was encountered

      자세한 내용은 /var/log/dirsrv/slapd-instance_name/errors 로그 파일을 참조하십시오.

    • Directory Server에서 메모리를 할당하지 못했습니다.

      Error (15) : changelog memory allocation error occurred

      예를 들어 changelog 버퍼 또는 changelog iterator가 메모리를 할당하는 데 실패한 경우 이 오류가 기록됩니다.

    • 공급자는 소비자보다 앞서 업데이트를 보내려고 하지만 변경 로그에서 시작점을 찾을 수 없습니다.

      Error (15) : Data required to update replica has been purged from the changelog. " "The replica must be reinitialized.
      Error (15) : Changelog data is missing

      Directory Server는 이러한 오류를 치명적으로 처리하지만 소비자가 다른 공급자로부터 업데이트를 수신하는 경우 해결할 수 있습니다. 이 경우 일시적인 것으로 취급됩니다.

  4. 다음 업데이트를 전송합니다.

    • 결과 스레드를 만드는 데 실패했습니다.

      Error (result_code) : Failed to create result thread

      결과 코드는 스레드가 생성되지 않은 이유를 나타냅니다.

    • 변경 로그를 처리할 수 없는 경우 일반적인 오류:

      Error (15) : Invalid parameter passed to cl5GetNextOperationToReplay

      예를 들어 변경 로그 파일의 경로가 없는 경우 이 오류가 기록됩니다.

    • 변경 로그를 읽는 동안 데이터베이스 오류가 발생했습니다.

      Error (15) : Database error occurred while getting the next operation to replay

      예를 들어 Directory Server가 잠겨 있는 데이터베이스 페이지에 액세스하는 경우 이 이벤트가 기록됩니다.

    • Directory Server가 생성을 실행했습니다.

      Error (15) : Memory allocation error occurred (cl5GetNextOperationToReplay)
  5. 하위 입력 업데이트:

    • 복제본 keep alive 항목의 생성에 실패했습니다.

      Error (-1) :  Agreement is corrupted: missing suffix

      SEND_UPDATES 상태의 일반 상태:

      • 변경 로그를 처리하는 동안 로컬 서버에서 치명적이지 않은 오류가 발생했습니다.

        Error (18) : Incremental update transient error.  Backing off, will retry update later.

        자세한 내용은 /var/log/dirsrv/slapd-instance_name/errors 파일을 참조하십시오.

      • 연결이 설정된 후 복제 연결이 끊어졌습니다.

        Error (16) : Incremental update connection error.  Backing off, will retry update later.
      • 기존 복제 연결에 시간 초과가 표시됩니다.

        Error (17) : Incremental update timeout error.  Backing off, will retry update later.

        복제는 나중에 다시 시작하려고 합니다.The replication automatically tries to resume later.