测试环境:实验环境
OAT 版本号: 4.4.1 发布日期: 2026-02-06 18:00:00
oat-all-in-one-x86-441.tar
[root@ob11 ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[root@ob11 ~]#
[root@ob11 ~]#
[root@ob11 ~]# uname -a
Linux ob11 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@ob11 ~]#
OAT 添加observer服务器 进行初始化时,config_deps 步骤有报错
-bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory
如果此处忽略,设置为成功跳过。
后续 OTA 添加observer完成,自动同步到 OCP 云平台。
OCP 云平台进行主机标准化检查并修复后,依然会有警告。
Python Version ,检查主机安装的Python版本是否 2.7.x,确保相关 OceanBase脚本能够正常运行。建议用户自行安装。
尝试手动执行yum命令同样报错
-bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory
已经确认进行环境准备是,yum 已经配置好并且正常可用。
找了一台正常的服务器进行对比
尝试重建软连接后解决
推测 问题原因:
lrwxrwxrwx 1 root root 24 Mar 17 00:07 python → /etc/alternatives/python
subtask_config_deps.log (14.6 KB)



