*
Dave,

Please find the output below.

I have tried to use different ports other than 6161 (7161,9161,3456), and
still got the "bind failed" error below.  I was running at root.  So
permission is not a problem.  And I was using a port that was not used at
all.  Not sure why the [init_smux] gave the error.  But it did reports a
Request was received.

/usr/sbin/snmpd -f -Le -C -c /tmp/snmpd.conf 6161
[init_smux] bind failed: Permission denied
NET-SNMP version 5.3.2.2
Connection from UDP: [127.0.0.1]:52007

[]  snmpget -v 2c -c public  localhost:6161  snmpEngine.0
SNMP-FRAMEWORK-MIB::snmpEngine.0 = No Such Object available on this agent at
this OID
*
On Mon, Mar 7, 2011 at 2:32 AM, Dave Shield <d.t.shi...@liverpool.ac.uk>wrote:

> On 4 March 2011 18:47, Zongjun <qizong...@gmail.com> wrote:
> > To list the complete information,
> > I have all the output from net-snmp-config below:
>
>        [snip]
> > [user@localhost ~]$ net-snmp-config --snmpd-module-list
> > ...  mibII/system_mib .... ucd-snmp/versioninfo ...snmpv3/snmpEngine
>       [snip]
>
>
> OK- so the agent *does* include the various MIB modules that we've
> been trying to query.   So the problem isn't that.
>
> The most likely cause is still access control settings.
> Please try the following:
>
>   -  create a file /tmp/snmpd.conf  containing *just*
>             rocommunity public
>      (nothing else)
>
>   -  run the agent using
>             snmpd -f -Le -C -c /tmp/snmpd.conf  6161
>
>   -  query the agent using
>             snmpget -v 2c -c public  localhost:6161  snmpEngine.0
>
> What happens?
>
> Dave
>
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to