日期:2014-05-16  浏览次数:20774 次

使用net-snmp的mib2c出现ERROR,求助!!!
我的net-snmp安装好之后执行/usr/local/net-snmp/mib2c出现如下错误:
ERROR: You don't have the SNMP perl module installed. Please obtain this by getting the latest source release of the net-snmp toolkit from http://www.net-snmp.org/download/ . Once you download the source and unpack it, the perl module is contained in the perl/SNMP directory.See the README file there for instructions
好长时间都找不到解决方法,想请教一下如何解决,可能是什么问题?
谢谢大虾们。

------解决方案--------------------
要装perl 啊. so easy .
Redhat9.0中通常安装了net-snmp5.0.9,不过没有安装perlmodule(mib2c需要),我没有仔细检查redhat光盘中是否带有perlmodule,到net-snmp网站上下载了一个。关于net-snmp、net-snmp-perlmods的安装、检查等可以参考net-snmp的有关文档,如AGENT.TXT,INSTALL FAQ等文件。一般是比较容易搞定的
------解决方案--------------------
我也出现了类似这个的错误提示,但我没管,好像也正常。这种情况下,mib2c也可以生成代码框架,没什么影响。