34222 发表于 2016-2-29 09:47:58

heartbeat报错解决

环境:

两台服务器,做httpd高可用。一主一备,当启动其中一台的时候,不报错,如果两台同时在线就会报错如下信息:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
heartbeat: 2016/02/27_19:45:58 ERROR: should_drop_message: attempted replay attack ?
heartbeat: 2016/02/27_19:45:59 ERROR: should_drop_message: attempted replay attack ?
heartbeat: 2016/02/27_19:46:00 ERROR: should_drop_message: attempted replay attack ?
heartbeat: 2016/02/27_19:46:01 ERROR: should_drop_message: attempted replay attack ?
heartbeat: 2016/02/27_19:46:02 ERROR: should_drop_message: attempted replay attack ?
heartbeat: 2016/02/27_19:46:03 ERROR: should_drop_message: attempted replay attack ?
heartbeat: 2016/02/27_19:46:04 ERROR: should_drop_message: attempted replay attack ?
heartbeat: 2016/02/27_19:46:05 ERROR: should_drop_message: attempted replay attack ?
heartbeat: 2016/02/27_19:46:06 ERROR: should_drop_message: attempted replay attack ?
heartbeat: 2016/02/27_19:46:07 ERROR: should_drop_message: attempted replay attack ?
heartbeat: 2016/02/27_19:46:08 WARN: 1 lost packet(s) for
heartbeat: 2016/02/27_19:46:08 info: No pkts missing from node1.etaoka.net!
heartbeat: 2016/02/27_19:46:08 ERROR: should_drop_message: attempted replay attack ?
heartbeat: 2016/02/27_19:46:09 ERROR: should_drop_message: attempted replay attack ?
heartbeat: 2016/02/27_19:46:09 ERROR: should_drop_message: attempted replay attack ?
heartbeat: 2016/02/27_19:46:09 ERROR: should_drop_message: attempted replay attack ?





后来发现是两台服务器(主、备)的主机名同名了,由于高可用依赖于主机名通信,所以不能出现同名的情况。于是改正之,正常运行!


页: [1]
查看完整版本: heartbeat报错解决