tiup cluster start tidb-join --init tidb-dashboard启动失败

cat tidb_dashboard_stderr.log

bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)

ldd --version看一下各个的glibc版本,看看你tidb集群版本的对应要求glibc版本

[tidb@db33 log]$ ldd --version
ldd (GNU libc) 2.17
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

我的tidb 是6.5.0 不知道要安装什么版本。

搜索一下 马上有

就是说先要在每台机器上编译安装 glibc-2.28.tar.gz

[tidb@db33 tmp]$ ldd --version
ldd (GNU libc) 2.28
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

tidb_dashboard 没有安装在pd的服务器上面。是不是要和某个pd安装在同一台机器上面啊

我所tidb_dashboard_stderr.log tidb_dashboard.log
两个文件删除了。现在在init 连tidb_dashboard连日志都不生成了

我把集群destroy了。重新部署。现在连pd也无法启动了。而且pd下面的log 也没有日志文件了

bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by bin/tidb-dashboard)
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by bin/tidb-dashboard)

我手动去script执行。又提示这个

我去31机器上手工执行script下的脚本 pd是可以正常启动的

glibc-2.29.tar.gz
glibc-2.32.tar.gz
glibc-2.33.tar.gz
安装以后就只提示
bin/tidb-dashboard: /lib64/libm.so.6: version `GLIBC_2.29’ not found (required by bin/tidb-dashboard)

但安装 glibc-2.34.tar.gz把系统都升级挂了
ls: symbol lookup error: /lib64/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE
所有命令都提示这个。ssh也无法连接了

我另一个集群也是 2.17为什么可以运行咧
只不过是tidb_dashboard没有分开是5.4.0的版本

Hi,这位同学,

TiDB Dashboard 从 v6.5.0 开始成为一个独立的组件。K8S 上 TiDB Operator v1.4.0 部署集群,已经支持使用 TiDBDashboard CRD,TiUP 独立部署 TiDB Dashboard 预预计将在 v6.6.0 支持。

楼主提到的问题,因为我们 CD 过程中使用了与 PD、TiDB 等内核组件不同的 base image builder,导致 glibc 版本不兼容内核的最低要求版本。

目前我们正在解决,尽快替换 v6.5.0 的 TiDB Dashboard image。各位也可以使用 PD 中内置的 Dashboard(该 Dashboard 会保留一段时间,短时间内不会从 PD 中去掉)。

有能力的同学也可以自己编译 dashboard 镜像,参考 contributing.mddockerfile

谢谢!

修复后的 v6.5.0 的 TiDB Dashboard image 预计在本周发布,到时候将直接替换下面两个 tag 下的 image:

  • pingcap/tidb-dashboard:latest
  • pingcap/tidb-dashboard:v6.5.0