Snmp error install

Hi,

Snmpd is already on echec. I’ve tried dpkg-reconfigure && also trying to reinstall for fix it. But no solution… Can you help me ? :slight_smile:
`
root@cyprius ~ # systemctl status snmpd.service
● snmpd.service - LSB: SNMP agents
Loaded: loaded (/etc/init.d/snmpd)
Active: failed (Result: exit-code) since Wed 2017-11-15 13:17:52 CET; 12s ago

Nov 15 13:17:52 cyprius.fr snmpd[1711]: Created directory: /var/lib/snmp/mib_indexes
Nov 15 13:17:52 cyprius.fr snmpd[1711]: /etc/snmp/snmpd.conf: line 145: Warning: Unknown token: defaultMonitors.
Nov 15 13:17:52 cyprius.fr snmpd[1711]: /etc/snmp/snmpd.conf: line 147: Warning: Unknown token: linkUpDownNotifications.
Nov 15 13:17:52 cyprius.fr snmpd[1711]: Turning on AgentX master support.
Nov 15 13:17:52 cyprius.fr snmpd[1711]: Error opening specified endpoint "udp:127.0.0.1:161"
Nov 15 13:17:52 cyprius.fr snmpd[1711]: Server Exiting with code 1
Nov 15 13:17:52 cyprius.fr snmpd[1693]: Starting SNMP services::
Nov 15 13:17:52 cyprius.fr systemd[1]: snmpd.service: control process exited, code=exited status=1
Nov 15 13:17:52 cyprius.fr systemd[1]: Failed to start LSB: SNMP agents.
Nov 15 13:17:52 cyprius.fr systemd[1]: Unit snmpd.service entered failed state.
`

EDIT

root@cyprius ~ # apt-get -f install
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
[master edf353c] saving uncommitted changes in /etc prior to apt run
2 files changed, 2 insertions(+), 2 deletions(-)
Setting up snmpd (5.7.2.1+dfsg-1) …
Job for snmpd.service failed. See ‘systemctl status snmpd.service’ and ‘journalctl -xn’ for details.
invoke-rc.d: initscript snmpd, action “start” failed.
dpkg: error processing package snmpd (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
snmpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@cyprius ~ # journalctl -xn
– Logs begin at Tue 2017-11-07 12:29:28 CET, end at Wed 2017-11-15 13:46:07 CET. –
Nov 15 13:46:06 cyprius.fr imap[10140]: antispam: “Trash” is exact match trash folder
Nov 15 13:46:06 cyprius.fr imap[10140]: antispam: pipe backend spam argument = learn_spam
Nov 15 13:46:06 cyprius.fr imap[10140]: antispam: pipe backend not-spam argument = learn_ham
Nov 15 13:46:06 cyprius.fr imap[10140]: antispam: pipe backend program = /usr/bin/rspamc
Nov 15 13:46:06 cyprius.fr imap[10140]: antispam: pipe backend program arg[0] = -h
Nov 15 13:46:06 cyprius.fr imap[10140]: antispam: pipe backend program arg[1] = localhost:11334
Nov 15 13:46:06 cyprius.fr imap[10140]: antispam: pipe backend program arg[2] = -P
Nov 15 13:46:06 cyprius.fr imap[10140]: antispam: pipe backend program arg[3] = q1
Nov 15 13:46:07 cyprius.fr imap[10140]: antispam: pipe backend tmpdir /tmp
Nov 15 13:46:07 cyprius.fr dovecot[1729]: imap(cyprien): Disconnected: Logged out in=121 out=1048
root@cyprius ~ # imap[10140]: antispam: “Trash” is exact match trash folder