如何激活snmpd.service?

时间:2018-10-18 13:36:08

标签: ubuntu snmpd

我安装了net-snmp,snmpd,snmp。我遵循了这些指南:

我收到此错误:

systemctl status snmpd

● snmpd.service
   Loaded: error (Reason: Invalid argument)
   Active: inactive (dead)

bkn systemd[1]: [/etc/systemd/system/snmpd.service:11] Assignment outside of section. Ignoring.
bkn systemd[1]: snmpd.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
bkn systemd[1]: [/etc/systemd/system/snmpd.service:5] Assignment outside of section. Ignoring.

bkn systemd[1]: [/etc/systemd/system/snmpd.service:5] Assignment outside of section. Ignoring.
bkn systemd[1]: [/etc/systemd/system/snmpd.service:8] Assignment outside of section. Ignoring.
bkn systemd[1]: [/etc/systemd/system/snmpd.service:11] Assignment outside of section. Ignoring.
bkn systemd[1]: snmpd.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.

我该如何解决?

0 个答案:

没有答案