[MacPorts] #31173: net-snmp @5.7 "Cannot find module (SNMPv2-SMI)" noise

MacPorts noreply at macports.org
Thu Sep 8 09:46:38 PDT 2011


#31173: net-snmp @5.7 "Cannot find module (SNMPv2-SMI)" noise
--------------------------------+-------------------------------------------
 Reporter:  robin@…             |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.0.3                                
 Keywords:  snmp                |        Port:  net-snmp                             
--------------------------------+-------------------------------------------
 After update to 5.7 using snmp will cause some "cannot find module" noise,
 for example:

 {{{
 % snmpstatus -v3 srx1
 MIB search path: /Users/username/.snmp/mibs:/opt/local/share/snmp/mibs
 Cannot find module (SNMPv2-SMI): At line 6 in
 /opt/local/share/snmp/mibs/SNMPv2-MIB.txt
 Cannot find module (SNMPv2-TC): At line 9 in
 /opt/local/share/snmp/mibs/SNMPv2-MIB.txt
 Cannot find module (SNMPv2-MIB): At line 1 in (none)
 Cannot find module (IANAifType-MIB): At line 13 in
 /opt/local/share/snmp/mibs/IF-MIB.txt
 Cannot find module (IF-MIB): At line 1 in (none)
 Cannot find module (INET-ADDRESS-MIB): At line 15 in
 /opt/local/share/snmp/mibs/IP-MIB.txt
 Cannot find module (IP-MIB): At line 1 in (none)
 Cannot find module (TCP-MIB): At line 1 in (none)
 Cannot find module (UDP-MIB): At line 1 in (none)
 Cannot find module (SNMP-FRAMEWORK-MIB): At line 11 in
 /opt/local/share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt
 Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 1 in (none)
 Cannot find module (SNMP-TARGET-MIB): At line 18 in
 /opt/local/share/snmp/mibs/SNMP-COMMUNITY-MIB.txt
 Cannot find module (SNMP-COMMUNITY-MIB): At line 1 in (none)
 [UDP: [10.0.99.72]:161->[0.0.0.0]:0]=>[Juniper Networks, Inc. srx3600
 internet router, kernel JUNOS 10.4R6.5 #0: 2011-07-23 10:41:41 UTC
 builder at warth.juniper.net:/volume/build/junos/10.4/release/10.4R6.5/obj-
 powerpc/bsd/sys/compile/JUNIPER-SRX Build date: 2011-07-23 10:19:14 UTC
 Copyrigh] Up: 10 days, 20:09:18.84
 Interfaces: 122, Recv/Trans packets: 928023598/-1565682018 | IP:
 31449226/10144715
 23 interfaces are down!
 }}}

 The attached patch, lifted from [http://www.freebsd.org/cgi/query-
 pr.cgi?pr=159252 FreeBSD ports/159252], resolves the issue.

-- 
Ticket URL: <https://trac.macports.org/ticket/31173>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list