错误信息
安装时报:unknown host
20200328:07:29:33:023109 gpinitsystem:mdw:gpadmin-[INFO]:-Start Function PING_HOST
20200328:07:29:33:023109 gpinitsystem:mdw:gpadmin-[INFO]:-Start Function ERROR_EXIT
20200328:07:29:33:023109 gpinitsystem:mdw:gpadmin-[FATAL]:-Unknown host spshckdb01:
ping: spshckdb01: 未知的名称或服务
ping: spshckdb01: 未知的名称或服务 Script Exiting!
20200328:07:29:33:023109 gpinitsystem:mdw:gpadmin-[WARN]:-Script has left Greenplum Database in an incomplete state
20200328:07:29:33:023109 gpinitsystem:mdw:gpadmin-[WARN]:-Run command bash /home/gpadmin/gpAdminLogs/backout_gpinitsystem_gpadmin_20200328_072838 to remove these changes
20200328:07:29:33:023109 gpinitsystem:mdw:gpadmin-[INFO]:-Start Function BACKOUT_COMMAND
20200328:07:29:33:023109 gpinitsystem:mdw:gpadmin-[INFO]:-End Function BACKOUT_COMMAND
错误问题描述
1 最开始服务器名称spshckdb01,被修改成mdw
2 关于hosts文件已经配置好,检查无误
修改思路
查找整个服务器中,文件内容和 spshckdb01相同的
find . -name "*.*" |xargs grep "spshckdb01"
查找结果
找到关键信息,进入文件做修改
修改结果
再次执行初始化成功