Re: R: 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 12:02 +0100, Palmentieri Nunzio wrote:
> Ok, thank you very much. I solved the problem. 
> The problem was:
> 
> Under /var/agentx I had a directory called master, and not a file.

Yup - that would stop things working all right!
(And not something that I would have thought of suggesting).


> So what I did was: 
> 1) Remove the master directory 
> 2) touch master 

Not actually necessary - the master agent will
create this socket automatically when it starts
up (and delete it again when it shuts down)

> 3) start master agent (without AgentXSocket myserver:5000 in conf
> file) and     
>    it worked 
> 4) start the subagent, and it worked 
> 5) perform a snmpget , and it worked.
> 
> Thank you again for your precious support.


No problem.
You did the work - I just asked the right questions :-)

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.