snmpd issue - could not create socket
Issue
-
I have two questios about the snmpd issues which occurred at our customer's site.
- Problem 1:
- Following snmpd messages were logged heavily. What is the cause of this issue?
Oct 15 00:00:17 server51 snmpd[17250]: could not create socket Oct 15 00:00:17 server51 snmpd[17250]: could not open /proc/net/if_inet6-
Problem 2:
- The customer reloaded snmpd service at 00:00, Oct 16 to restore to normal situation. Just after that, however, snmpd crashed with segfault.
-
It looks that this issue is related to 'problem .1' from the messages. Perhaps it will recover without any problems if restarting snmpd service instead of reloading snmpd. Is there other way (except restarting snmpd) to recover if 'problem .1' occurs?
-
/var/log/messages-20131016
Oct 16 00:00:15 server51 snmpd[17250]: Reconfiguring daemon <= reload snmpd- /var/log/messages-20131017
Oct 16 00:00:15 server51 syslogd 1.4.1: restart (remote reception). Oct 16 00:00:15 server51 snmpd[17250]: NET-SNMP version 5.3.2.2 restarted Oct 16 00:00:15 server51 snmpd[17250]: getaddrinfo: localhost No address associated with hostname Oct 16 00:00:15 server51 snmpd[17250]: snmpd: create_trap_session: Unknown host (udp:localhost:162) (Too many open files) Oct 16 00:00:15 server51 snmpd[17250]: /etc/snmp/snmpd.conf: line 107: Error: cannot create trap2sink: localhost Oct 16 00:00:15 server51 snmpd[17250]: /etc/snmp/snmpd.conf: line 327: Error: Can't open /etc/mtab (setmntent) Oct 16 00:00:15 server51 kernel: snmpd[17250]: segfault at 0000000000000000 rip 00002ae5db2b8a4b rsp 00007fff1d7509c0 error 4
- Problem 1:
Environment
- Red Hat Enterprise Linux 5.7
- net-snmp-5.3.2.2-14.el5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
