snmpd: Duplicate IPv6 address detected, some interfaces may not be

tolywang發表於2010-03-21

Linux AS 5.3  64bit .  Oracle 10.2.0.4  

Linux log message 報錯資訊如下: 

Mar 15 17:09:30 hou249bbodb3111 snmpd[28076]: cmaX: subMIB 23 will be sent on port 25376 to hp Advanced Server Management_Peer
Mar 15 17:09:30 hou249bbodb3111 snmpd[28076]: cmaX: subMIB 18 handler has disconnected
Mar 15 17:09:30 hou249bbodb3111 snmpd[28076]: cmaX: subMIB 18 will be sent on port 25393 to cpqnicd
Mar 15 17:09:30 hou249bbodb3111 snmpd[28076]: getaddrinfo: d Name or service not known
Mar 15 17:09:30 hou249bbodb3111 snmpd[28076]: Error opening specified endpoint "d"
Mar 15 17:09:30 hou249bbodb3111 snmpd[28076]: Server Exiting with code 1
Mar 15 17:09:44 hou249bbodb3111 snmpd[28245]: Duplicate IPv6 address detected, some interfaces may not be visible in IP-MIB
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: Parsing shared as a type was unsucessful
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: listening for subagents on port 25375
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: sent ColdStarts on ports 25376 to 25393
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 1 handler has disconnected
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 2 handler has disconnected
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 3 handler has disconnected
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 5 handler has disconnected
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 6 handler has disconnected
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 8 handler has disconnected
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 9 handler has disconnected
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 10 handler has disconnected
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 11 handler has disconnected
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 14 handler has disconnected
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 15 handler has disconnected
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 16 handler has disconnected
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 21 handler has disconnected
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 22 handler has disconnected
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 23 handler has disconnected
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB  1 will be sent on port 25376 to hp Advanced Server Management_Peer
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB  2 will be sent on port 25376 to hp Advanced Server Management_Peer
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB  3 will be sent on port 25376 to hp Advanced Server Management_Peer
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB  5 will be sent on port 25376 to hp Advanced Server Management_Peer
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB  6 will be sent on port 25376 to hp Advanced Server Management_Peer
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB  8 will be sent on port 25376 to hp Advanced Server Management_Peer
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB  9 will be sent on port 25376 to hp Advanced Server Management_Peer
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 10 will be sent on port 25376 to hp Advanced Server Management_Peer
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 11 will be sent on port 25376 to hp Advanced Server Management_Peer
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 14 will be sent on port 25376 to hp Advanced Server Management_Peer
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 15 will be sent on port 25376 to hp Advanced Server Management_Peer
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 16 will be sent on port 25376 to hp Advanced Server Management_Peer
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 21 will be sent on port 25376 to hp Advanced Server Management_Peer
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 22 will be sent on port 25376 to hp Advanced Server Management_Peer
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 18 handler has disconnected
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 23 will be sent on port 25376 to hp Advanced Server Management_Peer
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: cmaX: subMIB 18 will be sent on port 25393 to cpqnicd
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: getaddrinfo: d Name or service not known
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: Error opening specified endpoint "d"
Mar 15 17:09:45 hou249bbodb3111 snmpd[28245]: Server Exiting with code 1
Mar 16 02:14:01 hou249bbodb3111 auditd[4540]: Audit daemon rotating log files 

在網際網路上查詢到資訊如下:

Upstream has a patch for a bug in 5.4 caused by net-snmp believing that an IP
address is present on more than one interface.

The URL points to the upstream bug report; last update at time of writing was
that the patch was requested to go into 5.4.1-rc1.

As there are a number of reports of bugs in 5.4 fixed by patches from upstream,
please consider adding an ebuild (testing would be fine) that includes these
upstream patches.

Reproducible: Always

Steps to Reproduce:
1. Build net-snmp-5.4 from portage ebuild
2. Start snmpd

Actual Results:  
Error messages appear in syslog every 20 seconds.

Expected Results:  
No error messages every 20 seconds OR a warning message at startup.

The issue has also been reported when using interface bonding (my situation I
believe, as I don't have IP addresses on more than one interface).  When I
build 5.4 including the upstream patch, I get the following single message at
startup:

  snmpd[21091]: Duplicate IPv6 address detected, some interfaces may not be
visible in IP-MIB

which is the behaviour that the patch produces.

 

  

 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-630010/,如需轉載,請註明出處,否則將追究法律責任。

相關文章