help

"haoran mo" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
When I have compiled snmpd,but I exec "make test", Why are there  so many
failure?


12:testing SNMPv3 get using MD5/noPriv of .1.3.6.1.2.1.1.3.0...(no pid
file(s) found)FAIL
13:testing SNMPv3 get using MD5/AES of .1.3.6.1.2.1.1.3.0...(no pid file(s)
found)FAIL
14:testing SNMPv3 get using MD5/DES of .1.3.6.1.2.1.1.3.0...(no pid file(s)
found)FAIL
15:testing SNMPv3 get using SHA/noPriv of .1.3.6.1.2.1.1.3.0...(no pid
file(s) found)FAIL
16:testing SNMPv3 get using SHA/DES of .1.3.6.1.2.1.1.3.0...(no pid file(s)
found)FAIL
17:testing SNMPv3 get using SHA/AES of .1.3.6.1.2.1.1.3.0...(no pid file(s)
found)FAIL
18:testing for failure of SNMPv3 get using unknown user....(no pid file(s)
found)FAIL
19:testing SNMPv3 agent USM user management with snmpusm...(no pid file(s)
found)FAIL
20:testing SNMPv3 snmptrapd USM user management with snmpusm...SKIPPED
21:testing SNMPv3 informs (noAuthNoPriv) received and sent by tools...(no
pid file(s) found)FAIL
22:testing SNMPv3 informs (authNoPriv) received and sent by tools...(no pid
file(s) found)FAIL
23:testing SNMPv3 informs (authPriv) received and sent by tools...(no pid
file(s) found)FAIL
24:testing SNMPv3 traps received and sent by tools...(no pid file(s)
found)FAIL
25:testing SNMPv2c traps received and sent by tools...(no pid file(s)
found)FAIL
26:testing SNMPv2c informs received and sent by tools...(no pid file(s)
found)FAIL
27:testing snmpv1 traps are sent by snmpd API...SKIPPED
28:testing snmpv2c traps are sent by snmpd API...SKIPPED
29:testing snmpv1 traps are sent by snmpd without notification mib
support...SKIPPED
30:testing snmpv2c traps are sent by snmpd without notification mib
support...SKIPPED
31:testing snmptrapd authorization failure of non authorized users...(no pid
file(s) found)FAIL
32:testing snmptrapd discards of unauthorized notification types...(no pid
file(s) found)FAIL
33:testing snmptrapd discards of incorrect view types...(no pid file(s)
found)FAIL
34:testing authentication failure traps are sent by snmpd...(no pid file(s)
found)FAIL
35:testing snmptrapd traphandle: launching external shell script.....(no pid
file(s) found)FAIL
36:testing snmptrapd embedded perl support (NetSNMP::TrapReceiver)...SKIPPED
37:testing snmpd embedded perl support (using NetSNMP::agent)...SKIPPED
38:testing extending agent functionality with extend...SKIPPED
39:testing that the agent responds properly to a kill -HUP...cat:
/tmp/snmp-test-39-19617/snmpd.pid: No such file or directory
(no pid file(s) found)FAIL
40:testing AgentX GET support...SKIPPED
41:testing AgentX SET support...SKIPPED
42:testing AgentX illegal SET handling support...SKIPPED
43:testing AgentX trap sending support...SKIPPED
44:testing AgentX subagent in Perl (using NetSNMP::agent)...SKIPPED
45:testing Proxy GET support...SKIPPED
46:testing Proxy SET support...SKIPPED
47:testing Proxy illegal SET handling support...SKIPPED
48:testing SNMPv1 vacm acceptance support...(no pid file(s) found)FAIL
49:testing SNMPv2 vacm acceptance support...(no pid file(s) found)FAIL
50:testing SNMPv3 vacm acceptance support...(no pid file(s) found)FAIL
51:testing SNMPv1 vacm denial support...(no pid file(s) found)FAIL
52:testing SNMPv2 vacm denial support...(no pid file(s) found)FAIL
53:testing SNMPv3 vacm denial support...(no pid file(s) found)FAIL
54:testing 1st CPU on Solaris using HOST-RESOURCES...SKIPPED
55:testing initial load device on Solaris using HOST-RESOURCES...SKIPPED
56:testing uptime using HOST-RESOURCES...SKIPPED
57:testing swap on Solaris using HOST-RESOURCES...SKIPPED
58:testing if snmpnetstat finds the running agent in udpTable...(no pid
file(s) found)FAIL
59:testing full snmpwalk (SNMPv2c) against agent (may take time)....(no pid
file(s) found)FAIL
Summary: 20 / 59 succeeded.
make[1]: *** [test] Error 39
make[1]: Leaving directory
`/home/mohaoran/work/mhr/src/services/oam/testing'
make: *** [test] Error 2

-----邮件原件-----
发件人: [email protected]
[mailto:[email protected]] 代表 Thomas Anders
发送时间: 2007年7月10日 18:14
收件人: haoran mo
抄送: [email protected]
主题: Re: help

haoran mo wrote:
>
/home/mohaoran/work/mhr/tools/gcc-3.3.3-2.4.25/toolchain_mips/bin/mips-linux
-ar
> -r cru .libs/libnetsnmp.a  snmp_client.o mib.o parse.o snmp_api.o snmp.o
> snmp_auth.o asn1.o md5.o snmp_parse_args.o system.o vacm.o int64.o
> read_config.o pkcs.o snmp_debug.o tools.o snmp_logging.o text_utils.o
> snmpv3.o lcd_time.o keytools.o file_utils.o scapi.o callback.o
> default_store.o snmp_alarm.o data_list.o oid_stash.o fd_event_manager.o
> mt_support.o snmp_enum.o snmp-tc.o snmp_service.o snprintf.o strlcpy.o
> strtol.o strtoul.o strtok_r.o snmp_transport.o snmpUDPDomain.o
> snmpTCPDomain.o snmpUnixDomain.o snmpCallbackDomain.o snmp_secmod.o
> snmpusm.o snmp_version.o check_varbind.o container.o
> container_binary_array.o container_null.o container_list_ssll.o
> container_iterator.o cmu_compat.o ucd_compat.o
> 
> /home/mohaoran/work/mhr/tools/gcc- 3.3.3
> -2.4.25/toolchain_mips/bin/mips-linux-ar: .libs/libnetsnmp.a: No such
> file or directory

"mips-linux-ar -r cru ..." looks wrong. Please track down where/how
these options get introduced in your particular cross-compilation setup
and fix them (e.g. by removing "-r", unless mips-linux-ar requires
something special).


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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 SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

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