Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1288538
  • 博文数量: 632
  • 博客积分: 2778
  • 博客等级: 大尉
  • 技术积分: 3387
  • 用 户 组: 普通用户
  • 注册时间: 2012-05-31 09:09
个人简介

123

文章分类

全部博文(632)

文章存档

2014年(36)

2013年(33)

2012年(563)

分类:

2012-10-10 21:41:07

在vista或者一些其他系统中 ethereal 或wireshark会遇到这样的错误提示:

  1. The following errors were found while loading the MIBS:   
  2. -:0 1 module-not-found failed to locate MIB module `IP-MIB'   
  3. -:0 1 module-not-found failed to locate MIB module `IF-MIB'   
  4. -:0 1 module-not-found failed to locate MIB module `TCP-MIB'   
  5. -:0 1 module-not-found failed to locate MIB module `UDP-MIB'   
  6. -:0 1 module-not-found failed to locate MIB module `SNMPv2-MIB'   
  7. -:0 1 module-not-found failed to locate MIB module `RFC1213-MIB'   
  8. -:0 1 module-not-found failed to locate MIB module `IPV6-ICMP-MIB'   
  9. -:0 1 module-not-found failed to locate MIB module `IPV6-MIB'   
  10. -:0 1 module-not-found failed to locate MIB module `SNMP-COMMUNITY-MIB'   
  11. -:0 1 module-not-found failed to locate MIB module `SNMP-FRAMEWORK-MIB'   
  12. -:0 1 module-not-found failed to locate MIB module `SNMP-MPD-MIB'   
  13. -:0 1 module-not-found failed to locate MIB module `SNMP-NOTIFICATION-MIB'   
  14. -:0 1 module-not-found failed to locate MIB module `SNMP-PROXY-MIB'   
  15. -:0 1 module-not-found failed to locate MIB module `SNMP-TARGET-MIB'   
  16. -:0 1 module-not-found failed to locate MIB module `SNMP-USER-BASED-SM-MIB'   
  17. -:0 1 module-not-found failed to locate MIB module `SNMP-USM-DH-OBJECTS-MIB'   
  18. -: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 即可





阅读(1678) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~