RE: Make test failures on HP-UX Itanium (IA64)

"Simon Chung" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
(My apologies for not CC'ing the mailing list)

Thanks for your help, Dave. I'll try your suggestions.  

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Tuesday, August 25, 2009 1:04 AM
To: Simon Chung
Cc: [email protected]
Subject: Re: Make test failures on HP-UX Itanium (IA64)


    [ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]



2009/8/24 Simon Chung <[email protected]>:

> Here are the results of running ./agent/snmpd -C -Le.
>
> Warning: no access control information configured.

Errr... yes.   If you tell the agent not to load any config files (-C)
then there won't be any access control settings.  So the agent won't
actually do anything.



> Error opening specified endpoint ""
> Server Exiting with code 1

Either you are running this as a non-privileged user (i.e. non-root) or
there is already an SNMP agent running on the standard port.



> I've also attached a copy of the first snmp test directory (from
/tmp).
> Hopefully, there is something in there that you guys can identify what

> I'm doing wrong.

Hmmm....
Nothing springs out at me.

The agent is receiving the requests that the "snmpget" command is
sending, but never actually responds.   Which normally means an
access control problem.
   But the snmpd.conf file looks sensible, and ought to accept the
"testcommunity" community.   I'm really not sure why this is failing.

   All I can suggest is that you try running some manual tests
using the same configuration.   Something like:

    snmpd -d -f -Le -C -c /tmp/snmp-test-1-27896/snmpd.conf
udp:localhost:8834
(and in a separate window)
    snmpget -d -c testcommunity -v 1 udp:localhost:8834
.1.3.6.1.2.1.1.3.0

If that shows the same behaviour (repeated resending of the same
request, with no response), try re-running the snmpd command using the
option
   -DmibII/vacm_vars
which should give some debug output for the access control processing.

Dave


DISCLAIMER:
**************************************************************************** 
This email message and all attachments transmitted with it are for the sole 
use of the intended recipient(s) and may contain confidential and privileged 
information. Please DO NOT forward this email outside of the recipient's 
Company unless expressly authorized to do so herein. Any unauthorized review, 
use, disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply email and destroy all copies 
of the original message.

Any views expressed in this email message are those of the individual sender 
except where the sender specifically states them to be the views of Ventyx.
****************************************************************************

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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.