Source: Service Control Manager
Event ID: 7023
The IsmServ service terminated with the following error:
The specified server cannot perform the requested operation.
This event includes the following data parameters:
- The param1 parameter value, IsmServ: This represents the Intersite Messaging service (ISMserv.exe).
- The param2 parameter value, 58: This maps to the ERROR_BAD_NET_RESP message ("The specified server cannot perform the requested operation").
To collect more information about this problem, you can configure LDAP Event Tracing for Windows (ETW) to run at system startup. (For details about how to do this, see More information.) After you restart the DC, you should see the following lines in the log:
[Microsoft-Windows-LDAP-Client/Debug] Message=LDAP connection 0xec4b08a8 successfully resolved 'localhost' using GetHostByName.
[Microsoft-Windows-LDAP-Client/Debug] Message=gethostbyname collected 2 records for 'dc1.contoso.com'
[Microsoft-Windows-LDAP-Client/Debug] Message=LdapParallelConnect called for connection 0xec4b08a8 with timeout 45 sec 0 usec. Total count is 2.
[Microsoft-Windows-LDAP-Client/Debug] Message=No response yet...
[Microsoft-Windows-LDAP-Client/Debug] Message=LdapParallelConnect finished for connection 0xec4b08a8. Time taken was 1 sec. Original timeout specified was 45 sec 0 usec.
[Microsoft-Windows-LDAP-Client/Debug] Message=LdapConnect failed to open connection 0xec4b08a8, error = 0x5b.
[Microsoft-Windows-LDAP-Client/Debug] Message=LdapConnect thread 0xce0 has connection 0xec4b08a8 as down.
In this event, the value of the error parameter (0x5b or 91) maps to the LDAP_CONNECT_ERROR message.
ISMServ depends on Active Directory Domain Services (AD DS). However, during system startup, ISMServ may try to create an LDAP connection to AD DS before AD DS finishes coming online. When this happens, the LDAP port (TCP port 389) is not available when ISMServ tries to connect. Because the port is not listening, ISMServ determines that the connection has failed without waiting for the connection time-out period (45 seconds). Therefore, ISMServ does not start.
To immediately work around this problem, manually restart ISMServ.
To avoid this problem in the future, use the Services and Applications MMC snap-in to change the Startup Type of ISMServ from Automatic to Automatic (Delayed Start).
To configure LDAP ETW, follow these steps:
- Use Registry Editor to create the following registry subkey:
- Open an elevated Command Prompt window, and run the following commands:
logman create trace "autosession\g_os" -ow -o c:\boot-ldap.etl -p "Microsoft-Windows-LDAP-Client" 0xffffffffffffffff 0xff -nb 16 16 -bs 1024 -mode Circular -f bincirc -max 4096 -etsreg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\g_os /v FileMax /t REG_DWORD /d 2 /F
- Restart the computer.
- After the computer starts, run the following command at an elevated command prompt:
logman stop "g_os" -ets
- When you finish collecting data, run the following command at an elevated command prompt to stop tracing:
logman delete "autosession\g_os" -et
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.