On 9 February 2011 13:58, Abraham Varricatt <[email protected]> wrote: > # snmpd -f > Quit
Try running this as "snmpd -f -Le", so you can see any output messages. Does the agent report anything that looks suspicious? How are you stopping the agent? Ctrl-C ? > # cat snmpd.conf > engineBoots 2 > oldEngineID 0x80001f88807461cf4d386d4417 > In short, there IS a createUser command present in /var/net-snmp/snmpd.conf. > The problem is that it vanishes after I run my agent. That's actually the normal operation. (sort of) The 'createUser' line _will_ be deleted, but should be replaced by an equivalent 'usmUser' line. > Any ideas why this is so? Could it be that the internal md5 and des > functions are not working? No - I don't think it's related to the internal security functions. This feels more like the handling of config files. I could understand this if you were terminating the agent using "kill -9" (which wouldn't let it write out the final config file). But as long as you're killing the agent "cleanly", then it should write out the usmUser line. All I can suggest is to look at the output of the agent when it shuts down, and see if that reports anything odd. (Or possibly look at turning on debugging output, but let's see what the normal output says first) Dave ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
