搭建的mycat+haproxy完成后,客户端连接不上haproxy代理的端口的mycat,haproxy中的server和admin都是不行的,请求大家帮忙!

滑过浪潮ξ 2018-04-09 04:57:16
这是我搭建完成后的图片,所有的都启动起来了







但是监控界面显示的mycat没用,而且客户端的数据库连接工具也连接不了haproxy代理mycat的接口。

请大家帮忙!!谢谢
...全文
580 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq_16773023 2019-04-06
  • 打赏
  • 举报
回复
请问你最后解决了吗
滑过浪潮ξ 2018-04-10
  • 打赏
  • 举报
回复
这是启动后的日志 Apr 9 19:18:45 localhost haproxy[4038]: Stopping proxy admin_status in 0 ms. Apr 9 19:18:45 localhost haproxy[4038]: Stopping proxy allmycat_service in 0 ms. Apr 9 19:18:45 localhost haproxy[4038]: Stopping proxy allmycat_admin in 0 ms. Apr 9 19:18:45 localhost haproxy[4038]: Proxy admin_status stopped (FE: 28 conns, BE: 15 conns). Apr 9 19:18:45 localhost haproxy[4038]: Proxy allmycat_service stopped (FE: 16 conns, BE: 16 conns). Apr 9 19:18:45 localhost haproxy[4038]: Proxy allmycat_admin stopped (FE: 0 conns, BE: 0 conns). Apr 9 19:18:45 localhost haproxy[5630]: Proxy admin_status started. Apr 9 19:18:45 localhost haproxy[5630]: Proxy allmycat_service started. Apr 9 19:18:45 localhost haproxy[5630]: Proxy allmycat_admin started. Apr 9 19:18:45 localhost haproxy[5630]: Server allmycat_service/mycat_122 is DOWN, reason: Layer7 invalid response, check duration: 10ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue. Apr 9 19:18:46 localhost haproxy[5631]: Server allmycat_service/mycat_123 is DOWN, reason: Socket error, check duration: 17ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue. Apr 9 19:18:46 localhost haproxy[5631]: proxy allmycat_service has no server available! Apr 9 19:18:47 localhost haproxy[5631]: Server allmycat_admin/mycat_122_admin is DOWN, reason: Socket error, check duration: 12ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue. Apr 9 19:18:49 localhost haproxy[5631]: Server allmycat_admin/mycat_123_admin is DOWN, reason: Socket error, check duration: 10ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue. Apr 9 19:18:49 localhost haproxy[5631]: proxy allmycat_admin has no server available! Apr 9 19:29:28 localhost haproxy[5631]: Stopping proxy admin_status in 0 ms. Apr 9 19:29:28 localhost haproxy[5631]: Stopping proxy allmycat_service in 0 ms. Apr 9 19:29:28 localhost haproxy[5631]: Stopping proxy allmycat_admin in 0 ms. Apr 9 19:29:28 localhost haproxy[5631]: Proxy admin_status stopped (FE: 0 conns, BE: 0 conns). Apr 9 19:29:28 localhost haproxy[5631]: Proxy allmycat_service stopped (FE: 0 conns, BE: 0 conns). Apr 9 19:29:28 localhost haproxy[5631]: Proxy allmycat_admin stopped (FE: 0 conns, BE: 0 conns). Apr 9 19:29:28 localhost haproxy[5808]: Proxy admin_status started. Apr 9 19:29:28 localhost haproxy[5808]: Proxy allmycat_service started. Apr 9 19:29:28 localhost haproxy[5808]: Proxy allmycat_admin started. Apr 9 19:29:28 localhost haproxy[5808]: Server allmycat_service/mycat_122 is DOWN, reason: Layer7 invalid response, check duration: 18ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue. Apr 9 19:29:29 localhost haproxy[5809]: Server allmycat_service/mycat_123 is DOWN, reason: Socket error, check duration: 10ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue. Apr 9 19:29:29 localhost haproxy[5809]: proxy allmycat_service has no server available! Apr 9 19:29:30 localhost haproxy[5809]: Server allmycat_admin/mycat_122_admin is DOWN, reason: Socket error, check duration: 10ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.

50,530

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧