Bug 357121
| Summary: | snmpd filling /var/log/messages with errors | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Mark Nielsen <mnielsen> | ||||||||||||||||||||||||||||
| Component: | net-snmp | Assignee: | Jan Safranek <jsafrane> | ||||||||||||||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | |||||||||||||||||||||||||||||
| Severity: | medium | Docs Contact: | |||||||||||||||||||||||||||||
| Priority: | medium | ||||||||||||||||||||||||||||||
| Version: | 5.0 | ||||||||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||||||
| Hardware: | All | ||||||||||||||||||||||||||||||
| OS: | Linux | ||||||||||||||||||||||||||||||
| Whiteboard: | |||||||||||||||||||||||||||||||
| Fixed In Version: | RHBA-2008-0376 | Doc Type: | Bug Fix | ||||||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||||||
| Last Closed: | 2008-05-21 15:42:00 UTC | Type: | --- | ||||||||||||||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||||||||
| Embargoed: | |||||||||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||||||||
|
Description
Mark Nielsen
2007-10-29 18:27:50 UTC
Created attachment 242261 [details]
snmpd.conf
Created attachment 242271 [details]
various other information
SELinux is disabled. No snmpd entries exist in audit.log. I think I found the reason - net-snmp expects the interface name has 8 characters at maximum. Could you please rename the bond1.148 interface to something shorter, just to prove my theory? Thanks in advance. I will have to test further whether I can change the interface name or not. I know I can't change the "148" part, because that is how the VLAN tag is determined. I attempted to change it to bnd1.148, but got errors about the device not being present. So, to get around that, I tried to start snmpd on another cluster's node. This other cluster has bond1.48 as the public interface. I no longer get the "ioctl 35123 returned -1" error, however I still see the "error getting netmask for interface 1" error repeated in /var/log/messages. Though I am using a different node on a different cluster, the are no differences in packages/builds. All my nodes/clusters are built from the same kickstart with only the cluster info, host names, network information changed. great, at least something can be fixed. Regarding the second "error getting netmask for interface 1" message, I am not able to reproduce it. It seems it's caused by network interface without any IPv6 address. How did you make bond0:0 not having IPv6 address? My bonding interfaces have at least link-scope addresses. Could you please attach configuration scripts of all your interfaces, if possible? Created attachment 245621 [details]
ifcfg-bond0
Created attachment 245631 [details]
ifcfg-bond0:0
Created attachment 245641 [details]
ifcfg-bond1
Created attachment 245651 [details]
ifcfg-bond1.48 (public interface)
Created attachment 245661 [details]
ifcfg-bond1.20
Created attachment 245671 [details]
ifcfg-bond1.21
Created attachment 245681 [details]
eth0
Created attachment 245691 [details]
eth1
Created attachment 245701 [details]
eth2
Created attachment 245711 [details]
eth3
Created attachment 245721 [details]
/etc/sysconfig/network
Reproducer of "ioctl 35123 returned -1":
have an interface name be longer than 8 characters, e.g. bond1.148
Reproducer of "error getting netmask for interface 1":
have an interface *without* IPv4 address (e.g. bond0 below) and make alias of it
*with* IPv4 address (e.g. bond0:0). It does not matter if the interface is eth0,
tap0 or bond0, important is the alias and the addresses.
bond0 Link encap:Ethernet HWaddr 00:18:8B:41:12:57
inet6 addr: fe80::218:8bff:fe41:1257/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
...
bond0:0 Link encap:Ethernet HWaddr 00:18:8B:41:12:57
inet addr:192.168.135.80 Bcast:192.168.135.255 Mask:255.255.255.0
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. patches were sent upstream: http://sourceforge.net/tracker/index.php?func=detail&aid=1826102&group_id=12694&atid=312694 http://sourceforge.net/tracker/index.php?func=detail&aid=1826088&group_id=12694&atid=312694 You can test packages at http://people.redhat.com/jsafrane/bugs/357121/ Please report if it works. OK, 5.3.1-20 installed and I see none of the errors in /var/log/messages. Looks good, Jan, thanks! An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0376.html |