开发者社区 > 云原生 > 正文

本机有很多服务 其中一个服务arthas一直进不去 包这个错 哪位大佬遇到过? 2023-09-0

本机有很多服务 其中一个服务arthas一直进不去 包这个错 哪位大佬遇到过?

2023-09-05 14:41:35 [arthas-binding-thread] ERROR c.t.a.c.shell.handlers.BindHandler -Error listening term server:
java.lang.IllegalArgumentException: hostname can't be null
at java.net.InetSocketAddress.checkHost(InetSocketAddress.java:149)
at java.net.InetSocketAddress.(InetSocketAddress.java:216)
at com.alibaba.arthas.deps.io.netty.util.internal.SocketUtils$10.run(SocketUtils.java:181)
at com.alibaba.arthas.deps.io.netty.util.internal.SocketUtils$10.run(SocketUtils.java:178)
at java.security.AccessController.doPrivileged(Native Method)
at com.alibaba.arthas.deps.io.netty.util.internal.SocketUtils.socketAddress(SocketUtils.java:178)
at com.alibaba.arthas.deps.io.netty.bootstrap.AbstractBootstrap.bind(AbstractBootstrap.java:253)
at com.taobao.arthas.core.shell.term.impl.http.NettyWebsocketTtyBootstrap.start(NettyWebsocketTtyBootstrap.java:76)
at com.taobao.arthas.core.shell.term.impl.http.NettyWebsocketTtyBootstrap.start(NettyWebsocketTtyBootstrap.java:112)
at com.taobao.arthas.core.shell.term.impl.HttpTermServer.listen(HttpTermServer.java:52)
at com.taobao.arthas.core.shell.impl.ShellServerImpl.listen(ShellServerImpl.java:137)
at com.taobao.arthas.core.server.ArthasBootstrap.bind(ArthasBootstrap.java:458)
at com.taobao.arthas.core.server.ArthasBootstrap.(ArthasBootstrap.java:157)
at com.taobao.arthas.core.server.ArthasBootstrap.getInstance(ArthasBootstrap.java:596)
at com.taobao.arthas.core.server.ArthasBootstrap.getInstance(ArthasBootstrap.java:584)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.taobao.arthas.agent334.AgentBootstrap.bind(AgentBootstrap.java:182)
at com.taobao.arthas.agent334.AgentBootstrap.access$000(AgentBootstrap.java:20)
at com.taobao.arthas.agent334.AgentBootstrap$1.run(AgentBootstrap.java:152)
2023-09-05 14:41:35 [arthas-binding-thread] ERROR c.t.a.core.server.ArthasBootstrap -Error during start as-server
java.lang.IllegalStateException: Arthas failed to bind telnet or http port! Telnet port: 3658, http port: 8563
at com.taobao.arthas.core.server.ArthasBootstrap.bind(ArthasBootstrap.java:462)
at com.taobao.arthas.core.server.ArthasBootstrap.(ArthasBootstrap.java:157)
at com.taobao.arthas.core.server.ArthasBootstrap.getInstance(ArthasBootstrap.java:596)
at com.taobao.arthas.core.server.ArthasBootstrap.getInstance(ArthasBootstrap.java:584)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.taobao.arthas.agent334.AgentBootstrap.bind(AgentBootstrap.java:182)
at com.taobao.arthas.agent334.AgentBootstrap.access$000(AgentBootstrap.java:20)
at com.taobao.arthas.agent334.AgentBootstrap$1.run(AgentBootstrap.java:152)
2023-09-05 14:41:35 [arthas-binding-thread] INFO c.t.a.core.server.ArthasBootstrap -as-server destroy completed.

展开
收起
数据大拿 2023-09-05 16:48:38 102 0
1 条回答
写回答
取消 提交回答
  • java -jar arthas-boot.jar --target-ip localhost试试

    此答案来自钉钉群“Arthas开源交流群”

    2023-09-05 16:50:46
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

相关电子书

更多
Arthas应用诊断利器-新特征介绍 立即下载
使用Arthas 抽丝剥茧深入应用-线上诊断利器之外 立即下载
workshop专场--容器、消息&IoT专场-开发者动手实践营-容器、消息和IoT-Java诊断利器Arthas排查问题实践 立即下载