更新时间:2023-12-11 GMT+08:00
分享

GAUSS-52400 -- GAUSS-52499

GAUSS-52400 : "Installation environment does not meet the desired result."

SQLSTATE: 无

错误原因:安装环境不能满足要求。

解决办法:使用gs_checkos检查操作系统是否满足安装要求。

GAUSS-52401 : "On systemwide basis, the maximum number of %s is not correct. the current %s value is:"

SQLSTATE: 无

错误原因:系统范围内每个信号集中的信号量/信号集/信号量最大数目不正确。当前%s的值为:。

解决办法:

  1. 执行cat /proc/sys/kernel/sem获取信号数量,检查SEMMSL、SEMMNI或者SEMMNS是否满足要求。例如:
    1
    2
    cat /proc/sys/kernel/sem
    250     32000   32      128
    

    250 SEMMSL max semaphores per array 信号集容纳最大信号数量

    32000 SEMMNS max semaphores system wide 所有信号的最大数量

    32 SEMOPM max ops per semop call 调用单个信号集中最大信号数量

    128 SEMMNI max number of arrays 信号集的最大值

  2. 以SEMMNI参数为例,执行ipcs -a | wc -l:
    1
    2
    ipcs -a | wc -l
    144
    
  3. 由于144 >128,所以参数设置超出范围,执行如下命令修改参数:
    1
    echo "500 641280 500 500" > /proc/sys/kernel/sem
    

GAUSS-52402 : "IP [%s] is not matched with hostname [%s]. \n"

SQLSTATE: 无

错误原因:IP与主机名不匹配。

解决办法:检查IP和主机名是否匹配,如果不匹配,则需要修改/etc/profile文件使其相匹配。

GAUSS-52403 : "Command \"%s\" does not exist or the user has no execute permission on %s."

SQLSTATE: 无

错误原因:命令不存在或者用户没有执行权限。

解决办法:1.检查命令是否存在;2.确认用户权限是否满足要求。

分享:

    相关文档

    相关产品