snmptd: Error, EXIT THREAD, select returned error (2), port 162

book

Article ID: 103344

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

The snmptd probe throws an error when the probe starts.

 
When the Microsoft Windows snmptrap service (snmptrap.exe), is up and running and then you start the snmptd probe, you get an error in the snmptd.log:

Jun 25 17:30:24:547 [9956] snmptd: SNMP Trap Daemon thread started, port 162
Jun 25 17:30:24:547 [9956] snmptd: Error, EXIT THREAD, select returned error (2), port 162
Jun 25 17:30:24:547 [9956] snmptd: SNMP Trap Daemon thread stopped, port 162  

Cause

Another service/process interferes with port 162.

Environment

- UIM 8.5
- Windows 2008/2012/2012 R2
- snmptd 3.30 or any version

Resolution

- Stop (Disable) the snmptrap service in Windows.
- Restart the snmptd probe