报错的日志:
[gpadmin@mdw gpconfigs]$ gpinitsystem -c /home/gpadmin/gpconfigs/gpinitsystem_config -h /opt/gpinit/all_host 20161208:15:49:46:013093 gpinitsystem:mdw:gpadmin-[INFO]:-Checking configuration parameters, please wait... 20161208:15:49:46:013093 gpinitsystem:mdw:gpadmin-[INFO]:-Reading Greenplum configuration file /home/gpadmin/gpconfigs/gpinitsystem_config 20161208:15:49:46:013093 gpinitsystem:mdw:gpadmin-[INFO]:-Locale has not been set in /home/gpadmin/gpconfigs/gpinitsystem_config, will set to default value 20161208:15:49:46:013093 gpinitsystem:mdw:gpadmin-[INFO]:-Locale set to en_US.utf8 20161208:15:49:46:013093 gpinitsystem:mdw:gpadmin-[INFO]:-MASTER_MAX_CONNECT not set, will set to default value 250 20161208:15:49:46:013093 gpinitsystem:mdw:gpadmin-[INFO]:-Checking configuration parameters, Completed 20161208:15:49:46:013093 gpinitsystem:mdw:gpadmin-[INFO]:-Commencing multi-home checks, please wait... .20161208:15:49:46:gpinitsystem:mdw:gpadmin-[FATAL]:-Unknown host mdw Script Exiting!
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 172.18.210.7 s7.bigplus.sunsheen.cn mdw 172.18.210.8 s8.bigplus.sunsheen.cn smdw 172.18.210.9 s9.bigplus.sunsheen.cn sdw1 172.18.210.10 s10.bigplus.sunsheen.cn sdw2
mdw smdw sdw1 sdw2
通过ssh命令都能连接上mdw,smdw,sdw1,sdw2这四台服务器,但是初始化的时候就报无法识别。
请帮忙解答一下,谢谢了。
gpadmin用户没有ping的权限
你应该在hosts中配置这台机器
mdw对应的ip啊,
比如
192.168.0.2 mdw
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。