[FATAL]:-Failed to complete obtain psql count Master gp_segment_configuration Script Exiting!

在使用 gpinitsystem 初始化系统时报如下错误

20190110:09:44:27:018010 gpinitsystem:mas:gpadmin-[INFO]:-Start Function ERROR_CHK
20190110:09:44:27:018010 gpinitsystem:mas:gpadmin-[INFO]:-End Function ERROR_CHK
20190110:09:44:27:018010 gpinitsystem:mas:gpadmin-[INFO]:-Start Function ERROR_EXIT

20190110:09:44:27:gpinitsystem:mas:gpadmin-[FATAL]:-Failed to complete obtain psql count Master gp_segment_configuration  Script Exiting!

20190110:09:44:27:018010 gpinitsystem:mas:gpadmin-[WARN]:-Script has left Greenplum Database in an incomplete state
20190110:09:44:27:018010 gpinitsystem:mas:gpadmin-[WARN]:-Run command /bin/bash /home/gpadmin/gpAdminLogs/backout_gpinitsystem_gpadmin_20190110_094356 to remove these changes
20190110:09:44:27:018010 gpinitsystem:mas:gpadmin-[INFO]:-Start Function BACKOUT_COMMAND
20190110:09:44:27:018010 gpinitsystem:mas:gpadmin-[INFO]:-End Function BACKOUT_COMMAND

https://github.com/greenplum-db/gpdb 搜索后找到如下解决办法:

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

参考:
https://github.com/greenplum-db/gpdb/issues/197

你可能感兴趣的:(greenplum)