RE: snmpd error
Jun Zhang <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Landry, I put it as c:/snmp54/share/snmp/snmp.conf, and it worked. The daemon spit out only those "regisgration != duplicate" (are they significant?) lines. Thank you! Jun Landry Caroline <[email protected]> wrote: v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} st1\:*{behavior:url(#default#ieooui) } Hi Jun, From my personal experience on win32/Cygwin your snmpd.exe did not find the directory where the MIB files are located. You can specify this directory in a snmp.conf file that should contain: mibdirs /usr/local/share/snmp/mibs Note: this path is correct if you installed your net-snmp delivery in /usr/local. This snmp.conf file may be in several locations, but from my test the one that works is $HOME/.snmp directory. Best Regards, Caroline --------------------------------- From: [email protected] [mailto:[email protected]] On Behalf Of Jun Zhang Sent: vendredi 1 février 2008 17:49 To: [email protected] Subject: snmpd error I compiled 5.4.1 on win32 with cygwin, have the error messages running the agent. With the error messages, I can locate the module files (ended with .txt) under c:/snmp54/share/snmp/mibs. I guess the agent should know the mibs location but I'm not sure. There are 57 module files under c:/snmp54/share/snmp/mibs, only 25 are not found. Also I don't understand the "registration != duplicate" lines. Please somebody help. Jun $ sbin/snmpd -f -Le -d -c share/snmp/snmpd.conf & [1] 2048 dcots@biostat-app01 /cygdrive/c/snmp54 $ netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnm p_subtree_load() netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_ subtree_load() netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_ subtree_load() Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none) Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (SNMPv2-SMI): At line 0 in (none) Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none) Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none) Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none) Cannot find module (UCD-SNMP-MIB): At line 0 in (none) Cannot find module (UCD-DEMO-MIB): At line 0 in (none) Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none) Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none) Cannot find module (SNMP-MPD-MIB): At line 0 in (none) Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none) Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none) Cannot find module (UCD-DLMOD-MIB): At line 0 in (none) Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none) Cannot find module (SNMPv2-TM): At line 0 in (none) Cannot find module (NET-SNMP-VACM-MIB): At line 0 in (none) NET-SNMP version 5.4.1 --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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