$ gpinitsystem -c /usr/local/greenplum-db/gpconfigs /gpinitsystem_config
20150429:15:30:59:023693 gpcreateseg.sh:y153-hadoop-namenode2:gpadmin-[WARN]:-Failed to insert port=40000 in /data/primary/gpseg0/postgresql.conf on y153-hadoop-namenode2.vclound.com
20150429:15:30:59:023693 gpcreateseg.sh:y153-hadoop-namenode2:gpadmin-[INFO]:-End Function ED_PG_CONF
20150429:15:30:59:023693 gpcreateseg.sh:y153-hadoop-namenode2:gpadmin-[FATAL][0]:-Failed Update port number to 40000
主要原因是它是用ed编辑器(很古老的linux编辑器)来操作文件的,需要先安装才行
ed安装包http://rpmfind.net/linux/rpm2html/search.php?query=ed
$ rpm -ivh ed-1.1-3.3.el6.x86_64.rpm
greenplum初始化错误,Failed to insert port=40000
原文地址:http://nessfishl11.blog.51cto.com/1640535/1640972