在vista或者一些其他系统中 ethereal 或wireshark会遇到这样的错误提示:
- The following errors were found while loading the MIBS:
- -:0 1 module-not-found failed to locate MIB module `IP-MIB'
- -:0 1 module-not-found failed to locate MIB module `IF-MIB'
- -:0 1 module-not-found failed to locate MIB module `TCP-MIB'
- -:0 1 module-not-found failed to locate MIB module `UDP-MIB'
- -:0 1 module-not-found failed to locate MIB module `SNMPv2-MIB'
- -:0 1 module-not-found failed to locate MIB module `RFC1213-MIB'
- -:0 1 module-not-found failed to locate MIB module `IPV6-ICMP-MIB'
- -:0 1 module-not-found failed to locate MIB module `IPV6-MIB'
- -:0 1 module-not-found failed to locate MIB module `SNMP-COMMUNITY-MIB'
- -:0 1 module-not-found failed to locate MIB module `SNMP-FRAMEWORK-MIB'
- -:0 1 module-not-found failed to locate MIB module `SNMP-MPD-MIB'
- -:0 1 module-not-found failed to locate MIB module `SNMP-NOTIFICATION-MIB'
- -:0 1 module-not-found failed to locate MIB module `SNMP-PROXY-MIB'
- -:0 1 module-not-found failed to locate MIB module `SNMP-TARGET-MIB'
- -:0 1 module-not-found failed to locate MIB module `SNMP-USER-BASED-SM-MIB'
- -:0 1 module-not-found failed to locate MIB module `SNMP-USM-DH-OBJECTS-MIB'
- -:0 1 module-not-found failed to locate MIB module `SNMP-VIEW-BASED-ACM-MIB'
类似的, 网上说原因是因为查找mibs缺省路径错误而造成的,然而解决方法却未必有效。
这里我优化了一下解决方案:首先进入你的安装文件夹,在Wireshark\snmp\mibs路径下找到mibs文件夹,然后复制它的地址例如:F:\Wireshark\snmp\mibs。这时候注意了,如果在路径中有中文,就不行,比如你把它安在了中文目录下面了。这时候,请把mibs文件夹复制出来,放到一个纯英文地址的位置,例如直接放在根目录就可以F:\mibs。
然后打开Wireshark,点击 Edit 菜单, 选择 Preferences...
• 在Wireshark的左窗口选择 Name Resolution
• 找到 SMI (MIB and PIB) paths , 点击 Edit 按钮
• 在新窗口中选择New
• 在New 输入框中输入 新地址,在此文例子中为F:\mibs\ 然后点击OK
• 最后重新启动Wireshark 即可
阅读(2467) | 评论(0) | 转发(1) |