From: SourceForge.net <no...@so...> - 2008-05-28 06:04:57
|
Bugs item #1693039, was opened at 2007-04-02 08:07 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1693039&group_id=12694 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: error on subcontainer 'ia_addr' insert (-1) Initial Comment: Hi, I have strange error messages logged when I have bonding interface. OS: FC5 net-snmp-5.3-4.2 Kernel: 2.6.19-1.2288.2.1.fc5 #1 SMP Thu Feb 22 11:32:04 EST 2007 x86_64 This is my configuration file: ############### Generic config information ############### syslocation "F4, UK" sysservices 0 syscontact Company NOC <no...@co...> rocommunity r3ad0n1y trapcommunity r3ad0n1y trapsink 1.2.3.4 ############### Common config directives ############### disk / disk /var disk /usr disk /tmp swap 16000 linkUpDownNotifications yes defaultMonitors yes master agentx ############### Node specific config directives ############### proc asterisk 0 0 I have Bonding interface and my two physical interfaces are configured as follow: DEVICE=(eth0 and eth1 for second interface) USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none ETHTOOL_OPTS="speed 100 duplex full autoneg off" Now every 20 seconds I have in my logs: Apr 2 16:02:48 f-node0 snmpd[9588]: error on subcontainer 'ia_addr' insert (-1) Apr 2 16:02:48 f-node0 snmpd[9588]: error on subcontainer 'ia_addr' insert (-1) Apr 2 16:02:48 f-node0 snmpd[9588]: error on subcontainer '' insert (-1) Apr 2 16:02:48 f-node0 snmpd[9588]: error on subcontainer '' insert (-1) Apr 2 16:02:48 f-node0 snmpd[9588]: failed to run mteTrigger query Apr 2 16:02:48 f-node0 snmpd[9588]: failed to run mteTrigger query I suppose that the bonding slaves are the problems as when I stop for example eth1 I have two messages less: error on subcontainer 'ia_addr' insert (-1) error on subcontainer '' insert (-1) BR, ddr...@gm... ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-05-27 23:05 Message: Logged In: NO HI, i have it problem to 8(( whith 'veth' interface Linux 2.6.21-xen (Gentoo) eth0,veth0 ...... What can i do ?? ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2007-10-11 22:37 Message: Logged In: NO This issue only seems to occur when the bonding driver is in play. Furthermore, I used the patch for 5.3.1 against the net-snmp-5.3.1-14.0.1.el5.src.rpm src rpm for CentOS 5 and snmpd segfaults on startup if eth1 is the active interface and not eth0 ---------------------------------------------------------------------- Comment By: C Falconer (criggie) Date: 2007-07-25 19:42 Message: Logged In: YES user_id=588340 Originator: NO Its not a problem with bonding - its something to do with duplicate IP addresses (which encompasses bonding and tunnels etc) ---------------------------------------------------------------------- Comment By: Jan Safranek (jsafranek) Date: 2007-05-04 04:18 Message: Logged In: YES user_id=1784238 Originator: NO Submitted patch #1712645, which prints more meaningful error message and prints it only once ---------------------------------------------------------------------- Comment By: Mike Varley (mavarley) Date: 2007-05-01 07:25 Message: Logged In: YES user_id=1782758 Originator: NO Submitted patch 1710632 (as a diff). This patch can be applied to net-snmp 5.4 aswell (even though I was working with 5.3) ---------------------------------------------------------------------- Comment By: Mike Varley (mavarley) Date: 2007-05-01 07:05 Message: Logged In: YES user_id=1782758 Originator: NO This error actually causes a memory leak, as the container is not cleaned up when the "insert" fails. I have a patch, and will submit it when I figure out how :) ---------------------------------------------------------------------- Comment By: Mitko (valvebg) Date: 2007-04-04 04:39 Message: Logged In: YES user_id=1230171 Originator: NO Hi Alex, Thanks’ for your reply. However I don’t have same IP address on 2 or more interfaces. May be the problem is that I have same MAC address but it is set from bonding driver and I can’t do anything. The other strange is if I remove linkUpDownNotifications the errors continue. 1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,10000> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000 link/ether 00:11:25:c4:52:d4 brd ff:ff:ff:ff:ff:ff inet6 fe80::211:25ff:fec4:52d4/64 scope link valid_lft forever preferred_lft forever 3: eth1: <BROADCAST,MULTICAST,SLAVE,UP,10000> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000 link/ether 00:11:25:c4:52:d4 brd ff:ff:ff:ff:ff:ff inet6 fe80::211:25ff:fec4:52d4/64 scope link valid_lft forever preferred_lft forever 4: bond0: <BROADCAST,MULTICAST,MASTER,UP,10000> mtu 1500 qdisc noqueue link/ether 00:11:25:c4:52:d4 brd ff:ff:ff:ff:ff:ff inet 192.168.0.177/27 brd 192.168.0.191 scope global bond0 inet6 fe80::211:25ff:fec4:52d4/64 scope link valid_lft forever preferred_lft forever ---------------------------------------------------------------------- Comment By: Hoemig (hoemig) Date: 2007-04-03 23:00 Message: Logged In: YES user_id=1552812 Originator: NO You have some Interfaces with the same Interface-Address. The Index if the IP-Address-Table is only the Address (Use unique IF-IP-Addresses). The error happends every 30sec (refresh timer). The "linkUpDownNotifications yes" - command (DISMAN-MIB) triggers the Table-Refresh The command "ifconfig" displays only the primary address. Check with "ip addr show" (iproute2-Package) Bye, Alex ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1693039&group_id=12694 |