2008年5月6日 星期二

CentOS 5 snmpd failure

root@www ~]# /etc/init.d/snmpd start
Starting snmpd: [ OK ]

[root@www ~]# /etc/init.d/snmpd status
snmpd dead but pid file exists

snmpd dead but pid file exists

[root@www ~]# tail /var/log/messages
Mar 29 18:23:43 www snmpd[4466]: could not open /proc/net/if_inet6
Mar 29 18:23:43 www snmpd[4466]: mibII/mta_sendmail.c:open_sendmailst: could not guess version of statistics file “/var/log/mail/statistics”

Reference
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=8777

Disable IPV6 support

vi /etc/modprobe.conf
=============
alias net-pf-10 off
alias ipv6 off
============

vi /etc/sysconfig/network
=============
NETWORKING_IPV6=no
=============

vi /etc/sysconfig/network-scripts/ifcfg-eth0
add
=============
IPV6INIT=no
=============

yum install net-snmp net-snmp-devel net-snmp-utils net-snm-libs

reboot

1 則留言:

David 提到...

net-snmp 1:5.3.1-19.el5_1.4
net-snmp-libs 1:5.3.1-13

snmpd -f
snmpd: symbol lookup error: snmpd: undefined symbol: smux_snmp_select_list_get_length

Update net-snmp-libs to 1:5.3.1-14.el5