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

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Thu, 2005-11-17 at 11:35 +0100, Palmentieri Nunzio wrote:
> The AgentX master agent is up and running, but I passed a
> configuration file (snmpd.conf) with line 
> 
> AgentXSocket myserver:5000

Let's see if we can get a "standard" installation working,
shall we?


> 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)
      ^^^^^^^^^^^^^^^^^^^^^^^^

Note that last error message.
That seems to imply that you may already have an
AgentX-capable SNMP agent running on the system.


Try shutting down both your master agent and your subagent.
Check the directory /var/agentx - what does it contain ?
    ("ls -l /var/agentx")

Check the running processes - is there another SNMP agent ?
    ("ps -ef | grep -i snmp"  or "ps -aux | grep -i snmp")


Dave


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
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.