Tech for Techs

Operating Systems => Windows 2008 & 2008 R2 Server => Topic started by: Adventech on January 11, 2015, 10:13:29 PM

Title: How to bring online a domain controller (DC) that was offline for an extended am
Post by: Adventech on January 11, 2015, 10:13:29 PM
PROBLEM:
How to bring online a domain controller (DC) that was offline for an extended amount of time?

ActiveDirectory_DomainService 1865 "The Knowledge Consistency Checker (KCC) was unable to form a complete spanning tree network topology. As a result, the following list of sites cannot be reached from the local site."

ActiveDirectory_Domain_Service 1311 "The Knowledge Consistency Checker (KCC) has detected problems with the following directory partition."

ActiveDirectory_Domain_Service 1566 "All directory servers in the following site that can replicate the directory partition over this transport are currently unavailable."

DNS-Server-Service 4013 "The DNS server is waiting for Active Directory Domain Services (AD DS) to signal that the initial synchronization of the directory has been completed."
Above and beyond these issues using the portqry.exe tool I was able to figure out that the server was not listening on any of the relevant domain controller ports, TCP 137-139 or UDP port 53.

TROUBLE SHOOTING

Repadmin /syncall /AdePq
Repadmin /replsum
Repadmin /kcc *
Dcdiag /test:Connectivity

SOLUTION:

1.) Open "Sites and Services", and move the problem DC into a site with a working DC.
2.) Open an Administrative Command Prompt (CMD running as Admin).
3.) Run the following commands.

repadmin /kcc *
repadmin /syncall.