R: Warning: Failed to connect to the agentx master agent (/var/ag ent x/master): Unknown host (/var/agentx/master) (Connection refused)
Palmentieri Nunzio <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <49FCBDCB40420B409FB4EA8D712CC66D038140D2@srv003snap.napoli.it.int.atosorigin.com> |
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] <mailto:[email protected]> ] Inviato: giovedì 17 novembre 2005 11.19 A: Palmentieri Nunzio Cc: [email protected] 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