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

Document ID : KB000103344
Last Modified Date : 25/06/2018
Show Technical Document Details
Issue:
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  
Environment:
- UIM 8.5
- Windows 2008/2012/2012 R2
- snmptd 3.30 or any version
Cause:
Another service/process interferes with port 162.
Resolution:
- Stop (Disable) the snmptrap service in Windows.
- Restart the snmptd probe