Re: v5.8 - Error opening specified endpoint ""

"David Moriconi \(dmoricon\) via Net-snmp-coders" <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <[email protected]>
This error can also happen when port 161 is already in use. Make sure it is not the case.

From: Simon Chamlian <[email protected]>
Date: Friday, March 6, 2020 at 3:50 PM
To: Larry Hayes <[email protected]>
Cc: Net-SNMP Coders <[email protected]>, net-snmp-users <[email protected]>
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 <[email protected]<mailto:[email protected]>> 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 <[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.