暂无图片
[GAUSS-51900] : The current OS is not supported
我来答
分享
xulq
2020-03-12
[GAUSS-51900] : The current OS is not supported

[root@gaussdb11 script]# ./gs_preinstall -U omm -G dbgrp -X /opt/software/gaussdb/clusterconfig.xml
Traceback (most recent call last):
File “./gs_preinstall”, line 17, in
from gspylib.common.GaussLog import GaussLog
File “/opt/software/gaussdb/script/gspylib/common/GaussLog.py”, line 20, in
from gspylib.common.Common import DefaultValue
File “/opt/software/gaussdb/script/gspylib/common/Common.py”, line 63, in
from gspylib.os.gsplatform import g_Platform
File “/opt/software/gaussdb/script/gspylib/os/gsplatform.py”, line 1039, in
g_Platform = UserPlatform().userPlatform
File “/opt/software/gaussdb/script/gspylib/os/gsplatform.py”, line 1022, in init
raise Exception(ErrorCode.GAUSS_519[“GAUSS_51900”] + “Supported platforms are: %s.” % str(SUPPORT_WHOLE_PLATFORM_LIST))
Exception: [GAUSS-51900] : The current OS is not supported.Supported platforms are: [‘suse’, ‘redhat’, ‘centos’, ‘euleros’].
[root@gaussdb11 script]# uname -a
Linux gaussdb11 4.1.12-112.16.4.el7uek.x86_64 #2 SMP Mon Mar 12 23:57:12 PDT 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@gaussdb11 script]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5 (Maipo)
[root@gaussdb11 script]#

我来答
添加附件
收藏
分享
问题补充
7条回答
默认
最新
muggle

你的gaussdb 是什么版本。

暂无图片 评论
暂无图片 有用 0
xulq

gaussdb 100

暂无图片 评论
暂无图片 有用 0
xulq

感觉是python 脚本获取linux版本信息有问题呢?

暂无图片 评论
暂无图片 有用 0
muggle

/opt/software/gaussdb/script/gspylib/os/gsplatform.py

把这个文件的报错行相关的部份注释掉试试

暂无图片 评论
暂无图片 有用 0
xulq

[root@gaussdb11 script]# ./gs_preinstall -U omm -G dbgrp -X /opt/software/gaussdb/clusterconfig.xml
Traceback (most recent call last):
File “./gs_preinstall”, line 17, in
from gspylib.common.GaussLog import GaussLog
File “/opt/software/gaussdb/script/gspylib/common/GaussLog.py”, line 20, in
from gspylib.common.Common import DefaultValue
File “/opt/software/gaussdb/script/gspylib/common/Common.py”, line 63, in
from gspylib.os.gsplatform import g_Platform
File “/opt/software/gaussdb/script/gspylib/os/gsplatform.py”, line 820
fileName = os.path.normpath(fileName)
^
IndentationError: expected an indented block

暂无图片 评论
暂无图片 有用 0

您好,我也遇到您这个问题,请问您解决了吗?

暂无图片 评论
暂无图片 有用 0
Uzumaki Naruto

您好,我也遇到您这个问题,请问您解决了吗?

暂无图片 评论
暂无图片 有用 0
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏