|
From: Paul P. <Pau...@ds...> - 2009-03-18 05:28:54
|
Hi - I'm trying to talk to an APC power rail: using NET-SNMP version 5.3.0.1 snmpwalk -v 3 -u myuser -l authNoPriv -a MD5 -A myuserpowermyuserapc -c public 10.10.4.113 I recieve snmpwalk: Unknown user name I also get this every 30 seconds: error on subcontainer 'ia_addr' insert (-1) error on subcontainer 'ia_addr' insert (-1) error on subcontainer 'ia_addr' insert (-1) error on subcontainer 'ia_addr' insert (-1) error on subcontainer 'ia_addr' insert (-1) error on subcontainer 'ia_addr' insert (-1) error on subcontainer 'ia_addr' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) I have set up the user on the server thusly: # net-snmp-config --create-snmpv3-user -a "aoscpoweruserapc" aoscpower adding the following line to /var/net-snmp/snmpd.conf: createUser myuser MD5 "myuserpowermyuserapc" DES adding the following line to /usr/local/share/snmp/snmpd.conf: rwuser myuser all files have the lines specified. I start the daemon: snmpd -f -Le -Dread_config -Dusm & and get: read_config: /var/lib/net-snmp/snmpd.conf:1 examining: createUser myuser MD5 "myuserpowermyuserapc" DES read_config: Found a parser. Calling it: createUser / myuser MD5 "aoscpoweruserapc" DES usmUser: created a new user myuser but later get: (don't know if significant) read_config: /var/lib/net-snmp/snmp.local.conf: No such file or directory net-snmp: 1 error(s) in config file(s) read_config: storing: # # net-snmp (or ucd-snmp) persistent data file. # ############################################################################ # STOP STOP STOP STOP STOP STOP STOP STOP STOP # # **** DO NOT EDIT THIS FILE **** # # STOP STOP STOP STOP STOP STOP STOP STOP STOP ############################################## etc etc .. IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. |