r1 - 15 Jul 2009 - 08:45:41 - Main.yfangYou are here: YWiki >  MyTroubleShooting Web > Snmpd启动失败:SnmpdDeadButPidFileExists

Snmpd启动失败: "SnmpdDeadButPidFileExists"

  • tip 声明:本文系原创,欢迎非盈利目的的转载,转载请注明文章来源和作者(杨方)信息

问题描述

  • 环境 CentOS5?
  • /etc/init.d/snmpd start 始终无法启动,命令打下去很快【OK】,也没有报任何错误,但实际上并没有snmpd进程,执行status命令报错
[root@server ~] # /etc/init.d/snmpd status
snmpd dead but pid file exists

解决过程

  • 检查了一下,发现是net-snmp-libs版本同net-snmp不一致造成的,升级net-snmp相关包即可,如果安装了net-snmp-devel,最好一起升掉,我没有装,命令里就没有了
[root@server ~] # rpm -qa|grep net-snmp 
net-snmp-libs-5.3.1-19.el5
net-snmp-5.3.1-24.el5_2.1
net-snmp-utils-5.3.1-24.el5_2.1

# Upgrade snmp related packages
[root@server ~] # yum update net-snmp net-snmp-utils net-snmp-libs
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Powered by YWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding YWiki? Send feedback