Re: "something horrible happened" when running snmpdemoapp

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
	[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 this directory and
socket when it's required.


> 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?
*Please* don't tell me you use "kill -9"!


> 3) How can I restore /var/agentx/master?

Just start the agent (as root).
As long as it's configured to run as an AgentX
master, it should create this directory/socket
automatically.

Do you have the line

	master	agentx

in your snmpd.conf file?

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.