Atlas日志里面报I have no server backend, closing
大家好,我用Atlas连接mysql,大多数情况能正常读写数据库的。但是有时却有问题,日志里面报如下错误:
2015-08-25 16:43:40: (warning) (libevent) event_del: event has no event_base set.
2015-08-25 16:43:40: (critical) last message repeated 1 times
2015-08-25 16:43:40: (critical) proxy-plugin.c.1450: I have no server backend, closing connection
2015-08-25 16:43:40: (critical) network-mysqld.c.1387: plugin_call(CON_STATE_READ_QUERY) failed
2015-08-25 16:43:51: (warning) (libevent) event_del: event has no event_base set.
2015-08-25 16:43:51: (critical) last message repeated 1 times
2015-08-25 16:43:51: (critical) proxy-plugin.c.1450: I have no server backend, closing connection
2015-08-25 16:43:51: (critical) network-mysqld.c.1387: plugin_call(CON_STATE_READ_QUERY) failed
2015-08-25 16:44:05: (warning) (libevent) event_del: event has no event_base set.
2015-08-25 16:44:05: (critical) last message repeated 1 times
2015-08-25 16:44:05: (critical) proxy-plugin.c.1450: I have no server backend, closing connection
2015-08-25 16:44:05: (critical) network-mysqld.c.1387: plugin_call(CON_STATE_READ_QUERY) failed
2015-08-25 16:44:33: (warning) (libevent) event_del: event has no event_base set.
2015-08-25 16:44:33: (critical) last message repeated 1 times
2015-08-25 16:44:33: (critical) proxy-plugin.c.1450: I have no server backend, closing connection
2015-08-25 16:44:33: (critical) network-mysqld.c.1387: plugin_call(CON_STATE_READ_QUERY) failed
2015-08-25 16:46:13: (warning) (libevent) event_del: event has no event_base set.
2015-08-25 16:46:13: (critical) last message repeated 1 times
2015-08-25 16:46:13: (critical) proxy-plugin.c.1450: I have no server backend, closing connection
2015-08-25 16:46:13: (critical) network-mysqld.c.1387: plugin_call(CON_STATE_READ_QUERY) failed
2015-08-25 16:46:27: (warning) (libevent) event_del: event has no event_base set.
2015-08-25 16:46:27: (critical) last message repeated 1 times
2015-08-25 16:46:27: (critical) proxy-plugin.c.1450: I have no server backend, closing connection
2015-08-25 16:46:27: (critical) network-mysqld.c.1387: plugin_call(CON_STATE_READ_QUERY) failed
2015-08-25 17:05:48: (warning) (libevent) event_del: event has no event_base set.
2015-08-25 17:05:48: (critical) last message repeated 1 times
2015-08-25 17:05:48: (critical) proxy-plugin.c.1450: I have no server backend, closing connection
2015-08-25 17:05:48: (critical) network-mysqld.c.1387: plugin_call(CON_STATE_READ_QUERY) failed
2015-08-25 17:08:36: (warning) (libevent) event_del: event has no event_base set.
2015-08-25 17:08:36: (critical) last message repeated 1 times
2015-08-25 17:08:36: (critical) proxy-plugin.c.1450: I have no server backend, closing connection
2015-08-25 17:08:36: (critical) network-mysqld.c.1387: plugin_call(CON_STATE_READ_QUERY) failed
2015-08-25 17:08:39: (warning) (libevent) event_del: event has no event_base set.
我的后台情况:
+-------------+------------------+-------+------+
| backend_ndx | address | state | type |
+-------------+------------------+-------+------+
| 1 | 10.70.26.39:3309 | up | rw |
| 2 | 127.0.0.1:3309 | up | ro |
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
原因定位了没?发现偶尔甚至会导致去写从库
也有可能是同一个用户,在master库和slave库上的用户名和密码不一样。我目前很少出现这种情况了,并在生产上使用。不过,我又遇到了一个问题,就是通过Atlas插入数据库的中文有的正常,有的乱码
感觉 和 不同网段有关系
我也遇到这个问题