dianping / cat

CAT 作为服务端项目基础组件,提供了 Java, C/C++, Node.js, Python, Go 等多语言客户端,已经在美团点评的基础架构中间件框架(MVC框架,RPC框架,数据库框架,缓存框架等,消息队列,配置系统等)深度集成,为美团点评各业务线提供系统丰富的性能指标、健康状况、实时告警等。
Apache License 2.0
18.63k stars 5.42k forks source link

arm64架构的linux系统部署cat3.0时2280端口没有启动 #2342

Open hillangle opened 1 month ago

hillangle commented 1 month ago

如题,想确认一下cat是否支持arm64架构的linux系统部署,目前的部署状态是cat服务可正常启动,但是由于链接不上2280,导致服务自动停止

qmwu2000 commented 1 month ago

我没有试过,你自己可以查查错误日志,为什么系统侦听不了 2280 端口,正常情况下不应该有这个问题的。

On Jul 26, 2024, at 10:57, hillangle @.***> wrote:

如题,想确认一下cat是否支持arm64架构的linux系统部署,目前的部署状态是cat服务可正常启动,但是由于链接不上2280,导致服务自动停止

— Reply to this email directly, view it on GitHub https://github.com/dianping/cat/issues/2342, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE77OGGYCS7RYZIMKKJ3ZOG3JHAVCNFSM6AAAAABLPV4VTGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTCMZRGI2DCOI. You are receiving this because you are subscribed to this thread.

hillangle commented 1 month ago

我没有试过,你自己可以查查错误日志,为什么系统侦听不了 2280 端口,正常情况下不应该有这个问题的。 On Jul 26, 2024, at 10:57, hillangle @.***> wrote: 如题,想确认一下cat是否支持arm64架构的linux系统部署,目前的部署状态是cat服务可正常启动,但是由于链接不上2280,导致服务自动停止 — Reply to this email directly, view it on GitHub <#2342>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE77OGGYCS7RYZIMKKJ3ZOG3JHAVCNFSM6AAAAABLPV4VTGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTCMZRGI2DCOI. You are receiving this because you are subscribed to this thread.

问题是没有看到任何报错,只有提示服务连接不成功 image

qmwu2000 commented 1 month ago

看起来好像是 server 还没有绑定好端口,channel manager 就去连接了而不成功。后面应该还有重试逻辑吧?除非 server 一直没有绑定成功

On Jul 26, 2024, at 11:30, hillangle @.***> wrote:

我没有试过,你自己可以查查错误日志,为什么系统侦听不了 2280 端口,正常情况下不应该有这个问题的。 … <x-msg://9/#> On Jul 26, 2024, at 10:57, hillangle @.***> wrote: 如题,想确认一下cat是否支持arm64架构的linux系统部署,目前的部署状态是cat服务可正常启动,但是由于链接不上2280,导致服务自动停止 — Reply to this email directly, view it on GitHub <#2342 https://github.com/dianping/cat/issues/2342>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE77OGGYCS7RYZIMKKJ3ZOG3JHAVCNFSM6AAAAABLPV4VTGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTCMZRGI2DCOI. You are receiving this because you are subscribed to this thread.

问题是没有看到任何报错,只有提示服务连接不成功 image.png (view on web) https://github.com/user-attachments/assets/38fd82ed-cc94-4802-bc96-6e2fc8fe1b83 — Reply to this email directly, view it on GitHub https://github.com/dianping/cat/issues/2342#issuecomment-2251893836, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE76BKJLLUZ77LXPZ37TZOG7ERAVCNFSM6AAAAABLPV4VTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRHA4TGOBTGY. You are receiving this because you commented.

hillangle commented 1 month ago

看起来好像是 server 还没有绑定好端口,channel manager 就去连接了而不成功。后面应该还有重试逻辑吧?除非 server 一直没有绑定成功 On Jul 26, 2024, at 11:30, hillangle @.> wrote: 我没有试过,你自己可以查查错误日志,为什么系统侦听不了 2280 端口,正常情况下不应该有这个问题的。 … <x-msg://9/#> On Jul 26, 2024, at 10:57, hillangle @.> wrote: 如题,想确认一下cat是否支持arm64架构的linux系统部署,目前的部署状态是cat服务可正常启动,但是由于链接不上2280,导致服务自动停止 — Reply to this email directly, view it on GitHub <#2342 <#2342>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE77OGGYCS7RYZIMKKJ3ZOG3JHAVCNFSM6AAAAABLPV4VTGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTCMZRGI2DCOI. You are receiving this because you are subscribed to this thread. 问题是没有看到任何报错,只有提示服务连接不成功 image.png (view on web) https://github.com/user-attachments/assets/38fd82ed-cc94-4802-bc96-6e2fc8fe1b83 — Reply to this email directly, view it on GitHub <#2342 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE76BKJLLUZ77LXPZ37TZOG7ERAVCNFSM6AAAAABLPV4VTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRHA4TGOBTGY. You are receiving this because you commented.

server绑定端口在哪里配置?我在appdata文件夹里的server.xml里面配置了remote-servers image 18003是cat的服务端口,是指这里么?

qmwu2000 commented 1 month ago

Server 默认会自动绑定到 2280 端口,IP 地址是自动探测的。有一种可能是探测的 IP 地址不对引起了。

你可以用命令 'netstat -na | grep LISTEN | grep 2280’ 看看,到底CAT 绑定到了哪个 IP 地址。

On Jul 26, 2024, at 11:58, hillangle @.***> wrote:

看起来好像是 server 还没有绑定好端口,channel manager 就去连接了而不成功。后面应该还有重试逻辑吧?除非 server 一直没有绑定成功 … <x-msg://10/#> On Jul 26, 2024, at 11:30, hillangle @.> wrote: 我没有试过,你自己可以查查错误日志,为什么系统侦听不了 2280 端口,正常情况下不应该有这个问题的。 … x-msg://9/# On Jul 26, 2024, at 10:57, hillangle @.> wrote: 如题,想确认一下cat是否支持arm64架构的linux系统部署,目前的部署状态是cat服务可正常启动,但是由于链接不上2280,导致服务自动停止 — Reply to this email directly, view it on GitHub <#2342 https://github.com/dianping/cat/issues/2342 <#2342 https://github.com/dianping/cat/issues/2342>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE77OGGYCS7RYZIMKKJ3ZOG3JHAVCNFSM6AAAAABLPV4VTGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTCMZRGI2DCOI. You are receiving this because you are subscribed to this thread. 问题是没有看到任何报错,只有提示服务连接不成功 image.png (view on web) https://github.com/user-attachments/assets/38fd82ed-cc94-4802-bc96-6e2fc8fe1b83 — Reply to this email directly, view it on GitHub <#2342 (comment) https://github.com/dianping/cat/issues/2342#issuecomment-2251893836>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE76BKJLLUZ77LXPZ37TZOG7ERAVCNFSM6AAAAABLPV4VTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRHA4TGOBTGY. You are receiving this because you commented.

server绑定端口在哪里配置?我在appdata文件夹里的server.xml里面配置了remote-servers image.png (view on web) https://github.com/user-attachments/assets/d3919bf0-5a9b-4618-8e1e-a8d958c12bcf 18003是cat的服务端口,是指这里么?

— Reply to this email directly, view it on GitHub https://github.com/dianping/cat/issues/2342#issuecomment-2251913229, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE75VDK7PU347WTQIOV3ZOHCN5AVCNFSM6AAAAABLPV4VTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRHEYTGMRSHE. You are receiving this because you commented.

hillangle commented 1 month ago

Server 默认会自动绑定到 2280 端口,IP 地址是自动探测的。有一种可能是探测的 IP 地址不对引起了。 你可以用命令 'netstat -na | grep LISTEN | grep 2280’ 看看,到底CAT 绑定到了哪个 IP 地址。 On Jul 26, 2024, at 11:58, hillangle @.***> wrote: 看起来好像是 server 还没有绑定好端口,channel manager 就去连接了而不成功。后面应该还有重试逻辑吧?除非 server 一直没有绑定成功 … <x-msg://10/#> On Jul 26, 2024, at 11:30, hillangle @.> wrote: 我没有试过,你自己可以查查错误日志,为什么系统侦听不了 2280 端口,正常情况下不应该有这个问题的。 … x-msg://9/# On Jul 26, 2024, at 10:57, hillangle @.> wrote: 如题,想确认一下cat是否支持arm64架构的linux系统部署,目前的部署状态是cat服务可正常启动,但是由于链接不上2280,导致服务自动停止 — Reply to this email directly, view it on GitHub <#2342 <#2342> <#2342 <#2342>>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE77OGGYCS7RYZIMKKJ3ZOG3JHAVCNFSM6AAAAABLPV4VTGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTCMZRGI2DCOI. You are receiving this because you are subscribed to this thread. 问题是没有看到任何报错,只有提示服务连接不成功 image.png (view on web) https://github.com/user-attachments/assets/38fd82ed-cc94-4802-bc96-6e2fc8fe1b83 — Reply to this email directly, view it on GitHub <#2342 (comment) <#2342 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE76BKJLLUZ77LXPZ37TZOG7ERAVCNFSM6AAAAABLPV4VTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRHA4TGOBTGY. You are receiving this because you commented. server绑定端口在哪里配置?我在appdata文件夹里的server.xml里面配置了remote-servers image.png (view on web) https://github.com/user-attachments/assets/d3919bf0-5a9b-4618-8e1e-a8d958c12bcf 18003是cat的服务端口,是指这里么? — Reply to this email directly, view it on GitHub <#2342 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE75VDK7PU347WTQIOV3ZOHCN5AVCNFSM6AAAAABLPV4VTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRHEYTGMRSHE. You are receiving this because you commented.

我好像说漏了一个关键异常,我这边cat服务启动之后2280的端口就没有被占用,但是一直没找到2280端口的服务没有启动起来的原因

qmwu2000 commented 1 month ago

最好是自己 debug 一下,才能了解到具体问题。

On Jul 26, 2024, at 14:25, hillangle @.***> wrote:

Server 默认会自动绑定到 2280 端口,IP 地址是自动探测的。有一种可能是探测的 IP 地址不对引起了。 你可以用命令 'netstat -na | grep LISTEN | grep 2280’ 看看,到底CAT 绑定到了哪个 IP 地址。 … <x-msg://11/#> On Jul 26, 2024, at 11:58, hillangle @.***> wrote: 看起来好像是 server 还没有绑定好端口,channel manager 就去连接了而不成功。后面应该还有重试逻辑吧?除非 server 一直没有绑定成功 … x-msg://10/# On Jul 26, 2024, at 11:30, hillangle @.> wrote: 我没有试过,你自己可以查查错误日志,为什么系统侦听不了 2280 端口,正常情况下不应该有这个问题的。 … x-msg://9/# On Jul 26, 2024, at 10:57, hillangle @.> wrote: 如题,想确认一下cat是否支持arm64架构的linux系统部署,目前的部署状态是cat服务可正常启动,但是由于链接不上2280,导致服务自动停止 — Reply to this email directly, view it on GitHub <#2342 https://github.com/dianping/cat/issues/2342 <#2342 https://github.com/dianping/cat/issues/2342> <#2342 https://github.com/dianping/cat/issues/2342 <#2342 https://github.com/dianping/cat/issues/2342>>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE77OGGYCS7RYZIMKKJ3ZOG3JHAVCNFSM6AAAAABLPV4VTGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTCMZRGI2DCOI. You are receiving this because you are subscribed to this thread. 问题是没有看到任何报错,只有提示服务连接不成功 image.png (view on web) https://github.com/user-attachments/assets/38fd82ed-cc94-4802-bc96-6e2fc8fe1b83 — Reply to this email directly, view it on GitHub <#2342 https://github.com/dianping/cat/issues/2342 (comment) <#2342 (comment) https://github.com/dianping/cat/issues/2342#issuecomment-2251893836>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE76BKJLLUZ77LXPZ37TZOG7ERAVCNFSM6AAAAABLPV4VTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRHA4TGOBTGY. You are receiving this because you commented. server绑定端口在哪里配置?我在appdata文件夹里的server.xml里面配置了remote-servers image.png (view on web) https://github.com/user-attachments/assets/d3919bf0-5a9b-4618-8e1e-a8d958c12bcf 18003是cat的服务端口,是指这里么? — Reply to this email directly, view it on GitHub <#2342 (comment) https://github.com/dianping/cat/issues/2342#issuecomment-2251913229>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE75VDK7PU347WTQIOV3ZOHCN5AVCNFSM6AAAAABLPV4VTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRHEYTGMRSHE. You are receiving this because you commented.

我好像说漏了一个关键异常,我这边cat服务启动之后2280的端口就没有被占用,但是一直没找到2280端口的服务没有启动起来的原因

— Reply to this email directly, view it on GitHub https://github.com/dianping/cat/issues/2342#issuecomment-2252060907, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE72FRV7R6GOHCJCRCYLZOHTW3AVCNFSM6AAAAABLPV4VTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJSGA3DAOJQG4. You are receiving this because you commented.