On Fri, Jul 8, 2011 at 4:08 PM, Stuart Henderson <s...@spacehopper.org> wrote: > On 2011/07/08 20:37, Bart Van Assche wrote: >> On Thu, Jul 7, 2011 at 12:06 PM, Stuart Henderson <s...@spacehopper.org> >> wrote: >> >> I'm updating the OpenBSD port of Net-SNMP to 5.7 and seeing some >> errors >> relating to problems loading mibs that weren't happening in >> 5.6.1.1. >> Can anyone give me suggestions as to where to look next please? >> Thanks. >> >> >> Have you checked that the configure script made the correct choice for >> the separator character (ENV_SEPARATOR in config.log) ? > > Looks right, ENV_SEPARATOR=':'
I've got the same issue - I updated 5.6.1 to 5.7 by changing the tarball and deleting the local patches that were included in 5.7, and the snmpcmds and snmpd all gripe about not being able to find lots of MIBs. My debugging looks largely the same -- ~/10s/src/Snmp @bs1% snmpstatus -v 2c -c public localhost MIB search path: /home/fenner/.snmp/mibs:/usr/share/snmp/eos-mibs:/usr/share/snmp/mibs Cannot find module (SNMPv2-SMI): At line 5 in /usr/share/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt Cannot find module (IANA-ADDRESS-FAMILY-NUMBERS-MIB): At line 1 in (none) ... etc trace: netsnmp_mibindex_new(): mib.c, 2877: mibindex: new: /usr/share/snmp/mibs (/var/net-snmp/mib_indexes/2) trace: add_mibfile(): parse.c, 4824: parse-mibs: Checking file: /usr/share/snmp/mibs/SNMPv2-SMI.txt... trace: new_module(): parse.c, 4246: parse-mibs: Module 13 SNMPv2-SMI is in /usr/share/snmp/mibs/SNMPv2-SMI.txt ... trace: parse(): parse.c, 4317: parse-file: Parsing file: /usr/share/snmp/mibs/SNMPv2-SMI.txt... trace: parse(): parse.c, 4454: parse-mibs: Parsing MIB: 13 SNMPv2-SMI trace: do_linkup(): parse.c, 1746: parse-mibs: Processing IMPORTS for module 13 SNMPv2-SMI trace: do_linkup(): parse.c, 1759: parse-mibs: Processing import: joint-iso-ccitt trace: do_linkup(): parse.c, 1759: parse-mibs: Processing import: ccitt trace: do_linkup(): parse.c, 1759: parse-mibs: Processing import: iso trace: parse(): parse.c, 4571: parse-file: End of file (/usr/share/snmp/mibs/SNMPv2-SMI.txt) trace: netsnmp_get_mib_directory(): mib.c, 2482: trace: netsnmp_get_mib_directory(): mib.c, 2515: get_mib_directory: mib directories set '/home/fenner/.snmp/mibs:/usr/share/snmp/eos-mibs:/usr/share/snmp/mibs' MIB search path: /home/fenner/.snmp/mibs:/usr/share/snmp/eos-mibs:/usr/share/snmp/mibs trace: print_error(): parse.c, 800: parse-mibs: Cannot find module (SNMPv2-SMI): At line 5 in /usr/share/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt It's clearly finding the files, and then griping that it can't find the module. Bill ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ 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