Nov 15

[原]在红旗DC 4.1上启动heartbeat后,出现ICMP错误 雷阵雨

linuxing , 21:38 , 基础知识 » 故障处理 , 评论(0) , 引用(0) , 阅读(19829) , Via 本站原创 | |
假设eth0上配置的IP是:192.168.228.x,在配置完Cluster Server 4.0后,启动heartbeat:
service heartbeat start


服务器console的屏幕上一直会有这样的信息刷屏(这个信息作为kernel日志写入了/var/log/messages文件中):
xxx.xxx.xxx.xxx sent an invalid ICMP type 11, code 0 error to a broadcast: xxx.xxx.xxx.xxx


虽然此问题并不影响服务器的运行,而且只出现在第一个屏幕中,但有碍查看日志文件,为此,决定想办法把他去掉:
考虑,设置iptables把发出的icmp包抛弃,但无效;
通过查看网上的资料,发现:

可以通过下面两种方法:
1、运行
sysctl –w net.ipv4.icmp_ignore_bogus_error_response=1

2、修改/etc/sysctl.conf文件,在最后添加
net.ipv4.icmp_ignore_bogus_error_responses=1

然后运行:
sysctl -p

使之生效。

另外,升级到最新的红旗 Server SP1光盘,用新的核心也可以解决此问题。
Tags: ,
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]