SNMP Service Will Not Start with Event ID: 7024

ID: Q158770


The information in this article applies to:
  • Microsoft Windows NT 3.1
  • Microsoft Windows NT Advanced Server, version 3.1
  • Microsoft Windows NT Workstation versions 3.5, 3.51
  • Microsoft Windows NT Server versions 3.5, 3.51, 4.0
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server


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.

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 Windows NT System32\Drivers\Etc directory. 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

Additional query words:

Keywords : kbnetwork kbSDKPlatform kbSNMP ntnetserv NTSrvWkst kbGrpNet
Version : WINDOWS:2000; winnt:3.1,3.5,3.51,4.0; :3.1
Platform : WINDOWS winnt
Issue type :


Last Reviewed: January 21, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.