RE: Why do I have to start snmpd twice to get USM to work?
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC0B9A284F@mailserver.metatv-ds.metatv.com> |
> From: Anthony Wright [mailto:[email protected]] > Sent: Thursday, April 16, 2009 12:43 PM > If I have a manually generated snmpd.conf but no > automatically generated > snmpd.conf (with the modified usmUser records) I think you meann that you have an snmpd conf file (/usr/local/snmp/etc/snmpd.conf) but no persistent data file (/var/snmp/snmpd.conf). > when I start snmpd all > requests to the server that use USM authentication timeout. If I stop > snmpd & restart it without changing a thing the requests now complete > successfully. The only difference is that the second time around the > automatically generated snmpd.conf exists. How are you configuring your USM user? Dollars to donuts you're putting createUser commands in the snmpd conf file instead of the persistent data file. > Is there a good reason for this, or is this a bug? (I think > it's a bug, > but I'm really struggling to get my head around USM authentication). I suspect misconfiguration. From the manual concerning createUser: [SNIP] Instead of figuring out how to use this directive and where to put it (see below), just run "net-snmp-config --create- snmpv3-user" instead, which will add one of these lines to the right place. [/SNIP] Sound advice. HTH, Mike ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users