SNMP Service Will Not Start with Event ID: 7024

Article translations Article translations
Article ID: 158770 - View products that this article applies to.
This article was previously published under Q158770
Expand all | Collapse all

SYMPTOMS

The SNMP service fails to start and displays the following message:
EVENT ID: 7024
Description: The SNMP Service terminated with service specific error 3.

CAUSE

One possible cause of this error is that another application may be binding to the same port as the SNMP Service. An easy way to determine if this is the problem is to change the port number that the SNMP service binds to. If this resolves the issue look, for any third-party applications that may be using the same port number.
  1. Change to the %SystemRoot%\System32 subdirectory.
  2. Rename the SNMP.exe in your %SystemRoot%\System32 subdirectory to Snmp.fre.
  3. Copy the checked build of Snmp.exe file to your %SystemRoot%\System32 subdirectory.
  4. 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
For example,
   # 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.

MORE INFORMATION

One method to determine if a service is using the same port as SNMP is to execute Netstat.exe from a command prompt using the following syntax:
netstat -an

Properties

Article ID: 158770 - Last Review: February 27, 2007 - Revision: 2.2
APPLIES TO
  • 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
Keywords: 
kbsnmp kbnetwork KB158770

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com