snmpd service fails to start
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,mteTrigge
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.
netsnmp_udpbase: VRF: Bound socket 6 to
netsnmp_udpbase: set IP_PKTINFO
netsnmp_udpbase: binding socket: 6 to UDP: [0.0.0.
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,mteTrigge
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.
netsnmp_udpbase: VRF: Bound socket 6 to
netsnmp_udpbase: set IP_PKTINFO
netsnmp_udpbase: binding socket: 6 to UDP: [0.0.0.
netsnmp_udpbase: failed to bind for clientaddr: 98 Address already in use
NET-SNMP version 5.9
^CReceived TERM or STOP signal... shutting down...
```