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

Simon Chamlian <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <CANmTPBYccD6Wfw4Hxr4PYvk_yAsoRuOvw5+kZfhe4rY+urrVnQ@mail.gmail.com>
It is not the case!

# netstat -tulpn | grep LISTEN
tcp        0      0 0.0.0.0:36847           0.0.0.0:*               LISTEN
     248/rpc.statd
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN
     238/rpcbind
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN
     246/vsftpd
tcp        0      0 0.0.0.0:5355            0.0.0.0:*               LISTEN
     232/systemd-resolve
tcp6       0      0 :::111                  :::*                    LISTEN
     238/rpcbind
tcp6       0      0 :::80                   :::*                    LISTEN
     530/httpd
tcp6       0      0 :::22                   :::*                    LISTEN
     1/init
tcp6       0      0 :::55423                :::*                    LISTEN
     248/rpc.statd
tcp6       0      0 :::5355                 :::*                    LISTEN
     232/systemd-resolve
#


# cat /etc/services | grep 161
snmp 161/tcp # Simple Net Mgmt Protocol
snmp 161/udp
#








On Fri, Mar 6, 2020 at 4:30 PM David Moriconi (dmoricon) <[email protected]>
wrote:

> 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"
>
>
>
>
>
>
>
> On Fri, Mar 6, 2020 at 3:13 PM Larry Hayes <[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
>
>
>
> On Thu, Mar 5, 2020 at 11:53 AM Simon Chamlian <[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]
> 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.