Article ID: 307593 - Last Review: August 14, 2007 - Revision: 7.0 How to troubleshoot Event ID 1311 messages on a Windows 2000 domainThis article was previously published under Q307593 On This PageSYMPTOMS This article describes how to troubleshoot event ID 1311
messages in the Directory Service event log on a Microsoft Windows 2000 domain.
The Knowledge Consistency Checker (KCC) constructs and maintains the replication topology for Active Directory. To do this, the KCC examines the sum of all naming contexts that reside in the forest and all administrator-defined constraints for site, site link, and link cost. If an Active Directory domain, a schema, a configuration, an application partition, or the global catalog naming contexts cannot be replicated between domain controllers or sites, an event ID 1311 message similar to the following is logged in the Directory Service event log: Event Type: Error Event Source: NTDS KCC Event Category: Knowledge Consistency Checker Event ID: 1311 Date: MM/DD/YYYY Time: HH:MM:SS AM|PM User: N/A Computer: <domain_controller_name> Description: The Directory Service consistency checker has determined that either (a) there is not enough physical connectivity published via the Active Directory Sites and Services Manager to create a spanning tree connecting all the sites containing the Partition CN=<partition name>,DC=<root domain of forest>,DC=com, or (b) replication cannot be performed with one or more critical servers in order for changes to propagate across all sites (most often because of the servers being unreachable). CAUSE This behavior occurs if one or more of the following
conditions are true:
RESOLUTION To troubleshoot event ID 1311 messages, use the following
methods.
Determine if the Event ID 1311 messages are site-specific or forest-wideDetermine if event ID 1311 messages are logged on all inter-site topology generator (ISTG) domain controllers in the forest or only on site-specific ISTG domain controllers. To locate ISTG domain controllers, use the Ldp.exe tool to search for the following attributes:
Base DN: CN=Sites,CN=Configuration,DC=RootDomainName,DC=Com
For more information about how to locate ISTG domain controllers, click the following article number to view the article in the Microsoft Knowledge Base:
Filter: (cn=NTDS Site Settings) Scope: Subtree Attributes: interSiteTopologyGenerator 224599
(http://support.microsoft.com/kb/224599/
)
Determining the Inter-Site Topology Generator (ISTG) of a site in the Active Directory
To determine the scope of the event, use one of the
following methods:
Determine if site link bridging is turned on and if the network is fully routedWhen you enable site link bridging in the Active Directory Sites and Services snap-in, you must make sure that any site defined in Active Directory has a fully routed network connection to any other site that is defined by the administrator. If KCC builds a connection link between two unconnected sites in which site link bridging is enabled, event ID 1311 messages may be logged.Site link bridging is enabled in Active Directory if the following conditions are true:
If site link bridging is enabled in a non-routed environment, either make the network fully routed, or disable site link bridging and then create the site links and site link bridges that you must use. Wait for two times the longest replication interval in the forest. If event ID 1311 messages continue to be logged or if site link bridging is enabled in a fully routed network, continue to the "Verify That All Sites Are Defined in Site Links" method. By default, site link bridging is turned on. Additionally, the best practice guidelines recommend that you keep site link bridging turned on. The following diagram uses plus signs (+) and minus signs (-) to illustrate physical network connections between Active Directory sites. Site AZ is listed in site link WEST and site GA is listed in site link EAST, but sites AZ and GA do not have fully routed network connections to sites WA and NY in an Active Directory configuration where site link bridging is enabled.
WA <-- Site Link WANY --> NY
+- +-
+ - + -
+ - + -
+ - + -
CA + + + AZ IL + + + GA
Site Link WEST Site Link EAST
Verify that all sites are defined in site linksEvery site defined in Active Directory must be hosted or reside in a site link. For example if sites WA, CA, AZ, NY, IL, and GA are defined, and site links WEST, EAST and WANY are defined, event ID 1311 messages are logged if any one site (for example, AZ or GA) is not listed in a site link where the sites are physically connected. Sites are orphaned when sites in a deleted site link are not added to an appropriate existing site link.
WA -- Site Link WANY -- NY
/ /
/ /
/ /
CA (AZ) IL (GA)
Site Link WEST Site Link EAST
Because sites AZ and GA are not listed in any site links, they are
orphaned and the KCC does not consider them when it constructs the
replication topology for Active Directory.For each site that is configured for IP-based replication or for SMTP-based replication (not shown), the repadmin /showism command returns a site matrix that represent the connections to all the sites in the forest. Each entry in the site matrix contains three numbers delimited by colons (:) that represent the cost, replication interval, and options for each replication link to another site in the Active Directory forest. The numbers in an entry appear in the following order: Cost:Replication
interval:Options
A site with a full complement of "-1:0:0" entries and one "0:0:0" entry is orphaned unless the site is uncovered (no domain controllers reside in that site). When you troubleshoot event ID 1311 messages, record the names of all orphaned sites, but do not record the names of uncovered sites. If site link bridging is disabled, "-1:0:0" entries are less meaningful. If this is the case, you must manually determine if each site is included in a site link. To do so, write down the list of sites and site links, and manually map each site to a site link. NOTE: The repadmin /showism command always returns "-1:0:0" entries for an uncovered site. In the following repadmin /showism example, site link bridging is enabled in the "corp.com" forest, and site link TX<->WA was deleted. Site 2 (US-WA) is orphaned from all other sites in the forest and must be added to an appropriate site link. Detect and remove preferred bridgeheadsBecause correct bridgehead selection is difficult in multi-domain forests, and because Windows 2000 has good fail-over logic in case a KCC-selected bridgehead goes offline, Microsoft strongly recommends that you do not define preferred bridgehead servers.To search for preferred bridgehead servers:
Resolve Active Directory replication failures in the forestActive Directory replication requires the transitive replication of all naming contexts in the forest to all domain controllers that replicate a common partition.Resolve replication failures for online domain controllers as quickly as possible, especially those that host one-of-a-kind naming contexts in a forest (for example, the only domain controller for a particular domain in the forest). As a last resort, if you cannot make a domain controller replicate, remove it from the forest. If a domain controller is offline for fewer days than the tombstone lifetime number (by default 60), bring the domain controller online and force it to replicate, or as a last resort, remove it from the forest. If a domain controller is offline or does not replicate inbound changes for more days than the tombstone lifetime number, do not resuscitate it. Instead, immediately remove it from the forest. For more information about the TombstoneLifetime value, click the following article numbers to view the articles in the Microsoft Knowledge Base: 216993
(http://support.microsoft.com/kb/216993/
)
Useful shelf life of a system-state backup of Active Directory
314282
(http://support.microsoft.com/kb/314282/
)
Lingering objects may remain after you bring an out-of-date Global Catalog server back online
When you want to discover and troubleshoot
replication failures, the following tools can be useful:
The "KCC Link Failures" cache lists errors for existing connection links. The ISTG domain controller imports showreps ("repsfroms") data for every bridgehead server in its site. However, the ISTG domain controller does not list errors. The link failure cache is emptied at the beginning of every KCC run and refilled during the course of the current run. The "KCC Connection Failures" cache lists unsuccessful attempts to build connection objects between domain controllers ("reps from" or "reps to"). When you run the repadmin /failcache command from the ISTG domain controller, it lists entries that are imported from bridgeheads in the site. At the beginning of each KCC run, the KCC examines each entry in the connection failure cache and tries to DsBind to the failing server. If the bind succeeds, the entry is removed. The repadmin /failcache command differs from the repadmin /showreps command in two ways:
Z:\>repadmin /failcache
==== KCC CONNECTION FAILURES ============================
(none)
==== KCC LINK FAILURES ==================================
USA-WA-24\C-24-DC03
DC object GUID: 134244cd-26be-4944-82a7-ac3eb74fc02f
No Failures.
USA-WA-24\B-24-DC02
DC object GUID: 21b050d6-33b5-424d-aa9b-060fe209233d
No Failures.
USA-WA-24\Z-24-DC-05
DC object GUID: bfb3b008-3849-4e5d-81d8-53dbb76d587a
No Failures.Determine if source servers are overloadedA domain controller that is overloaded with a large number of direct replication partners or a replication schedule that is overly aggressive can create a backlog in which some partners never receive changes from a hub domain controller. In the output from the repadmin /showreps command, partner domain controllers of overloaded source domain controllers appear with the "at never" status.To resolve this issue, resize hardware, reconfigure site links and reconfigure site link or connection schedules as necessary to reduce the load on overloaded domain controllers. Determine if site links are disjointed"Disjoint site links" is an Active Directory configuration in which the topology is broken into two parts or in which some sites do not replicate because site definitions and site link definitions are incorrect. For example, the following diagram shows a configuration in which Sitelink_ABC contains sites A, B, and C and Sitelink_DEF contains sites D, E, and F, but no site link connects any of the sites in Sitelink_ABC to any of the sites in Sitelink_DEF. To resolve the disjoint site links condition, a new site link must connect at least one site in Sitelink_ABC with at least one site in Sitelink_DEF (for example, a new site link between site A and site D).
A D
/ \ / \
/ \ / \
/ \ / \
B C E F
Sitelink_ABC Sitelink_DEF
A F
/ \ \
/ \ \
/ \ \
B C \
\ / \
\ / \
\ / \
D G
Sitelink_ABDC Sitelink_FG Delete connections if KCC is in "Keep Connection mode"If KCC builds a different path around a site-to-site connection failure, but it retries the failing connection every 15 minutes because it is in "connection keeping mode," delete all broken connections and let KCC rebuild them. Wait two times the longest replication schedule in the forest.MORE INFORMATIONTerminology and concepts
Truncated output from the REPADMIN /SHOWISM commandIn some environments, the repadmin /showism command from build 2195 of Windows 2000 quits prematurely during execution and its output is truncated because of an internal error. For example, the top portion of this successful /SHOWISM output from a domain controller in the "corp.com" domain indicates that 128 sites are defined (0-127). | Article Translations
|
Back to the top
