SNMPD v5.8 Error opening specified endpoint

Martin Frlin <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAMgiKow_HVZO00L+nzCXNQSxq_MwZ_z6qJ-3nRGCmOu7Y-D80w@mail.gmail.com>
If you have line:
trapsink     localhost public
in your config v5.8 fails to start. Meanwhile v5.3 starts with no problems.

Am I missing something or is this a bug?.

This output was generated using exactly the same config
v5.8
# snmpd -Dnetsnmp_udpbase -Lo -f
registered debug token netsnmp_udpbase, 1
Log handling defined - disabling stderr
netsnmp_udpbase: open remote UDP: [127.0.0.1]:162->[0.0.0.0]:0
netsnmp_udpbase: binding socket: 9 to UDP: [0.0.0.0]:0->[127.0.0.1]:161
netsnmp_udpbase: socket 9 bound to UDP: [127.0.0.1]:162->[127.0.0.1]:161
Turning on AgentX master support.
netsnmp_udpbase: open local UDP: [127.0.0.1]:161->[0.0.0.0]:0
netsnmp_udpbase: set IP_PKTINFO
netsnmp_udpbase: binding socket: 8 to UDP: [0.0.0.0]:0->[127.0.0.1]:161
netsnmp_udpbase: failed to bind for clientaddr: 98 Address already in use
Error opening specified endpoint "udp:127.0.0.1:161"
Server Exiting with code 1


v5.3
# snmpd -Dnetsnmp_udpbase -Lo -f
registered debug token netsnmp_udpbase, 1
Log handling defined - disabling stderr
netsnmp_udpbase: open remote UDP: [127.0.0.1]:162->[0.0.0.0]:0
netsnmp_udpbase: client open UDP: [127.0.0.1]:162->[0.0.0.0]:0
Turning on AgentX master support.
netsnmp_udpbase: open local UDP: [127.0.0.1]:161->[0.0.0.0]:0
netsnmp_udpbase: set IP_PKTINFO

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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.