Symptoms:
gpinitsystem
fails while running. This error can be found in the
gpAdminLogs
directory report below:
copying template1 to postgres ... 20190310:19:59:55:gpcreateseg.sh:cmtolubcmgpmh01:gpadmin-[FATAL]:-Failed to substitute ##port in /xxx/dataxx/primary/gpsegxx/postgresql.conf on hostxxx Script Exiting!
20190310:19:59:55:gpcreateseg.hostxxx:gpadmin-[FATAL]:-Failed to insert listen_addresses='*' in /xxx/dataxxx/primary/gpsegxxx/postgresql.conf on hostxxx Script Exiting!
20190310:19:59:56:gpcreateseg.hostxxx:gpadmin-[FATAL]:-Failed to substitute #listen_addresses in /xxx/dataxx/primary/gpsegxx/postgresql.conf on cmtolubcmgpsg01-01 Script Exiting!
20190310:19:59:56:gpcreateseg.hostxxx:gpadmin-[FATAL]:-Failed to substitute #listen_addresses in /xxx/dataxx/primary/gpsegxx/postgresql.conf on hostxxx Script Exiting!
20190310:19:59:58:001826 gpcreateseg.hostxxx:gpadmin-[FATAL][14]:-Failed Update pg_hba.conf for master standby address xxx:xxx:xxx