Microsoft KB Archive/242121

{|
 * width="100%"|

-

The information in this article applies to:


 * Microsoft Windows NT Server version 4.0

-

SYMPTOMS
In a Microsoft Windows NT 4.0-based domain, you may receive the following error message on a backup domain controller:

Event ID 5719

No Windows NT Domain Controller is available for domain.

The following error occurred: RPC server is unavailable.

CAUSE
This behavior can occur if the 1Ch (domain controller) and 1Bh (domain master browser) NetBIOS entries for the primary domain controller (PDC) are missing or are not properly registered in Windows Internet Name Service (WINS).

RESOLUTION
To resolve this issue, create an LMHOSTS file that contains 1Ch and 1Bh entries on each backup domain controller, and then purge and reload the name cache. Import static mappings from the LMHOSTS file to the WINS database, and then replicate the changes to the WINS replication partners.

To do this, follow these steps:

On each backup domain controller, create an LMHOSTS file that contains the 1Ch and 1Bh entries for the PDC. For example, the PDC of the domain Gotham has the NetBIOS name Batman. Batman is using the Internet Protocol (IP) address 185.124.60.10. Include the following lines in the LMHOSTS file on each of your backup domain controllers:  185.124.60.10     Batman   #PRE   #DOM:Gotham 185.124.60.10    Gotham         \0x1c    #PRE 185.124.60.10    Gotham         \0x1b    #PRE Correct spacing of these entries is imperative. Replace 185.124.60.10 with the IP address of your PDC, Batman with the NetBIOS name of your PDC, and Gotham with your Windows NT domain name. There must be a total of 20 characters within the quotation marks (the domain name plus the appropriate number of spaces to pad up to 15 characters plus the backslash (\) plus the NetBIOS hex representation of the service type). To help determine where the sixteenth character is, copy the following line to your LMHOSTS file:  # IP Address    123456789012345*7890 Line up the double quotation marks ('') by adding or removing spaces from the comment line, and place the backslash at the sixteenth column (marked with the asterisk). You must use spaces between the name and the backslash; do not use the TAB key.

On each backup domain controller, run the nbtstat -R command to purge and reload the local name cache.

Import the static mappings from the LMHOSTS file to the WINS database. To do this, follow these steps:

 Open WINS Manager, and then select the WINS server from the list. On the Mappings menu, click Static Mappings. Click Import Mappings. Select the LMHOSTS file, which is located in the \Winnt\System32\Drivers\Etc folder. Click Open. Click OK when the static mappings have been imported to the database. Click Close.</li> Replicate the changes to the server's WINS replication partners by using the Replicate Now option.</li></ol>

Additional query words: NT 4.0 wins event

Keywords         : nt 4.0 Event Version          : winnt:4.0 Platform         : winnt Issue type       : kbprb
 * }