You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ sudo libtool --mode=execute gdb ./agent/snmpd
<snip>
(gdb) break snmpusm.c:4210
Breakpoint 1 at 0x7ffff5e7555d: file snmpusm.c, line 4210.
(gdb) r -M mibs/ -fd -LO6 -C -c /etc/snmp/snmpd.conf -c /var/lib/snmp/snmpd.conf -I -smux,mteTrigger,mteTriggerConf
<snip>
/var/lib/snmp/snmpd.conf: line 49: Warning: Unknown token: ifXTable.
/var/lib/snmp/snmpd.conf: line 50: Warning: Unknown token: ifXTable.
Error: passphrase chosen is below the length requirements of the USM (min=8).
/var/lib/snmp/snmpd.conf: line 56: Error: could not generate the authentication key from the supplied pass phrase.
Warning: no access control information configured.
(Config search path: /usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/root/.snmp)
It's unlikely this agent can serve any useful purpose in this state.
Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for this agent.
Breakpoint 1, usm_save_user (user=0x6110000138c0, token=0x7ffff5f26840 "usmUser", type=0x6020000007f0 "snmpd") at snmpusm.c:4210
4210 read_config_save_objid(cptr, user->cloneFrom, user->cloneFromLen);
(gdb) bt
#0 usm_save_user (user=0x6110000138c0, token=0x7ffff5f26840 "usmUser", type=0x6020000007f0 "snmpd") at snmpusm.c:4210
#1 0x00007ffff5e7613d in usm_save_users_from_list (puserList=0x6110000138c0, token=0x7ffff5f26840 "usmUser", type=0x6020000007f0 "snmpd") at snmpusm.c:4239
#2 0x00007ffff5e76201 in usm_save_users (token=0x7ffff5f26840 "usmUser", type=0x6020000007f0 "snmpd") at snmpusm.c:4249
#3 0x00007ffff5e76256 in usm_store_users (majorID=0, minorID=1, serverarg=0x0, clientarg=0x0) at snmpusm.c:4271
#4 0x00007ffff5de486d in snmp_call_callbacks (major=0, minor=1, caller_arg=0x0) at callback.c:360
#5 0x00007ffff5d1a968 in snmp_store (type=0x555555563020 "snmpd") at snmp_api.c:961
#6 0x0000555555560876 in main (argc=12, argv=0x7fffffffe398) at snmpd.c:1042
Based on above, the line that appears to be problematic is:
"usmUser 1 3 0x80001f88806ac4543dc22afd6400000000 "testsnmpuser" "testsnmpuser" NULL"
The text was updated successfully, but these errors were encountered: