tidb-server启动不了

tidb-server重启起不来,看进程已经起来了,但端口没有,4000端口也没被占用。
做过缩容后扩容,服务器也重启过,还是起不来。


tidb那部分的参数去掉后重启也不行。
日志.txt (31.1 KB)

2 个赞

这个问题可能有其他原因,不确定是否已知 bug,可以看一下相关的 Release note。
https://docs.pingcap.com/zh/tidb/stable/release-6.5.2

建议升级到 v6.5.10,TiDB 数据库一般只会在最后的 10 这里修复 bug,不会引入新特性的问题。

1 个赞

https://github.com/pingcap/tidb/issues/42302

1 个赞

学习中,一起看看

看日志里面看到:[2024/08/29 12:33:30.516 +08:00] [ERROR] [domain.go:1880] [“init stats info failed”] [“take time”=8.222092838s] [error=“interface conversion: interface {} is nil, not *memory.bytesLimits”]

感觉升级到 6.5.10 吧,你升级 6.5.0 其实第三位版本太低了。https://docs.pingcap.com/tidb/stable/release-6.5.10

2 个赞

[2024/08/29 12:33:20.398 +08:00] [WARN] [base_client.go:252] [“[pd] failed to get cluster id”] [url=http://172.30.1.60:2379] [error=“[PD:client:ErrClientGetMember]error:type:UNKNOWN message:"[PD:server:ErrServerNotStarted]server not started" target:172.30.1.60:2379 status:READY: error:type:UNKNOWN message:"[PD:server:ErrServerNotStarted]server not started" target:172.30.1.60:2379 status:READY”]

日志上看,你这个pd都没起来啊,集群的大脑都不在线。

内网访问一下http://172.30.1.60:2379 看看能不能访问,这个pd的状态到底是怎么回事?

升级后可以了

1 个赞