在安装greenplum集群进行初始化的时候报错?不知道什么原因?-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

在安装greenplum集群进行初始化的时候报错?不知道什么原因?

2016-09-08 15:24:38 9346 4

本人在安装greenplum集群进行初始化的时候报错,1个节点做master,2个节点做Segment,1个节点做Master Standy。
在进行初始化数据库的时候:
[gpadmin@iZ115m3daskZ ~]$ gpinitsystem -c /home/gpadmin/conf/gpinitsystem_config -s iZ1191gmulmZ
find: 鈥opt/greenplum/greenplum-db/./greenplum-db-4.3.9.0鈥 Too many levels of symbolic links
20160908:15:16:33:011210 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Checking configuration parameters, please wait...
20160908:15:16:34:011210 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Reading Greenplum configuration file /home/gpadmin/conf/gpinitsystem_config
20160908:15:16:34:011210 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Locale has not been set in /home/gpadmin/conf/gpinitsystem_config, will set to default value
20160908:15:16:34:011210 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Locale set to en_US.utf8
20160908:15:16:34:011210 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-No DATABASE_NAME set, will exit following template1 updates
20160908:15:16:34:011210 gpinitsystem:iZ115m3daskZ:gpadmin-[WARN]:-CHECK_POINT_SEGMENTS variable not set, will set to default value
20160908:15:16:34:011210 gpinitsystem:iZ115m3daskZ:gpadmin-[WARN]:-ENCODING variable not set, will set to default UTF-8
20160908:15:16:34:011210 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-MASTER_MAX_CONNECT not set, will set to default value 250
20160908:15:16:34:011210 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Master IP address array = 10.25.21.225
20160908:15:16:34:011210 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Standby IP address array = 10.46.29.83
20160908:15:16:35:011210 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Checking configuration parameters, Completed
20160908:15:16:35:011210 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Commencing multi-home checks, please wait...
.20160908:15:16:35:gpinitsystem:iZ115m3daskZ:gpadmin-[FATAL]:-Unknown host iZ11mtchp6vZ Script Exiting!
报错
alert日志显示:
20160908:15:19:31:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Completed /home/gpadmin/conf/gpinitsystem_config dump to logfile
20160908:15:19:31:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Reading Greenplum configuration file /home/gpadmin/conf/gpinitsystem_config
20160908:15:19:31:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Locale has not been set in /home/gpadmin/conf/gpinitsystem_config, will set to default value
20160908:15:19:31:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Start Function CHK_LOCALE_KNOWN
20160908:15:19:31:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Locale check passed on this host
20160908:15:19:31:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-End Function CHK_LOCALE_KNOWN
20160908:15:19:31:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Locale set to en_US.utf8
20160908:15:19:31:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Dump current system locale to log file
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
20160908:15:19:31:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-End of system locale dump
20160908:15:19:31:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Start Function CHK_FILE
20160908:15:19:31:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Checking file /home/gpadmin/conf/seg_hosts
20160908:15:19:31:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-End Function CHK_FILE
20160908:15:19:31:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Completed check of file /home/gpadmin/conf/seg_hosts
20160908:15:19:31:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Start Function CHK_DUPLICATES
20160908:15:19:31:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-No duplicate segment instance hostnames found, will proceed
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-End Function CHK_DUPLICATES
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Setting up segment instance list array
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Checking write access to /home/gpadmin/gpdata/gpmaster on master host
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Write test passed /home/gpadmin/gpdata/gpmaster directory on master host
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-No DATABASE_NAME set, will exit following template1 updates
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[WARN]:-CHECK_POINT_SEGMENTS variable not set, will set to default value
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[WARN]:-ENCODING variable not set, will set to default UTF-8
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-MASTER_MAX_CONNECT not set, will set to default value 250
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Setting segment instance MAX_CONNECTIONS to
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Number of segment instance hosts = 3
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Start Function ERROR_CHK
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Successfully completed obtain IP address of Master host
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-End Function ERROR_CHK
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Master IP address array = 10.25.21.225
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Start Function ERROR_CHK
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Successfully completed obtain IP address of standby Master host
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-End Function ERROR_CHK
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Standby IP address array = 10.46.29.83
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Checking configuration parameters, Completed
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-End Function CHK_PARAMS
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Start Function CHK_MULTI_HOME
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Commencing multi-home checks, please wait...
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Start Function PING_HOST
20160908:15:19:32:015368 gpinitsystem:iZ115m3daskZ:gpadmin-[INFO]:-Start Function ERROR_EXIT
20160908:15:19:32:gpinitsystem:iZ115m3daskZ:gpadmin-[FATAL]:-Unknown host iZ11mtchp6vZ Script Exiting!
同样也一样的报错
不知道是什么原因?
哪位大师可以解释下?
谢谢

取消 提交回答
全部回答(4)
  • 1940417151020484
    2020-04-16 18:23:05

    grep -rn "iZ11mtchp6vZ" /home/gpadmin/ 有一个cache文件莫名其妙会被修改,手动改过来就好了。

    0 0
  • 1825875085351340
    2019-07-17 20:08:31

    我也遇到这个问题了,莫名奇妙
    ping 也能平通,ssh也能连,但初始化就是报:
    20170906:07:12:48:005011 gpinitsystem:mdw:gpadmin-[INFO]:-Start Function PING_HOST
    20170906:07:12:48:005011 gpinitsystem:mdw:gpadmin-[INFO]:-Start Function ERROR_EXIT
    20170906:07:12:48:gpinitsystem:mdw:gpadmin-[FATAL]:-Unknown host sdw1

    解决方法:
    添加/tmp/greenplum/seg_hosts_ip,里面填写IP,不写host,然后用IP的配置文件来初始化就可以了:
    gpinitsystem -c gpinitsystem_config -h /tmp/greenplum/seg_hosts_ip

    我也是刚学,欢迎大家多交流,qq:286376015

    0 0
  • 1084803977390416
    2019-07-17 20:08:31

    请问你这个错误时怎么解决的呢?

    0 0
  • 康贤
    2019-07-17 20:08:30

    .20160908:15:16:35:gpinitsystem:iZ115m3daskZ:gpadmin-[FATAL]:-Unknown host iZ11mtchp6vZ Script Exiting!

    你直接 ssh iZ11mtchp6vZ

    看看能不能连通

    0 0
添加回答
相关问答

18

回答

【大咖问答】对话PostgreSQL 中国社区发起人之一,阿里云数据库高级专家 德哥

阿里ACE 彭飞 2019-07-10 09:36:10 1039826浏览量 回答数 18

145

回答

【新手入门】云服务器linux使用手册

fanyue88888 2012-11-26 17:14:18 157701浏览量 回答数 145

8

回答

OceanBase 使用动画(持续更新)

mq4096 2019-02-20 17:16:36 337016浏览量 回答数 8

22

回答

爬虫数据管理【问答合集】

我是管理员 2018-08-10 16:37:41 147243浏览量 回答数 22

3

回答

请问postgres实时同步数据到mysql数据库有什么好的方案吗?

toni3 2019-06-29 14:55:43 116156浏览量 回答数 3

2

回答

mySQL数据库报错You have an error in your SQL syntax

落地花开啦 2016-02-14 16:09:24 128918浏览量 回答数 2

38

回答

安全组详解,新手必看教程

我的中国 2017-11-30 15:23:46 259843浏览量 回答数 38

21

回答

请教一下数据量有100万条左右要什么配置?

易网网络 2013-03-27 15:18:02 192640浏览量 回答数 21

78

回答

【2013.9.5修正版图文】新手如何使用阿里云(linux)服务器建站(搬站)

姑苏公子 2013-04-11 00:39:13 107998浏览量 回答数 78

103

回答

云虚拟主机使用教程完整版!!

梦丫头 2015-08-08 13:12:33 107604浏览量 回答数 103
+关注
0
文章
1
问答
问答排行榜
最热
最新
相关电子书
更多
《2021云上架构与运维峰会演讲合集》
立即下载
《零基础CSS入门教程》
立即下载
《零基础HTML入门教程》
立即下载