This article was previously published under Q158770
This article has been archived. It is offered "as is" and will no longer be updated.
The SNMP service fails to start and displays the following message:
EVENT ID: 7024 Description: The SNMP Service terminated with service specific error 3.
One possible cause of this error is that another application may be bindingto the same port as the SNMP Service. An easy way to determine if this isthe problem is to change the port number that the SNMP service binds to. Ifthis resolves the issue look, for any third-party applications that may beusing the same port number.
Change to the %SystemRoot%\System32 subdirectory.
Rename the SNMP.exe in your %SystemRoot%\System32 subdirectory to Snmp.fre.
Copy the checked build of Snmp.exe file to your %SystemRoot%\System32 subdirectory.
From a command prompt type the following:
NET START SNMP /loglevel:20 /logtype:7
NOTE: For Windows NT 4.0, use the following line to start the SNMP service:
NET START SNMP /loglevel:5 /logtype:2
To change the port number that the SNMP service binds to, use a text editor(such as Notepad.exe) to edit the Services file located in the Windows System32\Drivers\Etc folder.
The default ports in the services file are:
snmp 161/udp snmp snmp 162/udp snmp-trap
For testing purposes change to:
snmp 165/udp snmp snmp-trap 166/udp snmp
# Copyright (c) 1993-1994 Microsoft Corp. # # This file contains port numbers for well-known services as defined by # RFC 1060 (Assigned Numbers). # # Format: # # <service name> <port number>/<protocol> [aliases...] [#<comment>] # snmp 165/udp snmp snmp-trap 166/udp snmp
NOTE: Remember to change the values back after you are done testing.
One method to determine if a service is using the same port as SNMP is toexecute Netstat.exe from a command prompt using the following syntax:
Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition, Microsoft Windows 2000 Datacenter Server, Microsoft Windows NT Advanced Server 3.1, Microsoft Windows NT Server 3.5, Microsoft Windows NT Server 3.51, Microsoft Windows NT Server 4.0 Standard Edition, Microsoft Windows NT Workstation 3.1, Microsoft Windows NT Workstation 3.5, Microsoft Windows NT Workstation 3.51, Microsoft Windows NT Advanced Server 3.1