Re: example demon not connecting to master agent

Kelby Rogers <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I forgot to mention that another thing I have tried is starting the
master agent with the option "-Dagentx".

The only output I get from issuing this is "agentx/subagent:
init_subagent sess 0809b378"

Kelby Rogers wrote:

I can't get the example demon from the net-snmp tutorial to connect to
the master agent. I get the message below from the subagent:

"Error: Failed to connect to the agentx master agent: Unknown host (No
such file or directory)"

I have checked the following things and they seem to be okay.

* I am running both the master and subagents as root user (via
sudo).

* I have the line "master agentx" in my snmpd.conf. When the master
agent starts it prints "Turning on AgentX master support."

* The contents of /var/agentx is "srwxr-xr-x 1 root root 0 2006-12-04
10:31 master"

* The master agent is responding, as issuing a "snmpget localhost
sysUpTime.0" works.

Does anybody have any suggestions on what I can try or what the problem
is?

I'm running version 5.1.2.

Kelby

This email, including any attachments, is only for the intended
addressee. It is subject to copyright, confidential and may be the
subject of legal or other privilege, none of which is waived or lost by
reason of this transmission. If the receiver is not the intended
addressee, please accept our apologies, notify us by return, delete all
copies and perform no other act on the email. Unfortunately, we cannot
warrant that the email has not been altered or corrupted during
transmission.

----------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

----------

_______________________________________________
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

----------

This email, including any attachments, is only for the intended addressee. It is subject to copyright, confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission.

----------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
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.