Re: v5.8 - Error opening specified endpoint ""
Krishna Chaitanya <[email protected]>
| Newsgroups | gmane.network.net-snmp.devel,gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CABPxzYKQMZzt-BTYcWvwtiKwvCGLoYn_6t5nGRhvh0_xbdpAJg@mail.gmail.com> |
Can you try running without '-c <config_file>' option? If you see using 'strace' snmpd default starts listening on udp:161 and then reads the config file and tries to listen to the same udp:161 which causes issues and once you kill snmpd both of them are gone, hence not seen in netstat. On Mon, Mar 9, 2020 at 11:01 PM Schmoll Walter <[email protected]> wrote: > > Hi, > > > > I’m not sure, but are UDP ports ever listening? I don’t think so. > > Why not try something like > > netstat –aupn | grep 161 > > ? > > > > But I’m just guessing. > > > > > > > > From: Simon Chamlian [mailto:[email protected]] > Sent: Monday, 9. March 2020 14:36 > To: David Moriconi (dmoricon) <[email protected]> > Cc: net-snmp-users <[email protected]>; Net-SNMP Coders <[email protected]> > Subject: Re: v5.8 - Error opening specified endpoint "" > > > > NON-ANDRITZ SOURCE: BE CAUTIOUS WITH CONTENT, LINKS OR ATTACHMENTS. > > 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" > > > > > > > > ________________________________ > > This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system. > > ANDRITZ HYDRO GmbH > > > Rechtsform/ Legal form: Gesellschaft mit beschränkter Haftung / Corporation > > Firmensitz/ Registered seat: Wien > > Firmenbuchgericht/ Court of registry: Handelsgericht Wien > > Firmenbuchnummer/ Company registration: FN 61833 g > > DVR: 0605077 > > UID-Nr.: ATU14756806 > > > Thank You > ________________________________ > _______________________________________________ > Net-snmp-coders mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders -- Thanks, Regards, Chaitanya T K. _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders