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
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
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。