码迷,mamicode.com
首页 > 其他好文 > 详细

heartbeat报错 attempted replay attack

时间:2015-02-01 21:56:07      阅读:259      评论:0      收藏:0      [点我收藏+]

标签:heartbeat报错   heartbeat uuid   replay attack   

线上将两台lvs服务器做heartbeat热备,但是配置启动后,发现报错:

Jan 28 15:50:22 usvr-211 heartbeat: [2266]: ERROR: should_drop_message: attempted replay attack [usvr-210]? [gen = 1418354318, curgen = 1418354319]
Jan 28 15:50:24 usvr-211 heartbeat: [2266]: WARN: nodename usvr-210 uuid changed to usvr-211
Jan 28 15:50:24 usvr-211 heartbeat: [2266]: WARN: nodename usvr-211 uuid changed to usvr-210
Jan 28 15:50:24 usvr-211 heartbeat: [2266]: ERROR: should_drop_message: attempted replay attack [usvr-210]? [gen = 1418354318, curgen = 1418354319]
Jan 28 15:50:26 usvr-211 heartbeat: [2266]: WARN: nodename usvr-210 uuid changed to usvr-211
Jan 28 15:50:26 usvr-211 heartbeat: [2266]: WARN: nodename usvr-211 uuid changed to usvr-210
Jan 28 15:50:26 usvr-211 heartbeat: [2266]: ERROR: should_drop_message: attempted replay attack [usvr-210]? [gen = 1418354318, curgen = 1418354319]
Jan 28 15:50:28 usvr-211 heartbeat: [2266]: WARN: nodename usvr-210 uuid changed to usvr-211
Jan 28 15:50:28 usvr-211 heartbeat: [2266]: WARN: nodename usvr-211 uuid changed to usvr-210
Jan 28 15:50:28 usvr-211 heartbeat: [2266]: ERROR: should_drop_message: attempted replay attack [usvr-210]? [gen = 1418354318, curgen = 1418354319]
Jan 28 15:50:30 usvr-211 heartbeat: [2266]: WARN: nodename usvr-210 uuid changed to usvr-211
Jan 28 15:50:30 usvr-211 heartbeat: [2266]: WARN: nodename usvr-211 uuid changed to usvr-210
Jan 28 15:50:30 usvr-211 heartbeat: [2266]: ERROR: should_drop_message: attempted replay attack [usvr-210]? [gen = 1418354318, curgen = 1418354319]
Jan 28 15:50:32 usvr-211 heartbeat: [2266]: WARN: nodename usvr-210 uuid changed to usvr-211
Jan 28 15:50:32 usvr-211 heartbeat: [2266]: WARN: nodename usvr-211 uuid changed to usvr-210
Jan 28 15:50:32 usvr-211 heartbeat: [2266]: ERROR: should_drop_message: attempted replay attack [usvr-210]? [gen = 1418354318, curgen = 1418354319]
Jan 28 15:50:34 usvr-211 heartbeat: [2266]: WARN: nodename usvr-210 uuid changed to usvr-211
Jan 28 15:50:34 usvr-211 heartbeat: [2266]: WARN: nodename usvr-211 uuid changed to usvr-210

原因:由于usvr-211是通过vmware克隆复制usvr-210得到的,因此这两台设备完全一样。

而有人说是由于这两台机器的uuid不同导致,需让uuid重新生成。而uuid这个文件默认安装在/var/lib/heartbeat下,卸载并不被删除,如果不手动删除,重新安装仍会使用原来的

的uuid,因此删除后再重新安装果然ok。

heartbeat报错 attempted replay attack

标签:heartbeat报错   heartbeat uuid   replay attack   

原文地址:http://blog.csdn.net/yanggd1987/article/details/43306447

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!