TiKV startup failure error, please help to check the reason?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tikv启动失败报错,帮忙看下是什么原因?

| username: 月明星稀

[TiDB Usage Environment] Production Environment
[TiDB Version] 6.5.0
[Reproduction Path] The error occurs even after redeployment, one machine fails to start
[Encountered Problem: Issue Phenomenon and Impact] See the following error log
[Log]
[2023/08/08 19:05:26.050 +08:00] [ERROR] [] [“{"created":"@1691492726.049934814","description":"No address added out of total 1 resolved","file":"/rust/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.10.3+1.44.0-patched/grpc/src/core/ext/transport/chttp2/server/chttp2_server.cc","file_line":936,"referenced_errors":[{"created":"@1691492726.049930094","description":"Failed to add any wildcard listeners","file":"/rust/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.10.3+1.44.0-patched/grpc/src/core/lib/iomgr/tcp_server_posix.cc","file_line":349,"referenced_errors":[{"created":"@1691492726.049917204","description":"Unable to configure socket","fd":89,"file":"/rust/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.10.3+1.44.0-patched/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":218,"referenced_errors":[{"created":"@1691492726.049913173","description":"Address already in use","errno":98,"file":"/rust/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.10.3+1.44.0-patched/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":191,"os_error":"Address already in use","syscall":"bind"}]},{"created":"@1691492726.049929394","description":"Unable to configure socket","fd":89,"file":"/rust/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.10.3+1.44.0-patched/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":218,"referenced_errors":[{"created":"@1691492726.049927094","description":"Address already in use","errno":98,"file":"/rust/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.10.3+1.44.0-patched/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":191,"os_error":"Address already in use","syscall":"bind"}]}]}]}”]

| username: zhanggame1 | Original post link

Did you deploy using the hostname?

| username: 月明星稀 | Original post link

No, deploy using IP.

| username: ShawnYan | Original post link

Port is already in use.

By the way, is this a new cluster? Why not use the new version?

| username: redgame | Original post link

“Address already in use,” the port is already in use.

| username: tidb菜鸟一只 | Original post link

Use telnet to check the IP and port to see if it is already in use.

| username: zhanggame1 | Original post link

Check the ports with netstat -natp.

| username: 大飞哥online | Original post link

“Address already in use” has been mentioned multiple times, this needs to be looked into.

| username: 裤衩儿飞上天 | Original post link

IP conflict

| username: ffeenn | Original post link

It seems like he deployed two KV instances on one server.

| username: cy6301567 | Original post link

There is probably an address port conflict.