码迷,mamicode.com
首页 > 其他好文 > 详细

greenplum初始化错误,Failed to insert port=40000

时间:2015-04-30 20:19:10      阅读:728      评论:0      收藏:0      [点我收藏+]

标签:greenplum   ed   

$
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

标签:greenplum   ed   

原文地址:http://nessfishl11.blog.51cto.com/1640535/1640972

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!