This error can also happen when port 161 is already in use. Make sure it is not the case.
From: Simon Chamlian <simon.chaml...@mpbc.ca> Date: Friday, March 6, 2020 at 3:50 PM To: Larry Hayes <lhay...@gmail.com> Cc: Net-SNMP Coders <net-snmp-coders@lists.sourceforge.net>, net-snmp-users <net-snmp-us...@lists.sourceforge.net> Subject: Re: v5.8 - Error opening specified endpoint "" when I run your suggestion, I get: Error opening specified endpoint "udp:0.0.0.0:161<http://0.0.0.0:161>" On Fri, Mar 6, 2020 at 3:13 PM Larry Hayes <lhay...@gmail.com<mailto:lhay...@gmail.com>> wrote: Have you tried specifying the listening address, I know it's optional but... snmpd -c /home/user/my_snmpd.conf -Lf /tmp/snmpd_log.txt udp:0.0.0.0:161<http://0.0.0.0:161> On Thu, Mar 5, 2020 at 11:53 AM Simon Chamlian <simon.chaml...@mpbc.ca<mailto:simon.chaml...@mpbc.ca>> wrote: Hi, When I start snmpd agent, it exists with an error message: Error opening specified endpoint "" I start as root with: snmpd -c /home/user/my_snmpd.conf -Lf /tmp/snmpd_log.txt The config file my_snmpd.conf is very simple: createUser Simon MD5 "Simon-pass" rwuser Simon rocommunity public rwcommunity private This method used to work on other platforms but suddenly, I am getting the above error. I found a few mentions of this problem: https://sourceforge.net/p/net-snmp/mailman/message/36398374/ https://stackoverflow.com/questions/50054564/net-snmp-on-start-says-error-opening-specified-endpoint-in-raspberry-pi-j but they don't work. Any hint on what to do? Thx, S _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net<mailto:Net-snmp-coders@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders