R: Warning: Failed to connect to the agentx master agent (/var/ag

This is a discussion on R: Warning: Failed to connect to the agentx master agent (/var/ag within the SNMP Users forums, part of the Networking and Network Related category; This message is in MIME format. Since your mail reader does not understand this format, some or all of this ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-17-2005
Palmentieri Nunzio
 
Posts: n/a
Default R: Warning: Failed to connect to the agentx master agent (/var/ag

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C5EB62.9B04EEA2
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

AgentXSocket myserver:5000=20

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

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=20
AgentXSocket myserver:5000=20
But it doesn't work.=20

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


Thank you very much.=20


-----Messaggio originale-----=20
Da: Dave Shield [ mailto:D.T.Shield@csc.liv.ac.uk
<mailto:D.T.Shield@csc.liv.ac.uk> ]=20
Inviato: gioved=EC 17 novembre 2005 11.19=20
A: Palmentieri Nunzio=20
Cc: net-snmp-users@lists.sourceforge.net=20
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:=20
> I'm trying to start an agentx, and I get the following error:=20
>=20
> "Warning: Failed to connect to the agentx master agent=20
> (/var/agentx/master): Unknown host (/var/agentx/master)=20
> (Connection refused)"=20


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

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

Dave=20


------_=_NextPart_001_01C5EB62.9B04EEA2
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>

<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2658.2">
<TITLE>R: Warning: Failed to connect to the agentx master agent =
(/var/agent x/master): Unknown host (/var/agentx/master) (Connection =
refused)</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>The AgentX master agent is up and running, but I =
passed a configuration file (snmpd.conf) with line </FONT>
</P>

<P><FONT SIZE=3D2>AgentXSocket myserver:5000</FONT>
</P>

<P><FONT SIZE=3D2>If I remove this line from the conf file, I get the =
message:</FONT>
</P>

<P><FONT SIZE=3D2>Warning: Couldn't open a master agentx socket to =
listen on (/var/agentx/master): Unknown host (/var/agentx/master) =
(Address already in use)</FONT></P>

<P><FONT SIZE=3D2>So, I tried to pass a conf file to the subagent, =
putting the same line</FONT>
<BR><FONT SIZE=3D2>AgentXSocket myserver:5000</FONT>
<BR><FONT SIZE=3D2>But it doesn't work.</FONT>
</P>

<P><FONT SIZE=3D2>Now questions are:</FONT>
<BR><FONT SIZE=3D2>Can I tell the subagent to read a conf file?</FONT>
<BR><FONT SIZE=3D2>Or, in which way, I can force the subagent to =
connect on another port?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Thank you very much.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-----Messaggio originale-----</FONT>
<BR><FONT SIZE=3D2>Da: Dave Shield [<A =
HREF=3D"mailto:D.T.Shield@csc.liv.ac.uk">mailto:D. T.Shield@csc.liv.ac.uk=
</A>] </FONT>
<BR><FONT SIZE=3D2>Inviato: gioved=EC 17 novembre 2005 11.19</FONT>
<BR><FONT SIZE=3D2>A: Palmentieri Nunzio</FONT>
<BR><FONT SIZE=3D2>Cc: net-snmp-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=3D2>Oggetto: Re: Warning: Failed to connect to the =
agentx master agent (/var/agent x/master): Unknown host =
(/var/agentx/master) (Connection refused)</FONT></P>

<P><FONT SIZE=3D2>On Thu, 2005-11-17 at 09:44 +0100, Palmentieri Nunzio =
wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; I'm trying to start an agentx, and I get the =
following error: </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &quot;Warning: Failed to connect to the agentx =
master agent</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp;&nbsp; (/var/agentx/master): =
Unknown host (/var/agentx/master)</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp;&nbsp; (Connection =
refused)&quot;</FONT>
</P>

<P><FONT SIZE=3D2>Is the AgentX master agent running on the =
system?</FONT>
<BR><FONT SIZE=3D2>Does this file exist?</FONT>
</P>

<P><FONT SIZE=3D2>If so, what are the ownership and permissions?</FONT>
<BR><FONT SIZE=3D2>How are you starting your subagent (e.g. who is it =
running as)?</FONT>
</P>

<P><FONT SIZE=3D2>Dave</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C5EB62.9B04EEA2--


-------------------------------------------------------
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:06 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0