Ошибка выдачи репликации 8452 0x2104

  • Remove From My Forums
  • Вопрос

  • Здравствуйте!

    Был контроллер домена на 2008 R2, поставил ещё один 2008 R2, поднял на нем контроллер домена, настроил репликацию с первого. Поначалу всё вроде шло нормально, но через некоторое время при попытке входа через RDP к новому КД стал получать сообщения: отказано
    в доступе. В логе нового КД:

    Серверу, обслуживающему сеансы подключений к удаленному рабочему столу, не удалось получить лицензионные сведения о пользователе из AD. Ошибка 0x8007203b

    Источник: TerminalServices-RemoteConnectionManager

    ID: 1061

    При этом так же при попытке открыть групповую политику на новом КД вижу: Отказано в доступе.

    Где я и что уже успел напортачить? Хотя вроде в групповых политиках ничего не менял…

    При просмотре содержимого АД на новом КД список пользователей вижу. Если на старом КД создать пользователя — на новом он так же появляется. Т.е. репликация АД работает нормально.

    Локальный вход на новый КД со старым паролем так же осуществляется нормально.

Ответы

  • Проблема решена, ошибка была в неверном порядке DNS-серверов. Кроме описанной проблемы успел так же столкнуться ещё с несколькими проблемами, поэтому опишу их тут, может кому-нибудь полезно будет.

    Q: Ошибка:
    A: repadmin /syncall: Контекст именования находится в процессе удаления или не был реплицирован с указанного сервера.
    repadmin /showrepl: 1722 Сервер RPC недоступен.

    A: Неверный порядок DNS-серверов в настройках сетевого подключения.
    Первичным указывается DNS соседнего сервера, вторичным он сам. Возможно после этого потребуется перезапустить службы dns и netlogon (net stop dns, net stop netlogon, net start dns, net start netlogon).

    Q: Не удалось достичь следующего сервера (незавершенная топология):
    A: в настройках репликации NTDS не указаны источники репликации. Надо добавить вручную:
    Диспетчер сервера => Роли => Доменные службы Active Directory => AD — сайты и службы => Sites => Default-Fist-Site-Name => Servers => <Имя локального сервера> => NTDS Settings. Правой кнопкой => Создать подключение Доменных
    служб AD => Там добавить все соседние серверы

    Q: Ошибка выдачи репликации: 8453. Доступ к репликации отвергнут.
    A: Репликация (repadmin /syncall) выполняется от имени пользователя не имеющего прав на выполнение репликации. Либо она запускается не от пользователя из группы Администраторы домена, либо включен UAC! Решение — выключить UAC.

    • Помечено в качестве ответа

      26 мая 2011 г. 6:21

You’ve received some good feedback and suggestions to repair it by others. I agree with Sandesh about using the Burflags to repair the DCs.

Just as an FYI what this whole thing means:
Lingering objects occur if a domain controller will remain offline long enough to exceed the tombstone lifetime and thereby may retain objects that have been permanently deleted from the directory on all other domain controllers in the domain. Lingering objects,
if a DC is reintroduced past the tombstone period (it’s point of no return), can cause directory inconsistency and, under certain conditions, these objects can be reintroduced into the directory.

What event log errors are you seeing? In addition to the assistance and excellent recommendations received, I would like you to take a read of the following,
just so your fully familiar with why and what needs to be done to repair
the whole thing.

Fixing Replication Lingering Object Problems (Event IDs 1388, 1988, 2042)
http://technet.microsoft.com/en-us/library/cc738018(WS.10).aspx

Event ID 2042: It has been too long since this machine replicated

This shows you how to recover a DC that has not replicated beyond the Tombstone LIfetime
http://technet.microsoft.com/en-us/library/cc757610(WS.10).aspx

I have a few observations and concerns.

  1. What caused this
  2. Will it happen again
  3. Why is the tombstone at 60 days

1. As far as what caused it, there are several things that could have caused it, from Windows firewall rules, incorrect DNS settings (that doesn’t appear to be the cause at this time based on the one ipconfig you provided), multihomed DC (a DC with RRAS,
multiple NICS and/or IP addresses), but most of all, it could also be a third party security app, such as an antivirus wtih a «protect network traffic» or similar feature that literally acts like a firewall blocking necessary RPC communications between the
DCs. I’ve seen this once at a customer site after they implemented a new AV that was updated with this new feature. The DCs literally lost communications. After a few hours poking around, I figured it out. So that’s one thing to look for.

2. WIll it happen again? Depends if you can find the cause.

3. I recommend bumping your tombstone value to 180 Days. Apparently your 60 day value tells me this domain forestwas initially created with a Windows 2000 installation or a Windows 2003 pre-SP1 installation. If the original forest was created using 2003
SP1 or newer, it would have been 180 days. The value remains at 60 even after you upgrade all your DCs. Here’s how to check it (replsum told us anyway) and how to change it:

To find the Tombstone value setting:

Dsquery * «CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=Domain,DC=com» -attr tombstoneLifetime

If the result is <not set>, then it means 60 days.

Use ADSI Edit to change it:

  1. Double-click Configuration
  2. CN=Configuration
  3. ForestRootDomainName
  4. Services
  5. Windows NT
  6. Right-click CN=Directory Service, and then click Properties
  7. In the Attribute column, click tombstoneLifetime.
  8. Note the value in the Value column. If the value is <not set>, the default value is 60 days.
  9. Change it to 180 days.
  10. Close ADSI Edit
  11. Allow replication to occur.

Ace


Ace Fekay
MVP, MCT, MCITP EA, MCTS Windows 2008 & Exchange 2007 & Exchange 2010, Exchange 2010 Enterprise Administrator, MCSE & MCSA 2003/2000, MCSA Messaging 2003
Microsoft Certified Trainer
Microsoft MVP — Directory Services
Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php

This posting is provided AS-IS with no warranties or guarantees and confers no rights.

FaceBook
Twitter
LinkedIn

You’ve received some good feedback and suggestions to repair it by others. I agree with Sandesh about using the Burflags to repair the DCs.

Just as an FYI what this whole thing means:
Lingering objects occur if a domain controller will remain offline long enough to exceed the tombstone lifetime and thereby may retain objects that have been permanently deleted from the directory on all other domain controllers in the domain. Lingering objects,
if a DC is reintroduced past the tombstone period (it’s point of no return), can cause directory inconsistency and, under certain conditions, these objects can be reintroduced into the directory.

What event log errors are you seeing? In addition to the assistance and excellent recommendations received, I would like you to take a read of the following,
just so your fully familiar with why and what needs to be done to repair
the whole thing.

Fixing Replication Lingering Object Problems (Event IDs 1388, 1988, 2042)
http://technet.microsoft.com/en-us/library/cc738018(WS.10).aspx

Event ID 2042: It has been too long since this machine replicated

This shows you how to recover a DC that has not replicated beyond the Tombstone LIfetime
http://technet.microsoft.com/en-us/library/cc757610(WS.10).aspx

I have a few observations and concerns.

  1. What caused this
  2. Will it happen again
  3. Why is the tombstone at 60 days

1. As far as what caused it, there are several things that could have caused it, from Windows firewall rules, incorrect DNS settings (that doesn’t appear to be the cause at this time based on the one ipconfig you provided), multihomed DC (a DC with RRAS,
multiple NICS and/or IP addresses), but most of all, it could also be a third party security app, such as an antivirus wtih a «protect network traffic» or similar feature that literally acts like a firewall blocking necessary RPC communications between the
DCs. I’ve seen this once at a customer site after they implemented a new AV that was updated with this new feature. The DCs literally lost communications. After a few hours poking around, I figured it out. So that’s one thing to look for.

2. WIll it happen again? Depends if you can find the cause.

3. I recommend bumping your tombstone value to 180 Days. Apparently your 60 day value tells me this domain forestwas initially created with a Windows 2000 installation or a Windows 2003 pre-SP1 installation. If the original forest was created using 2003
SP1 or newer, it would have been 180 days. The value remains at 60 even after you upgrade all your DCs. Here’s how to check it (replsum told us anyway) and how to change it:

To find the Tombstone value setting:

Dsquery * «CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=Domain,DC=com» -attr tombstoneLifetime

If the result is <not set>, then it means 60 days.

Use ADSI Edit to change it:

  1. Double-click Configuration
  2. CN=Configuration
  3. ForestRootDomainName
  4. Services
  5. Windows NT
  6. Right-click CN=Directory Service, and then click Properties
  7. In the Attribute column, click tombstoneLifetime.
  8. Note the value in the Value column. If the value is <not set>, the default value is 60 days.
  9. Change it to 180 days.
  10. Close ADSI Edit
  11. Allow replication to occur.

Ace


Ace Fekay
MVP, MCT, MCITP EA, MCTS Windows 2008 & Exchange 2007 & Exchange 2010, Exchange 2010 Enterprise Administrator, MCSE & MCSA 2003/2000, MCSA Messaging 2003
Microsoft Certified Trainer
Microsoft MVP — Directory Services
Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php

This posting is provided AS-IS with no warranties or guarantees and confers no rights.

FaceBook
Twitter
LinkedIn

Содержание

  1. The naming context is in the process of being removed or is not replicated from the specified server
  2. Symptoms
  3. Cause
  4. More information
  5. repadmin /syncall
  6. DCDIAG
  7. NTDS replication event 1586
  8. Demotion
  9. Error issuing replication 8452 0x2104

The naming context is in the process of being removed or is not replicated from the specified server

This article provides a resolution to solve the Active Directory replication error (8452). This article is only intended for technical support agents and IT professionals. If you’re a home user and looking for help with a problem, visit ask the Microsoft Community.

Applies to: В Windows Server 2012 R2
Original KB number: В 2023704

Symptoms

DCDIAG reports that Active Directory Replications test has failed with error status code (8452): The naming context is in the process of being removed or is not replicated from the specified server.

Testing server:
Starting test: Replications
Replications Check
[Replications Check, ] A recent replication attempt failed:
From to
Naming Context:
The replication generated an error (8452):
The naming context is in the process of being removed or is not replicated from the specified server.
The failure occurred at .
The last success occurred at .
3 failures have occurred since the last success.

REPADMIN.EXE reports that the last replication attempt has failed with status 8452.

REPADMIN commands that commonly cite the five statuses include but aren’t limited to:

  • REPADMIN /SHOWREPS
  • REPADMIN /REPLSUM
  • REPADMIN /SYNCALL

Sample output from REPADMIN /SHOWREPS depicting inbound replication from CONTOSO-DC2 to CONTOSO-DC1 failing with the replication access was denied error is shown below:

The replicate now command in Active Directory Sites and Services returns the following error:

The naming context is in the process of being removed or is not replicated from the specified server.

Right-clicking on the connection object from a source DC and choosing replicate now fails with the above error. The on-screen error message text is shown below:

Dialog title text: Replicate Now Dialog message text: The following error occurred during the attempt to synchronize naming context from Domain Controller to Domain Controller : The naming context is in the process of being removed or is not replicated from the specified server.

The operation will not continue
Buttons in Dialog: OK

NTDS KCC, NTDS General, or Microsoft-Windows-ActiveDirectory_DomainService events with the five statuses are logged in the directory service event log.

Active Directory events that commonly cite the 8524 status include but aren’t limited to:

Event Source Event String
NTDS General 1586 The checkpoint with the PDC was unsuccessful. The checkpointing process will be retried again in four hours. A full synchronization of the security database to downlevel domain controllers may take place if this machine is promoted to be the PDC before the next successful checkpoint. The error returned was: The naming context is in the process of being removed or is not replicated from the specified server.

Cause

This error most commonly occurs when the following replication topologies are different:

  • The replication topology in a DC that’s starting replication.
  • The replication topology that’s defined in the destination DC’s copy of Active Directory.

The error naturally occurs when the replication topology in an Active Directory forest is being modified by:

New partitions being added or removed from the forest. For example, the promotion or demotion of the first/last DC in a domain. Or the addition/removal of an application partition including default DNS application partitions.

The addition or removal of directory partitions on existing DCs (that is, the promotion/demotion of global catalog or addition/removal of an application partition).

Changes in replication topology or settings:

  • The promotion of new DCs
  • The demotion of existing DCs
  • Changes to preferred/nominated bridgeheads
  • The building of alternate replication paths in response to replication failures or offline DCs
  • Site and site link changes.

The error can be transient in a forest undergoing the above changes. It remains transient until the set of source DCs and partitions which each destination DC replicates from has inbound replicated by triggering replication operations.

The error can be persistent when replication failures prevent the end-to-end replication of topology changes in the forest.

The error is most commonly seen in replication scenarios triggered by REPADMIN.EXE remotely (especially /SYNCALL ) or the replicate now command in DSSITE.MSC where the copy of Active Directory on the DC triggering replication has a different list of source DCs that a destination DC replicates from partitions than what the destination DC has defined in its copy of Active Directory.

Windows 2000 domain controllers are particularly prone to this error during GC demotion as they’re slow to remove objects from read-only partitions. Object removal during GC demotion improved dramatically on Windows Server 2003 and later OS versions.

The NTDS Replication event 1586 occurs in the following situation:

В В В The primary domain controller (PDC) Flexible Single Master Operation (FSMO) role for the domain has been seized or transferred to a domain controller that wasn’t a direct replication partner of the previous role holder.

In rare conditions, the error can be caused by corruption in attributes like hasMasterNCs or msds-hasMasterNCs .

The More information section of this article contains explanations as to why the diagnostic and administrative tools listed in the Symptoms section of this article generate the 8452 error.

In summary, Error 8452 happens if any of the following conditions is true:

    When DC1 repadmin /syncall command and equivalents until domain controllers starting replication and the destination DCs being replicated to agree source DCs and directory partitions being replicated.

Make originating changes in the right places.

Push and Pull changes connection object and partition changes around as required.

If the replicate now command from DC3 to DC2 when the DSSITE.MSC snap-in is run from the console of DC1 but focused on DC4, cut out the middle men.

If the error is caused by root cause no. 3, then after the user gives the correct input, the error won’t happen. For example, in case no. 1 of scenario no. 3, if the user input a correct such that on there’s a replica link from for , the repadmin /replicate command will be executed successfully.

Resolve replication failures blocking end-to-end replication.

NTDS Replication event 1586.

For NTDS Replication event 1586, transfer the DPC role to an Active Directory domain controller that currently a direct replication partner of the previous domain PDC.

More information

repadmin /syncall

The repadmin /syncall operation will cause a DC to start replication from all of its source replication partners and make the source replication partners start replication from all of their source replication partners, and so on.

For example, suppose we have a replication topology DC1 repadmin /syncall on DC1 will start the following replication: DC2 repadmin /syncall on DC1 before knowledge of the DC2 syncall operation will start DC2 repadmin /syncall on DC1. DC2 replicate now

The Active Directory Sites and Services snap-in, DSSITE.MSC uses the topology information stored in its local copy of AD.

Given the replication topology DC1 REPAMIN /SYNCALL example, there are also two cases where we might observe error 8452.

Case 1: Suppose we change the replication topology on DC2 to make it inbound replicate from DC4. The new replication topology is DC1 DC2 can’t be executed, the request fails error 8452.

Case 2: Suppose we’re removing an NC on DC3 when we right-click the connection object, and select replicate now on DC1 to start DC2 repadmin /replicate or repadmin /sync

The replicate (or sync ) command of repadmin triggers immediate replication of a naming context (directory partition) to a destination DC from a source DC. Its (simplified) syntax is: repadmin /replicate .

There are two cases that we’ll trigger error 8452 when the repadmin /replicate (or sync ) command is used to start a replication:

Case 1: the parameter isn’t a replication partner of for . For example, we have to replication topology DC1 repadmin /replicate DC2 DC1 the NC, a replication DC2 repadmin /replicate , so isn’t a valid replication source. So we’ll see error 8452.

DCDIAG

The showrepl (or showreps ) command of repadmin reports the replication status for each source DC from which the destination DC has an inbound connection object. The replications test of dcdiag checks for timely replication between DCs. If error 8452 is in repadmin /showrepl or dcdiag /test:replications report, the reason is that the replicated NC is being removed on the source DC when the last replication happened.

NTDS replication event 1586

NTDS replication event 1586 is generated in a mixed domain environment that contains both Windows NT 4.0 and Active Directory DCs. In this mixed domain environment, Active Directory domain controllers replicate among themselves using the DS replication protocol, while the Active Directory PDC replicates to NT4 BDCs using the legacy netlogon replication protocol. In this case, the Active Directory PDC FSMO role holder is the single point for replication to NT4 BDCs in a common domain. The PDC maintains a checkpoint for each BDC representing the most recent replicated change. If the PDC FSMO role is transferred to another Active Directory DC in the domain, the information about each individual BDC’s checkpoint must be replicated to the new PDC FSMO role. So, the new PDC FSMO role holder must have a direct replication relationship with the old PDC FSMO role holder. If the new PDC doesn’t replicate directly with the old PDC (that is, on the new PDC there’s no replica link from old PDC), then we’ll see error 8452 in event 1586.

Demotion

There’s another scenario that DRAERR_NoReplica error will be returned. When we demote a DC, it will use DC locator to find a DC to replicate local changes to. If the found DC doesn’t replicate directly with the being-deleted DC, DRAERR_NoReplica will be returned and DC locator will be called to find a destination DC. In this scenario, the error isn’t logged so it isn’t observed.

Источник

Error issuing replication 8452 0x2104

office-dc01

dcdiag /q
. NU-DC01 — не пройдена проверка SystemLog

Настройка протокола IP для Windows

Имя компьютера . . . . . . . . . : NU-DC01
Основной DNS-суффикс . . . . . . : ms12.ru
Тип узла. . . . . . . . . . . . . : Гибридный
IP-маршрутизация включена . . . . : Нет
WINS-прокси включен . . . . . . . : Нет
Порядок просмотра суффиксов DNS . : ms12.ru

Ethernet adapter Подключение по локальной сети 2:

DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : vmxnet3 Ethernet Adapter #2
Физический адрес. . . . . . . . . : 00-50-56-AF-0A-61
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да
IPv4-адрес. . . . . . . . . . . . : 192.168.1.2(Основной)
Маска подсети . . . . . . . . . . : 255.255.255.0
IPv4-адрес. . . . . . . . . . . . : 192.168.1.121(Основной)
Маска подсети . . . . . . . . . . : 255.255.255.0
Основной шлюз. . . . . . . . . : 192.168.1.254
DNS-серверы. . . . . . . . . . . : 192.168.1.122
192.168.1.121
127.0.0.1
NetBios через TCP/IP. . . . . . . . : Включен

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : Адаптер Microsoft ISATAP
Физический адрес. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да

Туннельный адаптер Подключение по локальной сети* 9:

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Физический адрес. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да

office-dc02

C:>dcdiag /q
[NU-DC02] В учетных данных пользователя отсутствует разрешение на
выполнение данной операции.
Учетная запись, используемая для этой проверки, должна иметь права на
вход в сеть
для домена данного компьютера.
. NU-DC02 — не пройдена проверка NetLogons
[Проверка репликации,NU-DC02] Сбой функции
DsReplicaGetInfo(PENDING_OPS, NULL), ошибка 0x2105
«Доступ к репликации отвергнут.»
. NU-DC02 — не пройдена проверка Replications
Не удалось открыть службу NTDS в NU-DC02, ошибка 0x5
«Отказано в доступе.»
. NU-DC02 — не пройдена проверка Services
. NU-DC02 — не пройдена проверка SystemLog

Настройка протокола IP для Windows

Имя компьютера . . . . . . . . . : NU-DC02
Основной DNS-суффикс . . . . . . : ms12.ru
Тип узла. . . . . . . . . . . . . : Гибридный
IP-маршрутизация включена . . . . : Нет
WINS-прокси включен . . . . . . . : Нет
Порядок просмотра суффиксов DNS . : ms12.ru

Ethernet adapter Подключение по локальной сети 2:

DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : vmxnet3 Ethernet Adapter #2
Физический адрес. . . . . . . . . : 00-50-56-AF-0A-64
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да
IPv4-адрес. . . . . . . . . . . . : 192.168.1.122(Основной)
Маска подсети . . . . . . . . . . : 255.255.255.0
Основной шлюз. . . . . . . . . : 192.168.1.254
DNS-серверы. . . . . . . . . . . : 192.168.1.121
192.168.1.122
127.0.0.1
NetBios через TCP/IP. . . . . . . . : Включен

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : Адаптер Microsoft ISATAP
Физический адрес. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да

Туннельный адаптер Подключение по локальной сети* 11:

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Физический адрес. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да

fil1-dc01

C:>dcdiag /q
Возникла ошибка. Код события (EventID): 0xC00007D2
Время создания: 05/14/2013 15:50:20
Строка события:
Проверка согласованности знаний не выполнена, поскольку атрибут след
ующего объекта имеет недостаточно значений.
Возникло предупреждение. Код события (EventID): 0x800003F6
Время создания: 05/14/2013 15:50:20
Строка события:
Программе проверки согласованности знаний (КСС) не удалось обновить
топологию репликации локальной службы каталогов. Попытки обновления топологии ре
пликации будут предприниматься со следующим запланированным интервалом.
. MSK-DC01 — не пройдена проверка KccEvent

Настройка протокола IP для Windows

Имя компьютера . . . . . . . . . : MSK-DC01
Основной DNS-суффикс . . . . . . : ms12.ru
Тип узла. . . . . . . . . . . . . : Гибридный
IP-маршрутизация включена . . . . : Нет
WINS-прокси включен . . . . . . . : Нет
Порядок просмотра суффиксов DNS . : ms12.ru

Ethernet adapter Подключение по локальной сети:

DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : Сетевое подключение Intel(R) PRO/1000 MT
Физический адрес. . . . . . . . . : 00-0C-29-AA-9D-A5
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да
Локальный IPv6-адрес канала . . . : fe80::7dd5:b72f:4d0d:22df%11(Основной)
IPv4-адрес. . . . . . . . . . . . : 192.168.3.8(Основной)
Маска подсети . . . . . . . . . . : 255.255.255.0
Основной шлюз. . . . . . . . . : 192.168.3.5
IAID DHCPv6 . . . . . . . . . . . : 234884137
DUID клиента DHCPv6 . . . . . . . : 00-01-00-01-18-55-0D-59-00-0C-29-AA-9D-A5

DNS-серверы. . . . . . . . . . . : 192.168.1.121
192.168.3.8
NetBios через TCP/IP. . . . . . . . : Включен

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : Адаптер Microsoft ISATAP
Физический адрес. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да

fil2-dc01 D:>dcdiag /q
Внимание: NU-TER02 не объявлен как сервер времени.
. NU-TER02 — не пройдена проверка Advertising
[NU-TER02] В учетных данных пользователя отсутствует разрешение на
выполнение данной операции.
Учетная запись, используемая для этой проверки, должна иметь права на
вход в сеть
для домена данного компьютера.
. NU-TER02 — не пройдена проверка NetLogons
[Проверка репликации,NU-TER02] Сбой функции
DsReplicaGetInfo(PENDING_OPS, NULL), ошибка 0x2105
«Доступ к репликации отвергнут.»
. NU-TER02 — не пройдена проверка Replications
Не удалось открыть службу NTDS в NU-TER02, ошибка 0x5
«Отказано в доступе.»
. NU-TER02 — не пройдена проверка Services

Настройка протокола IP для Windows

Имя компьютера . . . . . . . . . : NU-TER02
Основной DNS-суффикс . . . . . . : ms12.ru
Тип узла. . . . . . . . . . . . . : Гибридный
IP-маршрутизация включена . . . . : Нет
WINS-прокси включен . . . . . . . : Нет
Порядок просмотра суффиксов DNS . : ms12.ru

Ethernet adapter Team 1:

DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : BASP Virtual Adapter
Физический адрес. . . . . . . . . : 00-21-5A-CA-ED-CE
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да
Локальный IPv6-адрес канала . . . : fe80::2de7:5a65:d0e4:3222%16(Основной)
IPv4-адрес. . . . . . . . . . . . : 192.168.6.6(Основной)
Маска подсети . . . . . . . . . . : 255.255.255.0
Основной шлюз. . . . . . . . . : 192.168.6.5
IAID DHCPv6 . . . . . . . . . . . : 385884506
DUID клиента DHCPv6 . . . . . . . : 00-01-00-01-18-A8-16-40-00-21-5A-CA-ED-CE

DNS-серверы. . . . . . . . . . . : 192.168.1.122
192.168.6.6
NetBios через TCP/IP. . . . . . . . : Включен

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : Адаптер Microsoft ISATAP
Физический адрес. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да

Источник

title description ms.date author ms.author manager audience ms.topic ms.prod localization_priority ms.reviewer ms.custom ms.technology

Active Directory replication error 8452

Active Directory Replications test has failed with error status code (8452). Provides a resolution.

09/08/2020

Deland-Han

delhan

dcscontentpm

ITPro

troubleshooting

windows-server

medium

kaushika

sap:active-directory-replication, csstroubleshoot

windows-server-active-directory

The naming context is in the process of being removed or is not replicated from the specified server

This article provides a resolution to solve the Active Directory replication error (8452). This article is only intended for technical support agents and IT professionals. If you’re a home user and looking for help with a problem, visit ask the Microsoft Community.

Applies to:   Windows Server 2012 R2
Original KB number:   2023704

Symptoms

  1. DCDIAG reports that Active Directory Replications test has failed with error status code (8452): The naming context is in the process of being removed or is not replicated from the specified server.

    Testing server: <site name><destination dc name>
    Starting test: Replications
    Replications Check
    [Replications Check,<destination DC name>] A recent replication attempt failed:
    From <source DC> to <destination DC>
    Naming Context: <directory partition DN path>
    The replication generated an error (8452):
    The naming context is in the process of being removed or is not replicated from the specified server.
    The failure occurred at <date> <time>.
    The last success occurred at <date> <time>.
    3 failures have occurred since the last success.

  2. REPADMIN.EXE reports that the last replication attempt has failed with status 8452.

    REPADMIN commands that commonly cite the five statuses include but aren’t limited to:

    • REPADMIN /SHOWREPS
    • REPADMIN /REPLSUM
    • REPADMIN /SYNCALL

    Sample output from REPADMIN /SHOWREPS depicting inbound replication from CONTOSO-DC2 to CONTOSO-DC1 failing with the replication access was denied error is shown below:

     Default-First-Site-NameCONTOSO-DC1  
      DSA Options: IS_GC  
      Site Options: (none)  
      DSA object GUID: b6dc8589-7e00-4a5d-b688-045aef63ec01  
      DSA invocationID: b6dc8589-7e00-4a5d-b688-045aef63ec01
    
     ==== INBOUND NEIGHBORS ======================================
    
     DC=contoso,DC=com  
     Default-First-Site-NameCONTOSO-DC2 via RPC  
     DSA object GUID: 74fbe06c-932c-46b5-831b-af9e31f496b2  
     Last attempt @ <date> <time> failed, result 8452 (0x2104):  
     The naming context is in the process of being removed or is not replicated from the specified server.  
     <#> consecutive failure(s).  
     Last success @ <date> <time>.
  3. The replicate now command in Active Directory Sites and Services returns the following error:

    The naming context is in the process of being removed or is not replicated from the specified server.

    Right-clicking on the connection object from a source DC and choosing replicate now fails with the above error. The on-screen error message text is shown below:

    Dialog title text: Replicate Now
    Dialog message text: The following error occurred during the attempt to synchronize naming context <%directory partition name%> from Domain Controller <Source DC> to Domain Controller <Destination DC>:
    The naming context is in the process of being removed or is not replicated from the specified server.

    The operation will not continue
    Buttons in Dialog: OK

  4. NTDS KCC, NTDS General, or Microsoft-Windows-ActiveDirectory_DomainService events with the five statuses are logged in the directory service event log.

    Active Directory events that commonly cite the 8524 status include but aren’t limited to:

    Event Source Event String
    NTDS General 1586 The checkpoint with the PDC was unsuccessful. The checkpointing process will be retried again in four hours. A full synchronization of the security database to downlevel domain controllers may take place if this machine is promoted to be the PDC before the next successful checkpoint. The error returned was: The naming context is in the process of being removed or is not replicated from the specified server.

Cause

This error most commonly occurs when the following replication topologies are different:

  • The replication topology in a DC that’s starting replication.
  • The replication topology that’s defined in the destination DC’s copy of Active Directory.

The error naturally occurs when the replication topology in an Active Directory forest is being modified by:

  • New partitions being added or removed from the forest. For example, the promotion or demotion of the first/last DC in a domain. Or the addition/removal of an application partition including default DNS application partitions.

  • The addition or removal of directory partitions on existing DCs (that is, the promotion/demotion of global catalog or addition/removal of an application partition).

  • Changes in replication topology or settings:

    • The promotion of new DCs
    • The demotion of existing DCs
    • Changes to preferred/nominated bridgeheads
    • The building of alternate replication paths in response to replication failures or offline DCs
    • Site and site link changes.

The error can be transient in a forest undergoing the above changes. It remains transient until the set of source DCs and partitions which each destination DC replicates from has inbound replicated by triggering replication operations.

The error can be persistent when replication failures prevent the end-to-end replication of topology changes in the forest.

The error is most commonly seen in replication scenarios triggered by REPADMIN.EXE remotely (especially /SYNCALL) or the replicate now command in DSSITE.MSC where the copy of Active Directory on the DC triggering replication has a different list of source DCs that a destination DC replicates from partitions than what the destination DC has defined in its copy of Active Directory.

Windows 2000 domain controllers are particularly prone to this error during GC demotion as they’re slow to remove objects from read-only partitions. Object removal during GC demotion improved dramatically on Windows Server 2003 and later OS versions.

The NTDS Replication event 1586 occurs in the following situation:

   The primary domain controller (PDC) Flexible Single Master Operation (FSMO) role for the domain has been seized or transferred to a domain controller that wasn’t a direct replication partner of the previous role holder.

In rare conditions, the error can be caused by corruption in attributes like hasMasterNCs or msds-hasMasterNCs.

The More information section of this article contains explanations as to why the diagnostic and administrative tools listed in the Symptoms section of this article generate the 8452 error.

In summary, Error 8452 happens if any of the following conditions is true:

  1. When DC1 <- DC2 replication is started for a Naming Context (NC), on DC1 there’s no replica link for the NC from DC2.
  2. When DC1 <- DC2 replication in started for an NC, the NC is in the process of being removed on DC2.
  3. In mixed domain environment, the PDC FSMO role is transferred from DC2 to DC1, but on DC1 there’s no replica link from DC2.

Resolution

  1. Wait. As mentioned, this condition is transient and doesn’t normally warrant troubleshooting.

    Assume that replication topology changes of the type listed in the Cause section are taking place in your Active Directory forest. In this situation, wait for the error condition to correct itself with time.

  2. Avoid the use of the repadmin /syncall command and equivalents until domain controllers starting replication and the destination DCs being replicated to agree source DCs and directory partitions being replicated.

  3. Make originating changes in the right places.

  4. Push and Pull changes connection object and partition changes around as required.

  5. Go Direct.

    If the replicate now command from DC3 to DC2 when the DSSITE.MSC snap-in is run from the console of DC1 but focused on DC4, cut out the middle men.

    If the error is caused by root cause no. 3, then after the user gives the correct input, the error won’t happen. For example, in case no. 1 of scenario no. 3, if the user input a correct <src DC> such that on <dest DC> there’s a replica link from <src DC> for <the NC>, the repadmin /replicate command will be executed successfully.

  6. Resolve replication failures blocking end-to-end replication.

  7. REPADMIN /REPLICATE.

  8. NTDS Replication event 1586.

    For NTDS Replication event 1586, transfer the DPC role to an Active Directory domain controller that currently a direct replication partner of the previous domain PDC.

More information

repadmin /syncall

The repadmin /syncall operation will cause a DC to start replication from all of its source replication partners and make the source replication partners start replication from all of their source replication partners, and so on.

For example, suppose we have a replication topology DC1 <- DC2 <- DC3. repadmin /syncall on DC1 will start the following replication: DC2 <- DC3, and DC1 <- DC2.

There are two cases where error 8452 might be observed in this scenario:

Case 1: Change the replication topology to make DC2 inbound replicate from DC4 so that the current topology becomes DC1 <- DC2 <- DC4.

If we call repadmin /syncall on DC1 before knowledge of the DC2 <- DC4 topology change inbound replicates to DC1, the syncall operation will start DC2 <- DC3 replications because DC1 still has the old replication topology stored locally. On DC2 at this moment, KCC has created a replica link from DC4 and has deleted the replica link from DC3. So the replication from DC2 <- DC3 can’t be executed and the operation logs error 8452.

Case 2: Suppose an NC on DC3 is being removing while we call repadmin /syncall <the NC> on DC1. DC2 <- DC3 replication will be started as before. Because the NC on DC3 is in the process of being removed, it isn’t a valid replication source, the error 8452 will be observed.

Active Directory sites and services (DSSITE.MSC) -> replicate now

The Active Directory Sites and Services snap-in, DSSITE.MSC uses the topology information stored in its local copy of AD.

Given the replication topology DC1 <- DC2 <- DC3, a connection object exists under DC2’s NTDS Settings object. This connection object represents the route for DC2 to inbound replicate an NC (or multiple NCs) from DC3. If we right-click on this connection object and select replicate now, we will start a DC2 <- DC3 replication on DC2.

As in the REPAMIN /SYNCALL example, there are also two cases where we might observe error 8452.

Case 1: Suppose we change the replication topology on DC2 to make it inbound replicate from DC4. The new replication topology is DC1 <- DC2 <- DC4. Until knowledge of this topology change outbound replicates to DC1, the topology on DC1 is still the old topology of DC1 <- DC2 <- DC3.

Starting the Active Directory Sites and Services UI focused on DC1s copy of Active Directory still shows that DC2 has an inbound connection object from source DC3. Right-clicking on DCs inbound connection object from DC2 and choosing replicate now will start a DC2 <- DC3 replication on DC2. However, the KCC on DC2 already removed the replica link inbound replicating to DC2 from DC3 and created a replica link to DC2. Because the replication attempt DC2 <-> DC2 can’t be executed, the request fails error 8452.

Case 2: Suppose we’re removing an NC on DC3 when we right-click the connection object, and select replicate now on DC1 to start DC2 <- DC3 replication for this NC. Because the NC on DC3 is in the process of being removed, DC3 isn’t a valid replication source. So we’ll see error 8452.

repadmin /replicate or repadmin /sync

The replicate (or sync) command of repadmin triggers immediate replication of a naming context (directory partition) to a destination DC from a source DC. Its (simplified) syntax is: repadmin /replicate <dest DC> <src DC> <replicated NC>.

There are two cases that we’ll trigger error 8452 when the repadmin /replicate (or sync) command is used to start a replication:

Case 1: the <src DC> parameter isn’t a replication partner of <dest DC> for <replicated NC>. For example, we have to replication topology DC1 <- DC2 <- DC3 in which DC2 syncs an NC from DC3. If we call repadmin /replicate DC2 DC1 the NC, a replication DC2 <- DC1 will be started. Because on DC2 we don’t have a replica link from DC1 for the NC, this replication can’t be executed, and we’ll get error 8452.

Case 2: the NC is being removed on src DC when we call repadmin /replicate <dest DC> <src DC> <the NC>, so <src DC> isn’t a valid replication source. So we’ll see error 8452.

DCDIAG

The showrepl (or showreps) command of repadmin reports the replication status for each source DC from which the destination DC has an inbound connection object. The replications test of dcdiag checks for timely replication between DCs. If error 8452 is in repadmin /showrepl or dcdiag /test:replications report, the reason is that the replicated NC is being removed on the source DC when the last replication happened.

NTDS replication event 1586

NTDS replication event 1586 is generated in a mixed domain environment that contains both Windows NT 4.0 and Active Directory DCs. In this mixed domain environment, Active Directory domain controllers replicate among themselves using the DS replication protocol, while the Active Directory PDC replicates to NT4 BDCs using the legacy netlogon replication protocol. In this case, the Active Directory PDC FSMO role holder is the single point for replication to NT4 BDCs in a common domain. The PDC maintains a checkpoint for each BDC representing the most recent replicated change. If the PDC FSMO role is transferred to another Active Directory DC in the domain, the information about each individual BDC’s checkpoint must be replicated to the new PDC FSMO role. So, the new PDC FSMO role holder must have a direct replication relationship with the old PDC FSMO role holder. If the new PDC doesn’t replicate directly with the old PDC (that is, on the new PDC there’s no replica link from old PDC), then we’ll see error 8452 in event 1586.

Demotion

There’s another scenario that DRAERR_NoReplica error will be returned. When we demote a DC, it will use DC locator to find a DC to replicate local changes to. If the found DC doesn’t replicate directly with the being-deleted DC, DRAERR_NoReplica will be returned and DC locator will be called to find a destination DC. In this scenario, the error isn’t logged so it isn’t observed.

Related Links

  • How the Active Directory Replication Model Works
  • RepsFrom

Содержание

  1. The naming context is in the process of being removed or is not replicated from the specified server
  2. Symptoms
  3. Cause
  4. More information
  5. repadmin /syncall
  6. DCDIAG
  7. NTDS replication event 1586
  8. Demotion
  9. Error issuing replication 8452 0x2104

The naming context is in the process of being removed or is not replicated from the specified server

This article provides a resolution to solve the Active Directory replication error (8452). This article is only intended for technical support agents and IT professionals. If you’re a home user and looking for help with a problem, visit ask the Microsoft Community.

Applies to: В Windows Server 2012 R2
Original KB number: В 2023704

Symptoms

DCDIAG reports that Active Directory Replications test has failed with error status code (8452): The naming context is in the process of being removed or is not replicated from the specified server.

Testing server:
Starting test: Replications
Replications Check
[Replications Check, ] A recent replication attempt failed:
From to
Naming Context:
The replication generated an error (8452):
The naming context is in the process of being removed or is not replicated from the specified server.
The failure occurred at .
The last success occurred at .
3 failures have occurred since the last success.

REPADMIN.EXE reports that the last replication attempt has failed with status 8452.

REPADMIN commands that commonly cite the five statuses include but aren’t limited to:

  • REPADMIN /SHOWREPS
  • REPADMIN /REPLSUM
  • REPADMIN /SYNCALL

Sample output from REPADMIN /SHOWREPS depicting inbound replication from CONTOSO-DC2 to CONTOSO-DC1 failing with the replication access was denied error is shown below:

The replicate now command in Active Directory Sites and Services returns the following error:

The naming context is in the process of being removed or is not replicated from the specified server.

Right-clicking on the connection object from a source DC and choosing replicate now fails with the above error. The on-screen error message text is shown below:

Dialog title text: Replicate Now Dialog message text: The following error occurred during the attempt to synchronize naming context from Domain Controller to Domain Controller : The naming context is in the process of being removed or is not replicated from the specified server.

The operation will not continue
Buttons in Dialog: OK

NTDS KCC, NTDS General, or Microsoft-Windows-ActiveDirectory_DomainService events with the five statuses are logged in the directory service event log.

Active Directory events that commonly cite the 8524 status include but aren’t limited to:

Event Source Event String
NTDS General 1586 The checkpoint with the PDC was unsuccessful. The checkpointing process will be retried again in four hours. A full synchronization of the security database to downlevel domain controllers may take place if this machine is promoted to be the PDC before the next successful checkpoint. The error returned was: The naming context is in the process of being removed or is not replicated from the specified server.

Cause

This error most commonly occurs when the following replication topologies are different:

  • The replication topology in a DC that’s starting replication.
  • The replication topology that’s defined in the destination DC’s copy of Active Directory.

The error naturally occurs when the replication topology in an Active Directory forest is being modified by:

New partitions being added or removed from the forest. For example, the promotion or demotion of the first/last DC in a domain. Or the addition/removal of an application partition including default DNS application partitions.

The addition or removal of directory partitions on existing DCs (that is, the promotion/demotion of global catalog or addition/removal of an application partition).

Changes in replication topology or settings:

  • The promotion of new DCs
  • The demotion of existing DCs
  • Changes to preferred/nominated bridgeheads
  • The building of alternate replication paths in response to replication failures or offline DCs
  • Site and site link changes.

The error can be transient in a forest undergoing the above changes. It remains transient until the set of source DCs and partitions which each destination DC replicates from has inbound replicated by triggering replication operations.

The error can be persistent when replication failures prevent the end-to-end replication of topology changes in the forest.

The error is most commonly seen in replication scenarios triggered by REPADMIN.EXE remotely (especially /SYNCALL ) or the replicate now command in DSSITE.MSC where the copy of Active Directory on the DC triggering replication has a different list of source DCs that a destination DC replicates from partitions than what the destination DC has defined in its copy of Active Directory.

Windows 2000 domain controllers are particularly prone to this error during GC demotion as they’re slow to remove objects from read-only partitions. Object removal during GC demotion improved dramatically on Windows Server 2003 and later OS versions.

The NTDS Replication event 1586 occurs in the following situation:

В В В The primary domain controller (PDC) Flexible Single Master Operation (FSMO) role for the domain has been seized or transferred to a domain controller that wasn’t a direct replication partner of the previous role holder.

In rare conditions, the error can be caused by corruption in attributes like hasMasterNCs or msds-hasMasterNCs .

The More information section of this article contains explanations as to why the diagnostic and administrative tools listed in the Symptoms section of this article generate the 8452 error.

In summary, Error 8452 happens if any of the following conditions is true:

    When DC1 repadmin /syncall command and equivalents until domain controllers starting replication and the destination DCs being replicated to agree source DCs and directory partitions being replicated.

Make originating changes in the right places.

Push and Pull changes connection object and partition changes around as required.

If the replicate now command from DC3 to DC2 when the DSSITE.MSC snap-in is run from the console of DC1 but focused on DC4, cut out the middle men.

If the error is caused by root cause no. 3, then after the user gives the correct input, the error won’t happen. For example, in case no. 1 of scenario no. 3, if the user input a correct such that on there’s a replica link from for , the repadmin /replicate command will be executed successfully.

Resolve replication failures blocking end-to-end replication.

NTDS Replication event 1586.

For NTDS Replication event 1586, transfer the DPC role to an Active Directory domain controller that currently a direct replication partner of the previous domain PDC.

More information

repadmin /syncall

The repadmin /syncall operation will cause a DC to start replication from all of its source replication partners and make the source replication partners start replication from all of their source replication partners, and so on.

For example, suppose we have a replication topology DC1 repadmin /syncall on DC1 will start the following replication: DC2 repadmin /syncall on DC1 before knowledge of the DC2 syncall operation will start DC2 repadmin /syncall on DC1. DC2 replicate now

The Active Directory Sites and Services snap-in, DSSITE.MSC uses the topology information stored in its local copy of AD.

Given the replication topology DC1 REPAMIN /SYNCALL example, there are also two cases where we might observe error 8452.

Case 1: Suppose we change the replication topology on DC2 to make it inbound replicate from DC4. The new replication topology is DC1 DC2 can’t be executed, the request fails error 8452.

Case 2: Suppose we’re removing an NC on DC3 when we right-click the connection object, and select replicate now on DC1 to start DC2 repadmin /replicate or repadmin /sync

The replicate (or sync ) command of repadmin triggers immediate replication of a naming context (directory partition) to a destination DC from a source DC. Its (simplified) syntax is: repadmin /replicate .

There are two cases that we’ll trigger error 8452 when the repadmin /replicate (or sync ) command is used to start a replication:

Case 1: the parameter isn’t a replication partner of for . For example, we have to replication topology DC1 repadmin /replicate DC2 DC1 the NC, a replication DC2 repadmin /replicate , so isn’t a valid replication source. So we’ll see error 8452.

DCDIAG

The showrepl (or showreps ) command of repadmin reports the replication status for each source DC from which the destination DC has an inbound connection object. The replications test of dcdiag checks for timely replication between DCs. If error 8452 is in repadmin /showrepl or dcdiag /test:replications report, the reason is that the replicated NC is being removed on the source DC when the last replication happened.

NTDS replication event 1586

NTDS replication event 1586 is generated in a mixed domain environment that contains both Windows NT 4.0 and Active Directory DCs. In this mixed domain environment, Active Directory domain controllers replicate among themselves using the DS replication protocol, while the Active Directory PDC replicates to NT4 BDCs using the legacy netlogon replication protocol. In this case, the Active Directory PDC FSMO role holder is the single point for replication to NT4 BDCs in a common domain. The PDC maintains a checkpoint for each BDC representing the most recent replicated change. If the PDC FSMO role is transferred to another Active Directory DC in the domain, the information about each individual BDC’s checkpoint must be replicated to the new PDC FSMO role. So, the new PDC FSMO role holder must have a direct replication relationship with the old PDC FSMO role holder. If the new PDC doesn’t replicate directly with the old PDC (that is, on the new PDC there’s no replica link from old PDC), then we’ll see error 8452 in event 1586.

Demotion

There’s another scenario that DRAERR_NoReplica error will be returned. When we demote a DC, it will use DC locator to find a DC to replicate local changes to. If the found DC doesn’t replicate directly with the being-deleted DC, DRAERR_NoReplica will be returned and DC locator will be called to find a destination DC. In this scenario, the error isn’t logged so it isn’t observed.

Источник

office-dc01

dcdiag /q
. NU-DC01 — не пройдена проверка SystemLog

Настройка протокола IP для Windows

Имя компьютера . . . . . . . . . : NU-DC01
Основной DNS-суффикс . . . . . . : ms12.ru
Тип узла. . . . . . . . . . . . . : Гибридный
IP-маршрутизация включена . . . . : Нет
WINS-прокси включен . . . . . . . : Нет
Порядок просмотра суффиксов DNS . : ms12.ru

Ethernet adapter Подключение по локальной сети 2:

DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : vmxnet3 Ethernet Adapter #2
Физический адрес. . . . . . . . . : 00-50-56-AF-0A-61
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да
IPv4-адрес. . . . . . . . . . . . : 192.168.1.2(Основной)
Маска подсети . . . . . . . . . . : 255.255.255.0
IPv4-адрес. . . . . . . . . . . . : 192.168.1.121(Основной)
Маска подсети . . . . . . . . . . : 255.255.255.0
Основной шлюз. . . . . . . . . : 192.168.1.254
DNS-серверы. . . . . . . . . . . : 192.168.1.122
192.168.1.121
127.0.0.1
NetBios через TCP/IP. . . . . . . . : Включен

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : Адаптер Microsoft ISATAP
Физический адрес. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да

Туннельный адаптер Подключение по локальной сети* 9:

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Физический адрес. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да

office-dc02

C:>dcdiag /q
[NU-DC02] В учетных данных пользователя отсутствует разрешение на
выполнение данной операции.
Учетная запись, используемая для этой проверки, должна иметь права на
вход в сеть
для домена данного компьютера.
. NU-DC02 — не пройдена проверка NetLogons
[Проверка репликации,NU-DC02] Сбой функции
DsReplicaGetInfo(PENDING_OPS, NULL), ошибка 0x2105
«Доступ к репликации отвергнут.»
. NU-DC02 — не пройдена проверка Replications
Не удалось открыть службу NTDS в NU-DC02, ошибка 0x5
«Отказано в доступе.»
. NU-DC02 — не пройдена проверка Services
. NU-DC02 — не пройдена проверка SystemLog

Настройка протокола IP для Windows

Имя компьютера . . . . . . . . . : NU-DC02
Основной DNS-суффикс . . . . . . : ms12.ru
Тип узла. . . . . . . . . . . . . : Гибридный
IP-маршрутизация включена . . . . : Нет
WINS-прокси включен . . . . . . . : Нет
Порядок просмотра суффиксов DNS . : ms12.ru

Ethernet adapter Подключение по локальной сети 2:

DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : vmxnet3 Ethernet Adapter #2
Физический адрес. . . . . . . . . : 00-50-56-AF-0A-64
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да
IPv4-адрес. . . . . . . . . . . . : 192.168.1.122(Основной)
Маска подсети . . . . . . . . . . : 255.255.255.0
Основной шлюз. . . . . . . . . : 192.168.1.254
DNS-серверы. . . . . . . . . . . : 192.168.1.121
192.168.1.122
127.0.0.1
NetBios через TCP/IP. . . . . . . . : Включен

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : Адаптер Microsoft ISATAP
Физический адрес. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да

Туннельный адаптер Подключение по локальной сети* 11:

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Физический адрес. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да

fil1-dc01

C:>dcdiag /q
Возникла ошибка. Код события (EventID): 0xC00007D2
Время создания: 05/14/2013 15:50:20
Строка события:
Проверка согласованности знаний не выполнена, поскольку атрибут след
ующего объекта имеет недостаточно значений.
Возникло предупреждение. Код события (EventID): 0x800003F6
Время создания: 05/14/2013 15:50:20
Строка события:
Программе проверки согласованности знаний (КСС) не удалось обновить
топологию репликации локальной службы каталогов. Попытки обновления топологии ре
пликации будут предприниматься со следующим запланированным интервалом.
. MSK-DC01 — не пройдена проверка KccEvent

Настройка протокола IP для Windows

Имя компьютера . . . . . . . . . : MSK-DC01
Основной DNS-суффикс . . . . . . : ms12.ru
Тип узла. . . . . . . . . . . . . : Гибридный
IP-маршрутизация включена . . . . : Нет
WINS-прокси включен . . . . . . . : Нет
Порядок просмотра суффиксов DNS . : ms12.ru

Ethernet adapter Подключение по локальной сети:

DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : Сетевое подключение Intel(R) PRO/1000 MT
Физический адрес. . . . . . . . . : 00-0C-29-AA-9D-A5
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да
Локальный IPv6-адрес канала . . . : fe80::7dd5:b72f:4d0d:22df%11(Основной)
IPv4-адрес. . . . . . . . . . . . : 192.168.3.8(Основной)
Маска подсети . . . . . . . . . . : 255.255.255.0
Основной шлюз. . . . . . . . . : 192.168.3.5
IAID DHCPv6 . . . . . . . . . . . : 234884137
DUID клиента DHCPv6 . . . . . . . : 00-01-00-01-18-55-0D-59-00-0C-29-AA-9D-A5

DNS-серверы. . . . . . . . . . . : 192.168.1.121
192.168.3.8
NetBios через TCP/IP. . . . . . . . : Включен

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : Адаптер Microsoft ISATAP
Физический адрес. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да

fil2-dc01 D:>dcdiag /q
Внимание: NU-TER02 не объявлен как сервер времени.
. NU-TER02 — не пройдена проверка Advertising
[NU-TER02] В учетных данных пользователя отсутствует разрешение на
выполнение данной операции.
Учетная запись, используемая для этой проверки, должна иметь права на
вход в сеть
для домена данного компьютера.
. NU-TER02 — не пройдена проверка NetLogons
[Проверка репликации,NU-TER02] Сбой функции
DsReplicaGetInfo(PENDING_OPS, NULL), ошибка 0x2105
«Доступ к репликации отвергнут.»
. NU-TER02 — не пройдена проверка Replications
Не удалось открыть службу NTDS в NU-TER02, ошибка 0x5
«Отказано в доступе.»
. NU-TER02 — не пройдена проверка Services

Настройка протокола IP для Windows

Имя компьютера . . . . . . . . . : NU-TER02
Основной DNS-суффикс . . . . . . : ms12.ru
Тип узла. . . . . . . . . . . . . : Гибридный
IP-маршрутизация включена . . . . : Нет
WINS-прокси включен . . . . . . . : Нет
Порядок просмотра суффиксов DNS . : ms12.ru

Ethernet adapter Team 1:

DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : BASP Virtual Adapter
Физический адрес. . . . . . . . . : 00-21-5A-CA-ED-CE
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да
Локальный IPv6-адрес канала . . . : fe80::2de7:5a65:d0e4:3222%16(Основной)
IPv4-адрес. . . . . . . . . . . . : 192.168.6.6(Основной)
Маска подсети . . . . . . . . . . : 255.255.255.0
Основной шлюз. . . . . . . . . : 192.168.6.5
IAID DHCPv6 . . . . . . . . . . . : 385884506
DUID клиента DHCPv6 . . . . . . . : 00-01-00-01-18-A8-16-40-00-21-5A-CA-ED-CE

DNS-серверы. . . . . . . . . . . : 192.168.1.122
192.168.6.6
NetBios через TCP/IP. . . . . . . . : Включен

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :
Описание. . . . . . . . . . . . . : Адаптер Microsoft ISATAP
Физический адрес. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP включен. . . . . . . . . . . : Нет
Автонастройка включена. . . . . . : Да

Источник

Curtis Fray


  • #1

Hi,

I am trying to use the Repamin command between two 2003 DCs in different
sites as part of a script for when I need replication to occur immediately.
Replication does work, and using AD Sites & Services can also successfully
initiate a replication both ways. No errors are reported in the Event
Viewer, and using Repadmin /showrepl reports no errors.

However, when I try to use the Repadmin /replicate I’m getting an error one
way. DC1 is in site 1 and DC2 is in site 2. I’m using the following
commands. The messages received are also shown. The problem is with the
second example:

========
repadmin /replicate DC2.mydomain.com DC1.mydomain.com dc=mydomain,dc=com
Sync from DC1.mydomain.com to DC2.mydomain.com completed successfully.

repadmin /replicate DC1.mydomain.com DC2.mydomain.com dc=mydomain,dc=com
DsReplicaSync() failed with status 8452 (0x2104):
Can’t retrieve message string 8452 (0x2104), error 1815.
========

Does anyone have any ideas on what this could be?

Thanks,

Curtis.

Advertisements

Paul Bergson [MVP-DS]


  • #2

Run some specific diags against your domain.

If you don’t have the support tools installed, install them from your server
install disk.
d:supporttoolssetup.exe

Run dcdiag and repadmin in verbose mode.
-> DCDIAG /V /C /D /E /s:yourdcname > c:dcdiag.log
-> repadmin.exe /showrepl dc* /verbose /all /intersite > c:repl.txt

**Note: Using the /E switch in dcdiag will run diagnostics against ALL dc’s
in the forest. If you have significant numbers of DC’s this test could
generate significant detail and take a long time. You also want to take
into account slow links to dc’s will also add to the testing time.

When complete search for fail, error and warning messages.


Paul Bergson
MVP — Directory Services
MCT, MCSE, MCSA, Security+, BS CSci
2003, 2000 (Early Achiever), NT

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup
This posting is provided «AS IS» with no warranties, and confers no rights.

title description ms.date author ms.author manager audience ms.topic ms.prod localization_priority ms.reviewer ms.custom ms.technology

Active Directory replication error 8452

Active Directory Replications test has failed with error status code (8452). Provides a resolution.

04/28/2023

Deland-Han

delhan

dcscontentpm

ITPro

troubleshooting

windows-server

medium

kaushika

sap:active-directory-replication, csstroubleshoot

windows-server-active-directory

The naming context is in the process of being removed or is not replicated from the specified server

This article provides a resolution to solve the Active Directory replication error (8452). This article is only intended for technical support agents and IT professionals. If you’re a home user and looking for help with a problem, visit ask the Microsoft Community.

Applies to:   Windows Server 2012 R2
Original KB number:   2023704

Symptoms

  1. DCDIAG reports that Active Directory Replications test has failed with error status code (8452): The naming context is in the process of being removed or is not replicated from the specified server.

    Testing server: <site name><destination dc name>
    Starting test: Replications
    Replications Check
    [Replications Check,<destination DC name>] A recent replication attempt failed:
    From <source DC> to <destination DC>
    Naming Context: <directory partition DN path>
    The replication generated an error (8452):
    The naming context is in the process of being removed or is not replicated from the specified server.
    The failure occurred at <date> <time>.
    The last success occurred at <date> <time>.
    3 failures have occurred since the last success.

  2. REPADMIN.EXE reports that the last replication attempt has failed with status 8452.

    REPADMIN commands that commonly cite the five statuses include but aren’t limited to:

    • REPADMIN /SHOWREPS
    • REPADMIN /REPLSUM
    • REPADMIN /SYNCALL

    Sample output from REPADMIN /SHOWREPS depicting inbound replication from CONTOSO-DC2 to CONTOSO-DC1 failing with the replication access was denied error is shown below:

     Default-First-Site-NameCONTOSO-DC1  
      DSA Options: IS_GC  
      Site Options: (none)  
      DSA object GUID: b6dc8589-7e00-4a5d-b688-045aef63ec01  
      DSA invocationID: b6dc8589-7e00-4a5d-b688-045aef63ec01
    
     ==== INBOUND NEIGHBORS ======================================
    
     DC=contoso,DC=com  
     Default-First-Site-NameCONTOSO-DC2 via RPC  
     DSA object GUID: 74fbe06c-932c-46b5-831b-af9e31f496b2  
     Last attempt @ <date> <time> failed, result 8452 (0x2104):  
     The naming context is in the process of being removed or is not replicated from the specified server.  
     <#> consecutive failure(s).  
     Last success @ <date> <time>.
  3. The replicate now command in Active Directory Sites and Services returns the following error:

    The naming context is in the process of being removed or is not replicated from the specified server.

    Right-clicking on the connection object from a source DC and choosing replicate now fails with the above error. The on-screen error message text is shown below:

    Dialog title text: Replicate Now
    Dialog message text: The following error occurred during the attempt to synchronize naming context <%directory partition name%> from Domain Controller <Source DC> to Domain Controller <Destination DC>:
    The naming context is in the process of being removed or is not replicated from the specified server.

    The operation will not continue
    Buttons in Dialog: OK

  4. NTDS KCC, NTDS General, or Microsoft-Windows-ActiveDirectory_DomainService events with the five statuses are logged in the directory service event log.

    Active Directory events that commonly cite the 8524 status include but aren’t limited to:

    Event Source Event String
    NTDS General 1586 The checkpoint with the PDC was unsuccessful. The checkpointing process will be retried again in four hours. A full synchronization of the security database to downlevel domain controllers may take place if this machine is promoted to be the PDC before the next successful checkpoint. The error returned was: The naming context is in the process of being removed or is not replicated from the specified server.

Cause

This error most commonly occurs when the following replication topologies are different:

  • The replication topology in a DC that’s starting replication.
  • The replication topology that’s defined in the destination DC’s copy of Active Directory.

The error naturally occurs when the replication topology in an Active Directory forest is being modified by:

  • New partitions being added or removed from the forest. For example, the promotion or demotion of the first/last DC in a domain. Or the addition/removal of an application partition including default DNS application partitions.

  • The addition or removal of directory partitions on existing DCs (that is, the promotion/demotion of global catalog or addition/removal of an application partition).

  • Changes in replication topology or settings:

    • The promotion of new DCs
    • The demotion of existing DCs
    • Changes to preferred/nominated bridgeheads
    • The building of alternate replication paths in response to replication failures or offline DCs
    • Site and site link changes.

The error can be transient in a forest undergoing the above changes. It remains transient until the set of source DCs and partitions which each destination DC replicates from has inbound replicated by triggering replication operations.

The error can be persistent when replication failures prevent the end-to-end replication of topology changes in the forest.

The error is most commonly seen in replication scenarios triggered by REPADMIN.EXE remotely (especially /SYNCALL) or the replicate now command in DSSITE.MSC where the copy of Active Directory on the DC triggering replication has a different list of source DCs that a destination DC replicates from partitions than what the destination DC has defined in its copy of Active Directory.

Windows 2000 domain controllers are particularly prone to this error during GC demotion as they’re slow to remove objects from read-only partitions. Object removal during GC demotion improved dramatically on Windows Server 2003 and later OS versions.

The NTDS Replication event 1586 occurs in the following situation:

   The primary domain controller (PDC) Flexible Single Master Operation (FSMO) role for the domain has been seized or transferred to a domain controller that wasn’t a direct replication partner of the previous role holder.

In rare conditions, the error can be caused by corruption in attributes like hasMasterNCs or msds-hasMasterNCs.

The More information section of this article contains explanations as to why the diagnostic and administrative tools listed in the Symptoms section of this article generate the 8452 error.

In summary, Error 8452 happens if any of the following conditions is true:

  1. When DC1 <- DC2 replication is started for a Naming Context (NC), on DC1 there’s no replica link for the NC from DC2.
  2. When DC1 <- DC2 replication in started for an NC, the NC is in the process of being removed on DC2.
  3. In mixed domain environment, the PDC FSMO role is transferred from DC2 to DC1, but on DC1 there’s no replica link from DC2.

Resolution

  1. Wait. As mentioned, this condition is transient and doesn’t normally warrant troubleshooting.

    Assume that replication topology changes of the type listed in the Cause section are taking place in your Active Directory forest. In this situation, wait for the error condition to correct itself with time.

  2. Avoid the use of the repadmin /syncall command and equivalents until domain controllers starting replication and the destination DCs being replicated to agree source DCs and directory partitions being replicated.

  3. Make originating changes in the right places.

  4. Push and Pull changes connection object and partition changes around as required.

  5. Go Direct.

    If the replicate now command from DC3 to DC2 when the DSSITE.MSC snap-in is run from the console of DC1 but focused on DC4, cut out the middle men.

    If the error is caused by root cause no. 3, then after the user gives the correct input, the error won’t happen. For example, in case no. 1 of scenario no. 3, if the user input a correct <src DC> such that on <dest DC> there’s a replica link from <src DC> for <the NC>, the repadmin /replicate command will be executed successfully.

  6. Resolve replication failures blocking end-to-end replication.

  7. REPADMIN /REPLICATE.

  8. NTDS Replication event 1586.

    For NTDS Replication event 1586, transfer the DPC role to an Active Directory domain controller that currently a direct replication partner of the previous domain PDC.

More information

repadmin /syncall

The repadmin /syncall operation will cause a DC to start replication from all of its source replication partners and make the source replication partners start replication from all of their source replication partners, and so on.

For example, suppose we have a replication topology DC1 <- DC2 <- DC3. repadmin /syncall on DC1 will start the following replication: DC2 <- DC3, and DC1 <- DC2.

There are two cases where error 8452 might be observed in this scenario:

Case 1: Change the replication topology to make DC2 inbound replicate from DC4 so that the current topology becomes DC1 <- DC2 <- DC4.

If we call repadmin /syncall on DC1 before knowledge of the DC2 <- DC4 topology change inbound replicates to DC1, the syncall operation will start DC2 <- DC3 replications because DC1 still has the old replication topology stored locally. On DC2 at this moment, KCC has created a replica link from DC4 and has deleted the replica link from DC3. So the replication from DC2 <- DC3 can’t be executed and the operation logs error 8452.

Case 2: Suppose an NC on DC3 is being removing while we call repadmin /syncall <the NC> on DC1. DC2 <- DC3 replication will be started as before. Because the NC on DC3 is in the process of being removed, it isn’t a valid replication source, the error 8452 will be observed.

Active Directory sites and services (DSSITE.MSC) -> replicate now

The Active Directory Sites and Services snap-in, DSSITE.MSC uses the topology information stored in its local copy of AD.

Given the replication topology DC1 <- DC2 <- DC3, a connection object exists under DC2’s NTDS Settings object. This connection object represents the route for DC2 to inbound replicate an NC (or multiple NCs) from DC3. If we right-click on this connection object and select replicate now, we will start a DC2 <- DC3 replication on DC2.

As in the REPAMIN /SYNCALL example, there are also two cases where we might observe error 8452.

Case 1: Suppose we change the replication topology on DC2 to make it inbound replicate from DC4. The new replication topology is DC1 <- DC2 <- DC4. Until knowledge of this topology change outbound replicates to DC1, the topology on DC1 is still the old topology of DC1 <- DC2 <- DC3.

Starting the Active Directory Sites and Services UI focused on DC1s copy of Active Directory still shows that DC2 has an inbound connection object from source DC3. Right-clicking on DCs inbound connection object from DC2 and choosing replicate now will start a DC2 <- DC3 replication on DC2. However, the KCC on DC2 already removed the replica link inbound replicating to DC2 from DC3 and created a replica link to DC2. Because the replication attempt DC2 <-> DC2 can’t be executed, the request fails error 8452.

Case 2: Suppose we’re removing an NC on DC3 when we right-click the connection object, and select replicate now on DC1 to start DC2 <- DC3 replication for this NC. Because the NC on DC3 is in the process of being removed, DC3 isn’t a valid replication source. So we’ll see error 8452.

repadmin /replicate or repadmin /sync

The replicate (or sync) command of repadmin triggers immediate replication of a naming context (directory partition) to a destination DC from a source DC. Its (simplified) syntax is: repadmin /replicate <dest DC> <src DC> <replicated NC>.

There are two cases that we’ll trigger error 8452 when the repadmin /replicate (or sync) command is used to start a replication:

Case 1: the <src DC> parameter isn’t a replication partner of <dest DC> for <replicated NC>. For example, we have to replication topology DC1 <- DC2 <- DC3 in which DC2 syncs an NC from DC3. If we call repadmin /replicate DC2 DC1 the NC, a replication DC2 <- DC1 will be started. Because on DC2 we don’t have a replica link from DC1 for the NC, this replication can’t be executed, and we’ll get error 8452.

Case 2: the NC is being removed on src DC when we call repadmin /replicate <dest DC> <src DC> <the NC>, so <src DC> isn’t a valid replication source. So we’ll see error 8452.

DCDIAG

The showrepl (or showreps) command of repadmin reports the replication status for each source DC from which the destination DC has an inbound connection object. The replications test of dcdiag checks for timely replication between DCs. If error 8452 is in repadmin /showrepl or dcdiag /test:replications report, the reason is that the replicated NC is being removed on the source DC when the last replication happened.

NTDS replication event 1586

NTDS replication event 1586 is generated in a mixed domain environment that contains both Windows NT 4.0 and Active Directory DCs. In this mixed domain environment, Active Directory domain controllers replicate among themselves using the DS replication protocol, while the Active Directory PDC replicates to NT4 BDCs using the legacy netlogon replication protocol. In this case, the Active Directory PDC FSMO role holder is the single point for replication to NT4 BDCs in a common domain. The PDC maintains a checkpoint for each BDC representing the most recent replicated change. If the PDC FSMO role is transferred to another Active Directory DC in the domain, the information about each individual BDC’s checkpoint must be replicated to the new PDC FSMO role. So, the new PDC FSMO role holder must have a direct replication relationship with the old PDC FSMO role holder. If the new PDC doesn’t replicate directly with the old PDC (that is, on the new PDC there’s no replica link from old PDC), then we’ll see error 8452 in event 1586.

Demotion

There’s another scenario that DRAERR_NoReplica error will be returned. When we demote a DC, it will use DC locator to find a DC to replicate local changes to. If the found DC doesn’t replicate directly with the being-deleted DC, DRAERR_NoReplica will be returned and DC locator will be called to find a destination DC. In this scenario, the error isn’t logged so it isn’t observed.

Data collection

If you need assistance from Microsoft support, we recommend you collect the information by following the steps mentioned in Gather information by using TSSv2 for Active Directory replication issues.

Related Links

  • How the Active Directory Replication Model Works
  • RepsFrom

  • Ошибка вывода средств donationalerts
  • Ошибка выдачи репликации 1722 0x6ba
  • Ошибка вывода датчика сканера samsung scx 3200 что делать
  • Ошибка выдано исключение типа system outofmemoryexception
  • Ошибка выжившего это теория