{"id":54,"date":"2017-10-10T06:40:00","date_gmt":"2017-10-10T06:40:00","guid":{"rendered":"https:\/\/linuxadmin.melberi.com\/uncategorized\/error-bad-security-model-any-should-be"},"modified":"2017-10-10T07:15:34","modified_gmt":"2017-10-10T07:15:34","slug":"error-bad-security-model","status":"publish","type":"post","link":"https:\/\/www.melberi.com\/linuxadmin\/snmp\/error-bad-security-model","title":{"rendered":"Error: bad security model &#8220;any&#8221; should be: v1, v2c, usm"},"content":{"rendered":"<p>While starting the SNMP service, following error message displayed :Error: bad security model &#8220;any&#8221; should be: v1, v2c, usm or a registered security plugin name<\/p>\n<h3 style=\"text-align: left;\"><u>Error Message:<\/u><\/h3>\n<p>\/etc\/snmp\/snmpd.conf: line 78: Error: bad security model &#8220;any&#8221; should be: v1, v2c, usm or a registered security plugin name &#8211; installing anyway<br \/>\n: \/etc\/snmp\/snmpd.conf: line 79: Error: bad security model &#8220;any&#8221; should be: v1, v2c, usm or a registered security plugin name &#8211; installing anyway<br \/>\n: \/etc\/snmp\/snmpd.conf: line 93: Error: bad prefix match parameter &#8220;0&#8221;, should be: exact or prefix &#8211; installing anyway<br \/>\n: \/etc\/snmp\/snmpd.conf: line 94: Error: bad prefix match parameter &#8220;0&#8221;, should be: exact or prefix &#8211; installing anyway<br \/>\n: net-snmp: 4 error(s) in config file(s)<\/p>\n<h3 style=\"text-align: left;\"><u>Solution:<\/u><\/h3>\n<p>Replace<br \/>\n<strong>group MyRWGroup \u00a0any \u00a0 \u00a0 local<\/strong><br \/>\n<strong> group MyROGroup \u00a0any \u00a0 \u00a0 \u00a0mynetwork<\/strong><\/p>\n<div>with<\/div>\n<div>\n<div><strong>group MyRWGroup \u00a0v2c \u00a0 \u00a0 \u00a0 \u00a0local<\/strong><\/div>\n<div><strong>group MyROGroup \u00a0v2c \u00a0 \u00a0 \u00a0 mynetwork<\/strong><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>While starting the SNMP service, following error message displayed :Error: bad security model &#8220;any&#8221; should be: v1, v2c, usm or a registered security plugin name Error Message: \/etc\/snmp\/snmpd.conf: line 78:&#8230; <a href=\"https:\/\/www.melberi.com\/linuxadmin\/snmp\/error-bad-security-model\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[124],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/54"}],"collection":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":4,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":644,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/54\/revisions\/644"}],"wp:attachment":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}