"something horrible happened" when running snmpdemoapp

2006-02-03 Thread stan buyanov
Hello,I am running snmpd v5.3.0.1. Upon running snmpdemoapp I got the following message: ack: Unknown host (test.net-snmp.org) something horrible happenedFor some wrong reason I removed /var/agentx directory thinking that snmpd would create this named socket again - never happed. I tryed

Re: "something horrible happened" when running snmpdemoapp

2006-02-06 Thread Dave Shield
[Please don't start multiple threads with effectively the same question in each. It just increases the support load.] On Fri, 2006-02-03 at 12:40 -0800, stan buyanov wrote: > My questions are: > 1) Who creates/deletes? /var/agentx/master? The (master) agent should create

Re: "something horrible happened" when running snmpdemoapp

2006-02-06 Thread Li Juen Hwang
Hi, Dave: 2) Is it a big deal that I removed /var/agentx/master? No. The socket itself ("master") should be removed automatically when the agent shuts down. So it might be worth checking that no other SNMP agent is currently running. Alternatively, how do you shut down the agent? *Pleas

Re: "something horrible happened" when running snmpdemoapp

2006-02-06 Thread Thomas Anders
Li Juen Hwang wrote: What's wrong with shutting down agent with "kill -9"? What does it indicate? I ask because currently my agent (a master agent, not a subagent) can only be shut down by "kill -9". It is launched with "-f -L -M -D" as a thread on RH by a main program which will then connect t

Re: "something horrible happened" when running snmpdemoapp

2006-02-07 Thread Dave Shield
On Mon, 2006-02-06 at 14:38 -0800, Li Juen Hwang wrote: > What's wrong with shutting down agent with "kill -9"? Should should *NEVER* terminate *ANY* application with "kill -9", unless you've tried to shut it down cleanly first. Blindly using "kill -9" is a sign of a slapdash and unprofession