Op 04-10-2023 om 09:25 schreef jaejong:
Hi Wei ZHOU!
Yes, I can ping to server ip(10.0.33.1) from SSVM and SPVM.
netstat does not report about 0.0.0.0:8250.
Is it right?
Oh, then what is the problems!!
Yes. It's normal that it shows this way.
If it listens on IPv6, it will also listen on IPv4. That's how it shows
in Linux.
Wido
-----Original Message-----
From: "Wei ZHOU"<ustcweiz...@gmail.com>
To: <users@cloudstack.apache.org>;
Cc:
Sent: 2023-10-04 (수) 15:31:50 (GMT+09:00)
Subject: Re: server listen ipv6 not ipv4
Hi,
The netstat output looks ok.
Can you check the IP 10.0.33.1 is reachable from system vm ?
-Wei
On Wed, 4 Oct 2023 at 03:30, jaejong <cb...@naver.com> wrote:
OS : Rocky 8.8
ACS : 4.18.1
ACS management server listem 8250 port only from ipv6(tcp6)
So SystemVMs can not connect to server.
How to Fix to listen on ipv4?
2023-10-04 00:18:10,281 INFO [cloud.agent.Agent] (main:null) Agent [id =
2 : type = PremiumSecondaryStorageResource : zone = 1 : pod = 1 : workers =
5 : host = 10.0.33.1 : port = 8250
2023-10-04 00:18:10,300 INFO [utils.nio.NioClient] (main:null) Connecting
to 10.0.33.1:8250
2023-10-04 00:18:13,358 ERROR [utils.nio.NioConnection] (main:null) Unable
to initialize the threads.
java.net.NoRouteToHostException: No route to host
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Net.java:483)
at java.base/sun.nio.ch.Net.connect(Net.java:472)
at java.base/sun.nio.ch
.SocketChannelImpl.connect(SocketChannelImpl.java:692)
at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
at com.cloud.agent.Agent.start(Agent.java:283)
at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:454)
at
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
at com.cloud.agent.AgentShell.start(AgentShell.java:511)
at com.cloud.agent.AgentShell.main(AgentShell.java:541)
$ netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 0.0.0.0:892 0.0.0.0:*
LISTEN 1533/rpc.mountd
tcp 0 0 0.0.0.0:2049 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:32803 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:3306 0.0.0.0:*
LISTEN 1127/mysqld
tcp 0 0 0.0.0.0:111 0.0.0.0:*
LISTEN 1/systemd
tcp 0 0 0.0.0.0:662 0.0.0.0:*
LISTEN 1532/rpc.statd
tcp 0 0 0.0.0.0:22 0.0.0.0:*
LISTEN 1036/sshd
tcp6 0 0 :::8250 :::*
LISTEN 1454/java
tcp6 0 0 :::36667 :::*
LISTEN 1454/java
tcp6 0 0 :::892 :::*
LISTEN 1533/rpc.mountd
tcp6 0 0 :::41533 :::*
LISTEN 1454/java
tcp6 0 0 :::2049 :::*
LISTEN -
tcp6 0 0 :::9090 :::*
LISTEN 1454/java
tcp6 0 0 :::32803 :::*
LISTEN -
tcp6 0 0 :::33060 :::*
LISTEN 1127/mysqld
tcp6 0 0 :::111 :::*
LISTEN 1/systemd
tcp6 0 0 :::8080 :::*
LISTEN 1454/java
tcp6 0 0 :::662 :::*
LISTEN 1532/rpc.statd
tcp6 0 0 :::22 :::*
LISTEN 1036/sshd