Microsoft KB Archive/910204

= Troubleshooting problems with promoting a domain controller to a global catalog server =

Article ID: 910204

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Datacenter Server

-





SUMMARY
''This article discusses a problem with promoting a Microsoft Windows Server 2003 domain controller or a Microsoft Windows 2000 domain controller to a global catalog server. This article discusses the following topics:''


 * The event messages that are logged in the Directory Services log for Windows 2000 Server and for Windows Server 2003
 * The possible causes of the global catalog promotion failure
 * Ways to determine the cause of the global catalog promotion failure
 * Ways to resolve the global catalog promotion failure



SYMPTOMS
When you try to promote a Microsoft Windows Server 2003 domain controller or a Microsoft Windows 2000 domain controller to a global catalog server, the domain controller may not advertise itself as a global catalog. This is true if you promote the domain controller programmatically or by clicking to select the Global Catalog option. When this problem occurs, event messages are logged in the Directory Services log.

Additionally, the output may show that the domain controller did not pass the advertising test and is not advertising the global catalog. This output occurs when a domain controller logs event ID 1578 and when you run a domain controller diagnostic check (Dcdiag.exe) on that domain controller.

Note To run a domain controller diagnostic check, do the following:
 * 1) Click Start, click Run, type cmd, and then click OK.
 * 2) At the command prompt, type dcdiag /v /f: .txt, and then press ENTER.

The following sections describe the event messages that are logged in the Directory Services log when this problem occurs.

Windows 2000 event messages
 Informational event messages that are similar to the following are logged every 30 minutes:   Event ID 1559 Event ID: 1559

Event Source: NTDS Replication

Event type: Informational

Description: A request has been made to promote this DSA to a Global Catalog (GC). A precondition to becoming a GC is that this server host a read-only copy of all partitions in the enterprise. This server should hold a copy of partition DC=child,DC=root,DC=com but it does not. This system will not be promoted to a GC until this condition is met.

This may be because the KCC has not run, or that it is unable to add a replica of the partition because all of its sources are down. Please check the event log for KCC errors.

The KCC will retry adding the replica.   Event ID 1578 Event ID: 1578

Event Source: NTDS Replication

Event type: Informational

Description: Promotion of this server to a Global Catalog has been delayed because partition occupancy requirements have not been met.

A parameter is used to control the strictness that the Directory enforces the partition occupancy requirement.

The parameter is:

HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Parameters\Global Catalog Partition Occupancy

The levels are as follows: (0) No occupancy requirement; (1) At least one read-only partition in site added by the KCC; (2) At least one partition in site synchronized fully; (3) All read-only partitions in site added by the KCC (at least one synchronized); (4) All partitions in site synchronized fully.

Greater levels include the requirements of lesser levels. The current occupancy requirement is 4. This server is currently at level 0. Note Although the &quot;Global Catalog Partition Occupancy&quot; registry subkey is mentioned in this event message, you should not reduce the occupancy level to artificially accelerate global catalog promotion. We strongly recommend that you first resolve the Directory Service replication issue so that the global catalog is automatically advertised.   Event ID 1110 Event ID: 1110

Event Source: NTDS Replication

Event type: Informational

Description: Promotion of this server to a Global Catalog will be delayed for 30 minutes. This delay is necessary so that the required partitions can be made ready before the GC is advertised. The operations that will occur during this time include the KCC being run to generate the new topology, all read-only partitions in the enterprise being added to this server, and the contents of these partitions being replicated into this system.

If you wish to promote the GC immediately without enforcing this precondition, set the registry variable

HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Parameters\Global Catalog Delay Advertisement (sec)

to a DWORD value of 0. The GC will be promoted on the next attempt to check preconditions. This value can also be set to the maximum number of seconds that the DSA will wait before promoting to a GC.   Warning event messages that are similar to the following may be logged every 15 minutes:   Event ID 1265 Event ID: 1265

Event Source: NTDS KCC

Event type: Informational

Description: The attempt to establish a replication link with parameters

Partition: DC=child,DC=root,DC=com

Source DSA DN: CN=NTDS

Settings,CN=WIN2K-DC,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration ,DC=root,DC=com

Source DSA Address: e91ab89f-8789-4506-b5ed-e31f225c47ec._msdcs.root.com

Inter-site Transport (if any): failed with the following status:

The DSA operation is unable to proceed because of a DNS lookup failure.

The record data is the status code. This operation will be retried. Note The description for event ID 1265 may vary. Several possibilities will cause event ID 1265 to be recorded. These possibilities also cause the Knowledge Consistency Checker (KCC) not to build a replication link. The following are some typical possibilities:  The DSA operation cannot continue because of a DNS lookup failure. Resolve the DNS problem, or remove the metadata if the source DSA address represents a stale domain controller.</li> The RPC server is unavailable. This typically indicates a network connectivity issue. Determine whether the target domain controller is offline or whether a network port is blocked.</li> The target principal name is incorrect. Examine the security channel between the source and target domain controllers.</li> You receive an &quot;Access Denied&quot; error message.</li></ul> </li></ul> </li> The following Error event message is logged every hour:

Event ID 1126

Event ID: 1126

Event Source: NTDS General

Event type: Informational

Description: Unable to establish connection with global catalog

</li></ul>

Windows Server 2003 event messages
  Event ID 1559 Event Type: Information

Event Source: NTDS Replication

Event Category: Global Catalog

Event ID: 1559

Date:

Time:

User: NT AUTHORITY\ANONYMOUS LOGON

Computer:

Description: The local domain controller has been selected to be a global catalog. However, the domain controller does not host a read-only replica of the following directory partition.

Directory partition:

DC=root,DC=com < >

A precondition to becoming a global catalog is that a domain controller must host a read-only replica of all directory partitions in the forest. This event might have occurred because a Knowledge Consistency Checker (KCC) task has not completed or because the domain controller is unable to add a replica of the directory partition due to unavailable source domain controllers. An attempt to add the replica will be tried again at the next KCC interval. </li>  Event ID 1578 Event Type: Information

Event Source: NTDS Replication

Event Category: Global Catalog

Event ID: 1578

Date:

Time:

User: NT AUTHORITY\ANONYMOUS LOGON

Computer:

Description: Promotion of the local domain controller to a global catalog has been delayed because the directory partition occupancy requirements have not been met. The occupancy requirement level and current domain controller level are as follows.

Occupancy requirement level: 6

Domain controller level: 4

The following registry key value defines the directory partition occupancy requirement level.

HKLM\System\CurrentControlSet\Services\NTDS\Parameters\Global Catalog Partition Occupancy </li>  If you enable diagnostic logging for the Knowledge Consistency Checker (KCC) at level 1, the following event is logged.

Event ID 1801 Event Source: NTDS KCC

Event Category: Knowledge consistency checker

Event ID: 1801

Date:

Time:

User: NT AUTHORITY\ANONYMOUS LOGON

Computer:

Description: The Knowledge Consistency Checker will not construct the topology for partition DC=domain,DC=com because knowledge of the partition's objectGuid has not yet replicated to this domain controller. </li></ul>

<div class="cause_section">

CAUSE
A global catalog must replicate inbound copies of all objects from all domain partitions in the forest before the global catalog can advertise the global catalog role.

When a domain controller is selected to host the global catalog, the KCC on the domain controller that is being promoted uses its discretion to build connection objects from source domain controllers that host the required partitions. These source domain controllers may consist of existing global catalogs in the forest or domain controllers that host writable copies of every domain partition that resides in its forest. The contents of each domain partition are then inbound replicated from source domain controllers that are designated by the KCC. The contents are replicated to the newly promoted global catalog over existing or newly created connection links.

Global catalog promotion may fail if one of the following conditions is true:
 * 1) The configuration partition on one or more domain controllers contains a cross-reference object to a stale or orphaned domain, but no domain controllers for that domain are located in the forest.
 * 2) Metadata for a source domain controller that is designated by the KCC is located in the configuration partition of one or more domain controllers but does not represent a domain controller currently present in the forest.
 * 3) The source domain controller that is selected by the KCC on the global catalog that is being promoted is offline.
 * 4) The source domain controller that was selected by the KCC on the global catalog that is being promoted is inaccessible over the network. This domain controller is inaccessible because there is no network connectivity or partial network connectivity. The following are examples of network connectivity issues:
 * 5) * Ports that are blocked
 * 6) * IP addresses that are filtered
 * 7) * Networks that are not fully routed but that have the bridge-all-site-links option enabled
 * 8) Source domain global catalogs are constrained from acting as bridgeheads because non-global catalog domain controllers have incorrectly been selected as preferred bridgeheads by administrators.
 * 9) The global catalog that is being promoted cannot build a connection link from the selected source domain controller because of the error status that is logged in one of the events that are listed in the Summary section.

An orphaned domain will prevent the domain controller from finishing the replication. The domain controller cannot advertise itself as a global catalog server until replication is completed. There are several issues that could lead to an orphaned domain:
 * 1) Active Directory was removed from all the domain controllers of a domain, but the domain partition cross-reference object still remains.
 * 2) Active Directory was removed from a domain controller, and the directory partition of the domain controller was removed. The domain controller was then re-created before replication was completed. These events caused lingering phantoms that a cross-reference object incorrectly references.
 * 3) The domain-naming update for the domain has not reached the domain controller that is experiencing the problem. Or, the domain-naming update for a domain that is newly promoted may not have reached any domain controllers outside that domain. This issue would be a temporary problem.

<div class="resolution_section">

RESOLUTION
Warning You should not enable a reduced occupancy level to artificially accelerate global catalog promotion. We strongly recommend that you first resolve the Directory Service replication issue so that the global catalog is automatically advertised.

To resolve this problem, first identify the root cause of the replication issue, and resolve that problem. Determine whether the replication issue is caused by one of the following conditions:
 * A replication delay
 * An orphaned domain that is located in the forest environment
 * An inability to build the connection link
 * An inability to replicate over the connection agreement

If there is an NTDS KCC event ID 1265 that is logged in the Directory Service log, use that event to determine the cause of the replication failure for the same domain partition. Make sure that network connectivity is good and that no required network ports are blocked. Required network ports are, for example, TCP 135 and ephemeral ports that are used by RPC. View the DNS records to make sure that the registered Host and SRV records are all correctly registered. If there are incorrect records, you must clear them out and register such records.

Remove all stale metadata for any domain controllers and domains in the forest that are listed in the relevant event IDs. You must do this to make sure that replication is not failing because of a non-existent domain controller or domain. For more information about how to remove Active Directory metadata, click the following article number to view the article in the Microsoft Knowledge Base:

216498 How to remove data in Active Directory after an unsuccessful domain controller demotion

After you have verified that the replication between domain controllers is working correctly, determine whether there is an orphaned domain object. You can use the Ntdsutil.exe utility to clear the orphaned domain object. If there is any orphaned domain controller object for that domain, you must also delete the domain controller object. For more information about how to remove an orphaned domain, click the following article number to view the article in the Microsoft Knowledge Base:

230306 How to remove orphaned domains from Active Directory

For more information about how to remove orphaned domain controller objects, click the following article number to view the article in the Microsoft Knowledge Base:

216498 How to remove data in Active Directory after an unsuccessful domain controller demotion

<div class="moreinformation_section">

MORE INFORMATION
After you promote the domain controller to a global catalog server, domain partitions in the forest will be replicated to the new global catalog server. When all partitions have successfully replicated to the new global catalog server, event ID 1119 will be logged in the Directory Services log on the domain controller. The event description states that the computer is now advertising itself as a global catalog server.

To confirm that the domain controller is a global catalog server, follow these steps: <ol> Click Start, click Run, type cmd, and then click OK.</li> Type nltest /dsgetdc:, and then press ENTER.</li> Verify that the server is advertising the &quot;GC&quot; (global catalog) flag. For example, when you type the command in step 2, you will receive a message that is similar to the following if the GC flag is present:

DC: \\

Address: \\

Dom Guid: 47bc7d87-309e-4a2a-bac3-c9866a66bab8

Dom Name:

Forest Name:

Dc Site Name: Default-First-Site-Name

Our Site Name: Default-First-Site-Name

Flags: PDC GC DS LDAP KDC TIMESERV WRITABLE DNS_FOREST CLOSE_SITE The command completed successfully

Note The Nltest tool is included with Windows 2000 Support Tools. To install Windows 2000 Support Tools, open the Support\Tools folder on the Windows 2000 startup disk, and then run the Setup program. You must log on as a member of the Administrators group to install these tools.</li></ol>

For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

842208 You cannot promote a Windows 2000-based domain controller to a global catalog server

889711 You cannot promote a Windows Server 2003-based domain controller to be a global catalog server

810089 Cannot promote new global catalog when conflict naming contexts exist

230306 How to remove orphaned domains from Active Directory

Keywords: kbfsmo kbtshoot kberrmsg kbprb KB910204

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.