Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HA模式启动报错 #19

Open
dba7788 opened this issue Nov 30, 2020 · 4 comments
Open

HA模式启动报错 #19

dba7788 opened this issue Nov 30, 2020 · 4 comments

Comments

@dba7788
Copy link

dba7788 commented Nov 30, 2020

image
请问下这个到底是哪个连接问题啊?里面就是mq,mongo的账号,我看密码都是对的呀 .canal server部署的是2个HA模式,这个client不可以同时启动2个吗?

@liukelin
Copy link
Owner

liukelin commented Dec 1, 2020

您好,看报错是连接 canal server 错误了。 看看canal server 是否监听的是 11111 端口。

@dba7788
Copy link
Author

dba7788 commented Dec 1, 2020

您好,非常感谢您能回复,如果可以加我微信可以吗,wxid_to7i55vaqpi122 ,非常感谢您。我这边client启动了。但是又有新问题。现在我部署的是HA模式,3台服务器部署zookeeper,2台服务器运行canal server(ali 1.1.5版本deployer)+ canal client (这个是您这个开源项目)
遇到2个问题:
第1个是:在2个服务器分别启动server 和client,但是只能启动一个client端,另外一个服务器上面的client端启动不了,client conf没有配置zk地址的参数。启动报错如下截图:
image

第2个是:模拟2个canal server断了一个,然后zookeeper running节点也切换了变成了另外一个在运行的canal server,zk里面的位点信息也是最新的。但是这个时候手动启动了第2个服务器的client端,发现读取的点位不是zk存的最新位点

@dba7788 dba7788 changed the title 启动报错 HA模式启动报错 Dec 1, 2020
@liukelin
Copy link
Owner

liukelin commented Dec 2, 2020

client 端没必要启动2个的。

@liukelin
Copy link
Owner

liukelin commented Dec 2, 2020

不客气,一起讨论学习。 微信号加不了。 我的是 314566990

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants