开发者社区> 问答> 正文

CentOS 7.2 gpinitsystem失败

CentOS 7.2 gpinitsystem失败

20160124:13:16:44:023429 gpinitsystem:digoal:postgres-[INFO]:-Building the Master instance database, please wait...
20160124:13:16:55:023429 gpinitsystem:digoal:postgres-[INFO]:-Starting the Master in admin mode
20160124:13:17:09:gpinitsystem:digoal:postgres-[FATAL]:-Failed to complete obtain psql count Master gp_segment_configuration  Script Exiting!
20160124:13:17:09:023429 gpinitsystem:digoal:postgres-[WARN]:-Script has left Greenplum Database in an incomplete state
20160124:13:17:09:023429 gpinitsystem:digoal:postgres-[WARN]:-Run command /bin/bash /home/postgres/gpAdminLogs/backout_gpinitsystem_postgres_20160124_131637 to remove these changes
20160124:13:17:09:023429 gpinitsystem:digoal:postgres-[INFO]:-Start Function BACKOUT_COMMAND
20160124:13:17:09:023429 gpinitsystem:digoal:postgres-[INFO]:-End Function BACKOUT_COMMAND

展开
收起
德哥,digoal 2016-01-24 13:34:10 4633 1
1 条回答
写回答
取消 提交回答
  • 公益是一辈子的事, I am digoal, just do it. 阿里云数据库团队, 擅长PolarDB, PostgreSQL, DuckDB, ADB等, 长期致力于推动开源数据库技术、生态在中国的发展与开源产业人才培养. 曾荣获阿里巴巴麒麟布道师称号、2018届OSCAR开源尖峰人物.

    Later versions of systemd will clear out semaphores on user logout by default, which can interfere with gpinitsystem.

    Our solution to get Greenplum to install on CentOS 7.2 is to run the following as root before running gpinitsystem:

    echo "RemoveIPC=no" >> /etc/systemd/logind.conf
    service systemd-logind restart


    echo "RemoveIPC=no" >> /etc/systemd/logind.conf
    service systemd-logind restart

    2019-07-17 18:26:18
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
CentOS Nginx PHP JAVA多语言镜像使用手册 立即下载
CentOS Nginx PHP JAVA 多语言镜像使用手 立即下载
低代码开发师(初级)实战教程 立即下载