Re: Make test failures on HP-UX Itanium (IA64)
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
[ 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
------------------------------------------------------------------------------
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