snmpd service fails to start

Bug #1983765 reported by Alex Rosenberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raspbian
New
Undecided
Unassigned

Bug Description

Did a boring install via apt on Raspbian. snmpd.conf has a lone: `agentaddress udp:192.68.0.247` directive but does not work:
```
$ sudo snmpd -Dnetsnmp_udpbase -LOd -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf -f -p /run/snmpd.pid
registered debug token netsnmp_udpbase, 1
pcilib: Cannot open /proc/bus/pci
Log handling defined - disabling stderr
pcilib: Cannot find any working access method.
pcilib: pci_init failed
Turning on AgentX master support.
netsnmp_udpbase: open local UDP: [192.168.0.247]:161->[0.0.0.0]:0
netsnmp_udpbase: VRF: Bound socket 6 to
netsnmp_udpbase: set IP_PKTINFO
netsnmp_udpbase: binding socket: 6 to UDP: [0.0.0.0]:0->[192.168.0.247]:161
netsnmp_udpbase: failed to bind for clientaddr: 98 Address already in use
Error opening specified endpoint "udp:192.168.0.247"
Server Exiting with code 1
```

Commenting out the agentaddress still complains, but does run (until the ctrl-C):
```
$ sudo snmpd -Dnetsnmp_udpbase -LOd -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf -f -p /run/snmpd.pid
registered debug token netsnmp_udpbase, 1
pcilib: Cannot open /proc/bus/pci
Log handling defined - disabling stderr
pcilib: Cannot find any working access method.
pcilib: pci_init failed
Turning on AgentX master support.
netsnmp_udpbase: open local UDP: [0.0.0.0]:161->[0.0.0.0]:0
netsnmp_udpbase: VRF: Bound socket 6 to
netsnmp_udpbase: set IP_PKTINFO
netsnmp_udpbase: binding socket: 6 to UDP: [0.0.0.0]:0->[0.0.0.0]:161
netsnmp_udpbase: failed to bind for clientaddr: 98 Address already in use
NET-SNMP version 5.9
^CReceived TERM or STOP signal... shutting down...
```

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.