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

canal 1.17 版本,通过命令行可以启动 canal.deploy,但是通过 web ui 想通过 rocketmq 来处理 binlog 的话就一直启动不成功,且还原配置后也无法通过 web ui 启动成功 #5348

Open
menghuan opened this issue Dec 9, 2024 · 1 comment

Comments

@menghuan
Copy link

menghuan commented Dec 9, 2024

可以看到 第一次是启动成功的,且通过 web ui 可以看到 server 管理里面是启动成功的
2024-12-09 20:40:17.453 [main] INFO com.alibaba.otter.canal.deployer.CanalLauncher - ## set default uncaught exception handler
2024-12-09 20:40:17.461 [main] INFO com.alibaba.otter.canal.deployer.CanalLauncher - ## load canal configurations
2024-12-09 20:40:18.050 [main] INFO com.alibaba.otter.canal.deployer.CanalStarter - ## start the canal server.
2024-12-09 20:40:18.116 [main] INFO com.alibaba.otter.canal.deployer.CanalController - ## start the canal server[192.168.31.11(192.168.31.11):11111]
2024-12-09 20:40:18.238 [main] INFO com.alibaba.otter.canal.deployer.CanalStarter - ## the canal server is running now ......
2024-12-09 20:40:20.035 [canal-instance-scan-0] INFO com.alibaba.otter.canal.deployer.CanalController - auto notify start huazai_product successful.

当通过 web ui 修改配置:
canal.serverMode = tcp 改为 canal.serverMode = rocketMQ
添加
canal.mq.servers=127.0.0.1:9876
canal.mq.topic=product_sku_to_es
配置后,保存就报错了,如下:

2024-12-09 20:49:32.744 [canal-server-scan-0] ERROR com.alibaba.otter.canal.deployer.CanalLauncher - scan failed
com.alibaba.otter.canal.common.CanalException: com.alibaba.otter.canal.server.netty.CanalServerWithNetty isn't start , please check

还原配置保存后也是同样报错,请问下我该如何排查并解决这个问题呢?谢谢

@1036225283
Copy link

把日志放开,这样更容易排查写,控制台的日志也打开

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