修改完pg_hba.conf檔案之后,執行gpstop -u失敗
[gpadmin@ts-greenplum-1 gpseg-1]$ gpstop -u
20190830:02:09:05:029460 gpstop:ts-greenplum-1:gpadmin-[INFO]:-Starting gpstop with args: -u
20190830:02:09:05:029460 gpstop:ts-greenplum-1:gpadmin-[INFO]:-Gathering information and validating the environment...
20190830:02:09:05:029460 gpstop:ts-greenplum-1:gpadmin-[INFO]:-Obtaining Greenplum Master catalog information
20190830:02:09:05:029460 gpstop:ts-greenplum-1:gpadmin-[INFO]:-Obtaining Segment details from master...
20190830:02:09:05:029460 gpstop:ts-greenplum-1:gpadmin-[CRITICAL]:-gpstop failed. (Reason='fe_sendauth: no password supplied
') exiting...
pg_hba.conf配置如下:
# IPv4 local connections:
#host all all 0.0.0.0/0 trust
# IPv6 local connections:
local all gpadmin ident
host all gpadmin 127.0.0.1/28 trust
host all gpadmin 10.27.10.155/32 trust
host all gpadmin ::1/128 trust
host all gpadmin fe80::32f6:b4fd:d767:7303/128 trust
local replication gpadmin ident
host replication gpadmin samenet trust
local all all trust
host all isdbuser 0.0.0.0/0 md5
請各位大神幫忙看一下,不勝感謝~
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/49925.html
標籤:Greenplum
