greenplum安装问题

发布于 2022-09-04 20:22:04 字数 3392 浏览 14 评论 0

1.系统环境和形相应软件版本: centos6.5 green-plum的版本是4.3.5.2

2.安装中出现的问题:
gpinitsystem -c gpinitsystem_config -h seghost
但是它一直报错:

pstop failed. (Reason='int() argument must be a string or a number,
not 'NoneType'') exiting...
20170419:15:55:11:gpinitsystem:mdw:gpadmin-[FATAL]:-Failed to stop new
Greenplum instance, check log file Script Exiting!

不知道是什么原因造成的,大神指教.

其中gpinitsystemd-log:
20170419:15:55:09:007789 gpcreateseg.sh:mdw:gpadmin-[INFO]:-End Function STOP_QE
20170419:15:55:09:007789 gpcreateseg.sh:mdw:gpadmin-[INFO]:-[0]-End Function PROCESS_QE
20170419:15:55:09:007789 gpcreateseg.sh:mdw:gpadmin-INFO:-End Main
20170419:15:55:09:001818 gpinitsystem:mdw:gpadmin-[INFO]:-End Function PARALLEL_WAIT
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-End Function PARALLEL_COUNT
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Start Function PARALLEL_SUMMARY_STATUS_REPORT
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:------------------------------------------------
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Parallel process exit status
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:------------------------------------------------
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Total processes marked as completed = 1
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Total processes marked as killed = 0
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Total processes marked as failed = 0
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:------------------------------------------------
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-End Function PARALLEL_SUMMARY_STATUS_REPORT
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-End Function CREATE_QES_PRIMARY
INSERT 0 1
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Deleting distributed backout files
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Removing back out file
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-No errors generated from parallel processes
CHECKPOINT
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Start Function STOP_QD_PRODUCTION
20170419:15:55:10:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Restarting the Greenplum instance in production mode
20170419:15:55:11:001818 gpinitsystem:mdw:gpadmin-[INFO]:-Start Function ERROR_EXIT
20170419:15:55:11:gpinitsystem:mdw:gpadmin-[FATAL]:-Failed to stop new Greenplum instance, check log file Script Exiting!

但是在gpAdminLogs目录下还有一个gpstop_20170419.log(相关内容为):
20170419:15:55:11:009635 gpstop:mdw:gpadmin-[INFO]:-Starting gpstop with args: -a -i -m -d /home/gpadmin/gpdata/master/gpseg-1
20170419:15:55:11:009635 gpstop:mdw:gpadmin-[INFO]:-Gathering information and validating the environment...
20170419:15:55:11:009635 gpstop:mdw:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20170419:15:55:11:009635 gpstop:mdw:gpadmin-[INFO]:-Obtaining Segment details from master...
20170419:15:55:11:009635 gpstop:mdw:gpadmin-[CRITICAL]:-gpstop failed. (Reason='int() argument must be a string or a number, not 'NoneType'') exiting...

小弟被困惑已经好几天了,求大神指导!!!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

蓝海 2022-09-11 20:22:04

困惑了还几天,这坑爬的真心难受.

需要在master上面安装ed即可:yum install ed -y

感情废物 2022-09-11 20:22:04

你的操作系统和 greenplum 版本都比较旧了。建议安装新的版本。

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文