Using Detailed Logging to Debug SNMP IssuesLast reviewed: March 26, 1997Article ID: Q149421 |
The information in this article applies to:
SUMMARYYou can obtain detailed SNMP debug information on Windows NT systems without attaching a debugger by using the checked build of SNMP.EXE.
MORE INFORMATIONUse the following steps to log detailed debug information to a log file (SNMPDBG.LOG) in the %SYSTEMROOT%\SYSTEM32 subdirectory, or to the system event log.
Sample Output Using /loglevel:20 /logtype:7Service: Debug log type changed to 7. Service: Begin initializing agent. agentConfigInit: entered. regconf: entered. vcConfig: entered. vcConfig: RegKey Opened OK. vcConfig: Calling RegEnumValue. vcConfig: value found - type :1 vcConfig: value found - name :1 vcConfig: value found - data:pigland vcConfig: memcpy called vcConfig: memcpy returned vcConfig: Calling RegEnumValue again. vcConfig: RegEnumValue returned NO_MORE_ITEMS vcConfig: calling RegCloseKey vcConfig: RegCloseKey returned vcConfig: exit. pmConfig: entered. pmConfig: exit. eaConfig: entered. eaConfig: value found (eakey) - type :1 eaConfig: value found (eakey) - name :1 eaConfig: value found (eakey) - data:SOFTWARE\Microsoft\LANManagerMIB2Agent\CurrentVersion eaConfig: value found (agent) - type :2 eaConfig: value found (agent) - name :Pathname eaConfig: value found (agent) - data:%SystemRoot%\System32\lmmib2.dll eaConfig: Pathname found (agent) eaConfig: ExpandEnvironmentStrings called %SystemRoot%\System32\lmmib2.dll eaConfig: ExpandEnvironmentStrings called %SystemRoot%\System32\lmmib2.dll eaConfig: ExpandEnvironmentStrings returned C:\WINNT35\System32\lmmib2.dll eaConfig: value found (eakey) - type :1 eaConfig: value found (eakey) - name :2 eaConfig: value found (eakey) - data:SOFTWARE\Microsoft\RFC1156Agent\CurrentVersion eaConfig: value found (agent) - type :2 eaConfig: value found (agent) - name :Pathname eaConfig: value found (agent) - data:%SystemRoot%\System32\inetmib1.dll eaConfig: Pathname found (agent) eaConfig: ExpandEnvironmentStrings called %SystemRoot%\System32\inetmib1.dll eaConfig: ExpandEnvironmentStrings called %SystemRoot%\System32\inetmib1.dll eaConfig: ExpandEnvironmentStrings returned C:\WINNT35\System32\inetmib1.dll eaConfig: value found (eakey) - type :1 eaConfig: value found (eakey) - name :3 eaConfig: value found (eakey) - data:SOFTWARE\Microsoft\DhcpMibAgent\CurrentVersion eaConfig: value found (agent) - type :2 eaConfig: value found (agent) - name :Pathname eaConfig: value found (agent) - data:%SystemRoot%\System32\dhcpmib.dll eaConfig: Pathname found (agent) eaConfig: ExpandEnvironmentStrings called %SystemRoot%\System32\dhcpmib.dll eaConfig: ExpandEnvironmentStrings called %SystemRoot%\System32\dhcpmib.dll eaConfig: ExpandEnvironmentStrings returned C:\WINNT35\System32\dhcpmib.dll eaConfig: value found (eakey) - type :1 eaConfig: value found (eakey) - name :4 eaConfig: value found (eakey) - data:SOFTWARE\Microsoft\WinsMibAgent\CurrentVersion eaConfig: value found (agent) - type :2 eaConfig: value found (agent) - name :Pathname eaConfig: value found (agent) - data:%SystemRoot%\System32\winsmib.dll eaConfig: Pathname found (agent) eaConfig: ExpandEnvironmentStrings called %SystemRoot%\System32\winsmib.dll eaConfig: ExpandEnvironmentStrings called %SystemRoot%\System32\winsmib.dll eaConfig: ExpandEnvironmentStrings returned C:\WINNT35\System32\winsmib.dll eaConfig: exit. tdConfig: entered. tdConfig: exit. regconf: exit. Init: Read registry parameters. error on ipx socket 10047 error on GetProcAddress(InitEx) 127 Init: Loaded/initialized 'C:\WINNT35\System32\lmmib2.dll'. Init: Dupping 4 - 'C:\WINNT35\System32\inetmib1.dll'. Init: Dupping 5 - 'C:\WINNT35\System32\inetmib1.dll'. Init: Dupping 6 - 'C:\WINNT35\System32\inetmib1.dll'. Init: Dupping 7 - 'C:\WINNT35\System32\inetmib1.dll'. Init: Dupping 8 - 'C:\WINNT35\System32\inetmib1.dll'. Init: Dupping 9 - 'C:\WINNT35\System32\inetmib1.dll'. Init: Loaded/initialized 'C:\WINNT35\System32\inetmib1.dll'. error on GetProcAddress(InitEx) 127 Init: Loaded/initialized 'C:\WINNT35\System32\dhcpmib.dll'. error on GetProcAddress(InitEx) 127 Init: Loaded/initialized 'C:\WINNT35\System32\winsmib.dll'. Init: Set-up UDP listen port (SNMP). error on IPX socket 10047 Init: created agentCommThread tid=0x76. agentCommThread entered agentCommThread in select Init: becoming agentTrapThread. Service: serviceHandlerFunction(dwControl=4). trapThread: event 1 set. trapThread: trap by extension agent 1. trapThread: trap by extension agent 1. trapThread: trap by extension agent 1. trapThread: event 1 set. trapThread: event 1 set. trapThread: event 1 set. trapThread: event 1 set. trapThread: event 1 set. trapThread: event 1 set. trapThread: event 1 set. trapThread: event 1 set. trapThread: event 1 set. trapThread: event 1 set. trapThread: event 1 set. Service: serviceHandlerFunction(dwControl=1). trapThread: event 0 set. trapThread: agentTrapThread exiting. Term: agentTrapThread returned. Term: comm thread in safe state for termination. Term: agentCommThread terminated. Service: Ending execution.
|
Additional query words: prodnt clever debugging tips
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |