首页 > Operation System, TroubleShooting > snmpd不能启动的问题

snmpd不能启动的问题

2009年6月4日 哈哈 发表评论 阅读评论

有台机器启动snmpd一会儿就当
log里看是系统提示:

Error opening specified endpoint: “10.0.0.11″

man 8 snmpd看了一下

Note that not all the transport domains listed above will always be available; for instance, hosts with no IPv6 support will not be able to use udp6 transport addresses, and attempts to do so will result in the error “Error opening specified endpoint”. Likewise, since AAL5 PVC support is only currently available on Linux, it will fail with the same error on other platforms.

貌似是某些资源得不到满足的时候会报”Error opening specified endpoint”的错
看来问题的关键在于这个ip地址”10.0.0.11″
grep -r “10.0.0.11″ /etc/*了一下
运气比较好
马上返回:
/etc/snmp/snmpd.local.conf中有这个ip
进去一看
发现

agentaddress 127.0.0.1,10.0.0.11

将10.0.0.11这个ip换成这台机器的私网地址
再重起snmpd就好了

原因看来是snmpd要监听10.0.0.11这个ip的某个端口
结果这个ip又没有绑定在本地的某个网络设备上
所以失败

赫赫
看来这台机器原来的ip是10.0.0.11

原创文章,转载请注明: 转载自嘻嘻哈哈的部落格(blog)

本文链接地址: snmpd不能启动的问题

  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word