Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: The SNA Host Account Cache service and the SNA WinNT Account Synchronization service may not start automatically when you restart a domain controller that is running Windows Server 2003


View products that this article applies to.

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 (http://support.microsoft.com/kb/256986/) Description of the Microsoft Windows registry

↑ Back to the top


Symptoms

The SNA Host Account Cache (SnaDatabase) service and the SNA WinNT Account Synchronization (SnaPMP) service are installed by the Microsoft Host Integration Server 2000 Setup program on a domain controller that is running Microsoft Windows Server 2003. When you restart this domain controller, the SnaDatabase service and the SnaPMP service may not start automatically. When this problem occurs, events that are similar to the following may be logged in the Application log:

Event Type: Information
Event Source: SNA Host Security
Event ID: 42
Description:
This Windows NT Account Synchronization service is not the primary, service terminated normally. Only the primary Windows NT Account Synchronization service can be active in an NT domain.

ACTION No action is necessary. This event is normal on machines that have been configured to run a backup copy of the Windows NT Account Synchronization service.

Event Type: Information
Event Source: SNA Host Security
Event ID: 1325
Description:
Host Integration Server Host Account Cache Stopped.

Additionally, an event that is similar to the following may be logged in the System log:

Event Type: Error
Event Source: Service Control Manager
Event ID: 7024
Description:
The SNA Host Account Cache service terminated with service-specific error 2147500036 (0x80004004).

↑ Back to the top


Cause

The SnaDatabase service and the SnaPMP service do not start when the NetGetDCName function call returns an error. The NetGetDCName function call is used to locate the primary domain controller (PDC) emulator for the Microsoft Windows domain.

This problem may occur when the Windows Server 2003 Net Logon service enters a paused state during the directory service startup. During this time, the domain controller responds to netlogon ping requests with a "netlogon paused" response. This may cause the NetGetDCName function call to return an error.

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Host Integration Server 2000 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
File nameFile versionFile sizeDateTimePlatformSP requirement
Hsdbrepl.dll5.0.0.2082119,05607-Nov-200519:25x86SP3
Snapmp.exe5.0.0.2082143,63207-Nov-200519:25x86SP3
Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

After you apply this hotfix, you can configure the SnaDatabase service and the SnaPMP service to retry the NetGetDCName function call. This lets the SnaDatabase service and the SnaPMP service start automatically when you restart the domain controller that is running Windows Server 2003.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To specify the number of times that you want the SnaDatabase service and the SnaPMP service to retry the NetGetDCName function call and the delay between each attempt, you must configure the following registry entries. To do this, follow these steps:
1.Click Start, click Run, type regedit, and then click OK.
2.Locate the following subkey in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SNA Server\CurrentVersion\HostSecurity
3.Right-click HostSecurity, point to New, and then click Key.
4.Type NetGetDcName, and then press ENTER.
5.Right-click NetGetDcName, point to New, and then click DWORD Value.
6.Type RetryCount, and then press ENTER.
7.Double-click RetryCount, type the number of attempts that you want in the Value data box, and then click OK.

Note By default, Hexadecimal is selected for the Base value. If you want to enter the value in decimal, click Decimal.
8.Right-click NetGetDcName, point to New, and then click DWORD Value.
9.Type RetryDelayInSec, and then press ENTER.
10.Double-click RetryDelayInSec, type the number of seconds that you want between each attempt in the Value data box, and then click OK.

Note By default, Hexadecimal is selected for the Base value. If you want to enter the value in decimal, click Decimal.
11.Quit Registry Editor.
12.Stop and then restart the SnaDatabase service and the SnaPMP service.
If the RetryCount entry and the RetryDelayInSec entry do not exist, the default values are used. The default value for the RetryCount entry is one. The default value for the RetryDelayInSec entry is 5 seconds.

If the RetryCount entry is set to five and the RetryDelayInSec entry is set to 30 seconds, the SnaDatabase service and the SnaPMP service each retry the NetGetDCName function call one time every 30 seconds until the call succeeds or until the SnaDatabase service and the SnaPMP service have each made five attempts. In this example, the maximum time during the retry sequence is 150 seconds.

Typically, the SnaPMP service is installed on all the domain controllers in the Windows domain that contain the user accounts that use the Host Integration Server 2000 host security features. When the SnaPMP service initializes, the SnaPMP service calls the NetGetDCName function to determine which domain controller holds the PDC emulator operations master role in the domain. This information is required because the SnaPMP service only runs on the PDC emulator in a Windows 2000 domain or in a Windows Server 2003 domain. The SnaPMP service stops the initialization on all the other domain controllers on which the SnaPMP service is installed when the SnaPMP service detects that the local domain controller is not the PDC emulator.

Event ID 42 is a typical event that occurs when the SnaPMP service detects that the local domain controller is not the PDC emulator. The problem that is described in this article occurs when the SnaPMP service does not start automatically when you restart a Windows Server 2003 PDC emulator.

Typically, the SnaDatabase service is installed on multiple servers in a Windows domain. This includes domain controllers and member servers. The SnaDatabase service can successfully run on multiple servers at the same time. This allows for multiple backup Host Account Cache databases and one primary Host Account Cache database. The primary Host Account Cache service and the primary Host Account Cache database run on the PDC emulator. That is why the NetGetDCName function is called. The SnaDatabase service must determine which domain controller holds the PDC emulator operations master role so that the SnaDatabase service initializes in the master role.

If you use Host Integration Server 2000 Trace Initiator (Snatrace.exe) to capture the SnaDatabase service and the SnaPMP service trace when this problem occurs, trace data that is similar to the following is included in the resulting trace files.

Pmpint1.atf: SNA WinNT Account Synchronization internal trace file

[Data omitted for brevity]
About Get PMP primary role status
Checking if this machine is the PDC 	
WeAreThePdc: Local machine is <Computer Name>
WeAreThePdc: NetGetDcNameFailed, error 995
This is not PDC, set to SECONDARY
This PMP is not primary. Operation halted
[Data omitted for brevity]

Udbint1.atf: SNA Host Account Cache internal trace file

[Data omitted for brevity]
Share D:\Program Files\Host Integration Server\system\hsdata\Logs as SnaUdb
Share UdbLogs already exists
Requested Access: 100009h
Found a matching ACE
User already has access to share
Failed to grant admins access to share UdbLogs, hr = 8007054Bh
Unable to start LogShipping, abort
UdbWorkThread exit with code: 2147500036
Error occured, singal termination event
Termination Event signaled, set service status to pending
[Data omitted for brevity]
Note In this trace file, the word "occured" is a misspelling for the word "occurred," and the word "singal" is a misspelling for the word "signal."

↑ Back to the top


References

For more information about Host Integration Server 2000 security features, click the following article numbers to view the articles in the Microsoft Knowledge Base:
175063 Host Security Integration setup and architectural overview
832215 You receive event ID 1097 and event ID 1030 error events when you restart a Windows Server 2003-based domain controller
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: KB909446, kbhotfixserver, kbpubtypekc, kbqfe, kbhis2000, kbfix, kbbug

↑ Back to the top

Article Info
Article ID : 909446
Revision : 3
Created on : 7/26/2006
Published on : 7/26/2006
Exists online : False
Views : 293