arthas icon indicating copy to clipboard operation
arthas copied to clipboard

as-service.bat -pid 目标服务进程号 后显示 arthas agent telnet port is not ready

Open thenextsupersun opened this issue 1 year ago • 2 comments

  • [ ] 我已经在 issues 里搜索,没有重复的issue。

环境信息

  • arthas-boot.jar 或者 as.sh 的版本: 3.7.1
  • Arthas 版本: 3.7.1
  • 操作系统版本: windows 服务器
  • 目标进程的JVM版本: 1.8
  • 执行arthas-boot的版本: 3.7.1

重现问题的步骤

  1. 使用 as-service.bat -pid 目标服务进程号 后显示 arthas agent telnet port is not ready
  2. 防火墙 3658 和 8563 tcp端口已经打开

期望的结果

What do you expected from the above steps?

实际运行的结果

实际运行结果,最好有详细的日志,异常栈。尽量贴文本。 pid:5552 port: Preparing arthas service and injecting arthas agent to proc arthas srv type:type=own arthas srv binPath="D:\arthas-bin-3.7.1\as-service" [sc] CreateService 成功 [sc] ChangeServiceConfig 成功 [sc]ContentService 失败 1062: 服务尚未启动。

Waitting for arthas agent ... checking checking checking checking checking checking checking checking checking Arthas agent telnet port is not ready,maybe inject failed

把异常信息贴到这里

thenextsupersun avatar Nov 16 '23 02:11 thenextsupersun

同样问题+1

xqzw123 avatar Feb 02 '24 03:02 xqzw123

遇到同样问题,换成使用端口号的方式可以成功启动

as-service.bat -port <port>

timshinlee avatar Mar 20 '24 01:03 timshinlee