arthas
arthas copied to clipboard
as-service.bat -pid 目标服务进程号 后显示 arthas agent telnet port is not ready
- [ ] 我已经在 issues 里搜索,没有重复的issue。
环境信息
-
arthas-boot.jar
或者as.sh
的版本: 3.7.1 - Arthas 版本: 3.7.1
- 操作系统版本: windows 服务器
- 目标进程的JVM版本: 1.8
- 执行
arthas-boot
的版本: 3.7.1
重现问题的步骤
- 使用 as-service.bat -pid 目标服务进程号 后显示 arthas agent telnet port is not ready
- 防火墙 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
把异常信息贴到这里
同样问题+1
遇到同样问题,换成使用端口号的方式可以成功启动
as-service.bat -port <port>