GBase 8a
安装配置
文章

安装报错:host number:3 is different with host md5 number:1

发表于2024-02-28 00:56:39207次浏览2个评论

这个是3台虚拟机安装时报错 host number:3 is different with host md5 number:1

查看gcinstall.py 3198行 发现如下注释

def CheckLicenseHostNum():
   """
   GBase8a MPP identifys a machine by /etc/ssh/ssh_host_rsa_key.pub file, if this file is NOT qualified, it is a security problem.
   The function CheckLicenseHostNum is to check whether /etc/ssh/ssh_host_rsa_key.pub is qualified for identifying a machine.
   There are cases that if a VM is a hard copy/clone of another one, but the /etc/ssh/ssh_host_rsa_key.pub is NOT regenerated.
   To fix the error, locate the conflict machine,just rm /etc/ssh/ssh_host_* and reboot it, rerun gcinstall.py will probably work.
   """

 

根据提示 可以先将 /etc/ssh/ssh_host_* 备份 ,然后 rm /etc/ssh/ssh_host_* ,然后 reboot

评论

登录后才可以发表评论
用户头像
levvel发表于 9个月前
给你点个赞
崔哥发表于 7个月前
墙角数枝梅,凌寒独自开。遥知不是雪,为有暗香来。