tidb无法启动

v8.5.1 、UnionTech OS Server 20 4.19.0-91.77.50.uelc20.x86_64 、海光CPU

tiup 部署完后进行start tidb server无法启动,检查/var/log/messages 有如下报错
Mar 15 19:34:02 gzztycz-xxsn1d002-zbhxsec01w sshd[80599]: error: This platform does not support both privilege separation and compression
Mar 15 19:34:02 gzztycz-xxsn1d002-zbhxsec01w sshd[80599]: error: Compression disabled
Mar 15 19:34:04 gzztycz-xxsn1d002-zbhxsec01w systemd: tidb-4001.service: main process exited, code=exited, status=1/FAILURE
Mar 15 19:34:04 gzztycz-xxsn1d002-zbhxsec01w systemd: Unit tidb-4001.service entered failed state.
Mar 15 19:34:04 gzztycz-xxsn1d002-zbhxsec01w systemd: tidb-4001.service failed.

后尝试再sshd_config中添加了
UsePrivilegeSeparation yes
Compression no

UsePrivilegeSeparation no
Compression no
依然无法启动

-----补充—
tidb.log无信息,我把run_tidb.sh里2>> 改成 &>> ,tidb err 日志里也是空的

操作系统不支持了哈

This platform does not support both privilege separation and compression

看起来是不支持

看看当前用的操作系统是否在兼容列表中,
参见: TiDB 软件和硬件环境建议配置

https://docs.pingcap.com/zh/tidb/v8.1/hardware-and-software-requirements/#操作系统及平台要求

看下 tidb 实例日志呢

没有日志,我把run_tidb.sh里2>> 改成 &>> ,tidb err 日志里也是空的

换一个操作系统呢。

之前在其他机器试过麒麟,numa分配严重不均衡

麒麟系统好像是支持的用过,是不是绑核了 。

可以看下操作系统相关的系统配置,先设置常用的,然后根据监控在优化。

所有主机都重启了遍,err日志有信息了 tmp目录问题,之前编辑拓扑文件时 这个没替换

1 个赞

此话题已在最后回复的 7 天后被自动关闭。不再允许新回复。