Title: R: Warning: Failed to connect to the agentx master agent (/var/agent x/master): Unknown host (/var/agentx/master) (Connection refused)

The AgentX master agent is up and running, but I passed a configuration file (snmpd.conf) with line

AgentXSocket myserver:5000

If I remove this line from the conf file, I get the message:

Warning: Couldn't open a master agentx socket to listen on (/var/agentx/master): Unknown host (/var/agentx/master) (Address already in use)

So, I tried to pass a conf file to the subagent, putting the same line
AgentXSocket myserver:5000
But it doesn't work.

Now questions are:
Can I tell the subagent to read a conf file?
Or, in which way, I can force the subagent to connect on another port?


Thank you very much.


-----Messaggio originale-----
Da: Dave Shield [mailto:[EMAIL PROTECTED]]
Inviato: giovedì 17 novembre 2005 11.19
A: Palmentieri Nunzio
Cc: net-snmp-users@lists.sourceforge.net
Oggetto: Re: Warning: Failed to connect to the agentx master agent (/var/agent x/master): Unknown host (/var/agentx/master) (Connection refused)

On Thu, 2005-11-17 at 09:44 +0100, Palmentieri Nunzio wrote:
> I'm trying to start an agentx, and I get the following error:
>
> "Warning: Failed to connect to the agentx master agent
>     (/var/agentx/master): Unknown host (/var/agentx/master)
>     (Connection refused)"

Is the AgentX master agent running on the system?
Does this file exist?

If so, what are the ownership and permissions?
How are you starting your subagent (e.g. who is it running as)?

Dave

Reply via email to