【 TiDB 使用环境】生产环境
【 TiDB 版本】8.5.1
【复现路径】使用tiup安装tidb,使用最小集群模式。 使用 TiUP 部署 TiDB 集群 | TiDB 文档中心 (pingcap.com) 在执行检查集群存在的潜在风险 步骤时,报错numactl not usable,
【遇到的问题:问题现象及影响】错numactl not usable, /etc/profile.d/devtoolset-7.sh: line 1: scl_source: No such file or directory /etc/profile.d/devtoolset-7.sh: line 2: scl_source: No such file or directory /etc/profile.d/llvm-toolset-7.sh: line 1: scl_source: No such file or directory /etc/profile.d/llvm-toolset-7.sh: line 2: scl_source: No such file or directory /etc/profile.d/llvm-toolset-7.sh: line 4: scl_source: No such file or directory bash: numactl: command not found
【资源配置】进入到 TiDB Dashboard -集群信息 (Cluster Info) -主机(Hosts) 截图此页面
【复制黏贴 ERROR 报错的日志】
【其他附件:截图/日志/监控】
/etc/profile.d/devtoolset-7.sh: line 1: scl_source: No such file or directory /etc/profile.d/devtoolset-7.sh: line 2: scl_source: No such file or directory /etc/profile.d/llvm-toolset-7.sh: line 1: scl_source: No such file or directory /etc/profile.d/llvm-toolset-7.sh: line 2: scl_source: No such file or directory /etc/profile.d/llvm-toolset-7.sh: line 4: scl_source: No such file or directory
这个是环境变量设置有问题,执行一下source /etc/profile看是否报错
另外
bash: numactl: command not found 报错是没找到该命令,确认72.23.4.124已经安装numactl。
脚本能看下吗?/etc/profile.d/devtoolset-7.sh这个脚本里面有问题,124这台
/etc/profile.d/devtoolset-7.sh: line 1: scl_source: No such file or directory /etc/profile.d/devtoolset-7.sh: line 2: scl_source: No such file or directory /etc/profile.d/llvm-toolset-7.sh: line 1: scl_source: No such file or directory /etc/profile.d/llvm-toolset-7.sh: line 2: scl_source: No such file or directory /etc/profile.d/llvm-toolset-7.sh: line 4: scl_source: No such file or directory bash: numactl: command not found