snmpd fails to start because it tries to bind a port twice
In Alpine Edge, snmpd fails to start, because it tries to bind the port twice. I attached a strace output which were generated by starting snmpd in the terminal:
$ strace -o snmptrace snmpd -Le
I think the relevant lines are 2163 and 2258
[2163] bind(9, {sa_family=AF_INET, sin_port=htons(161), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
...
[2258] bind(8, {sa_family=AF_INET, sin_port=htons(161), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EADDRINUSE (Address in use)
Seems not consistent to me. I attached my config, too.
(from redmine: issue id 9723, created on 2018-12-03)
- Uploads:
- snmptrace.txt strace of the snmpd start
- snmpd.conf snmpd configuration