gpcc start failed with error : " pq: accepting GSS security context failed"
search cancel

gpcc start failed with error : " pq: accepting GSS security context failed"

book

Article ID: 296344

calendar_today

Updated On:

Products

VMware Tanzu Greenplum

Issue/Introduction

When enabled Kerberos for gpcc  and gpcc start failed with error:

gpcc start
timestamp: Starting the gpcc agents and webserver...
timestamp:  pq: accepting GSS security context failed (auth.c:965)


Directly connect to the database as gpmon user will also report error:

psql -h 127.0.0.1 gpperfmon -U gpmon
psql: GSSAPI continuation error: Unspecified GSS failure.  Minor code may provide more information
GSSAPI continuation error: Server postgres/[email protected] not found in Kerberos database



Environment

Product Version: 6.7

Resolution

One of the reason is: krb_server_keyfile was not setup correctly in postgresql.conf file. Or the setting used incorrect quotation marks.

Incorrect one:
krb_server_keyfile='''/xxx/xxx/xxxx/gpadmin''' 

correct setting:
krb_server_keyfile='/xxx/xxx/xxxx/gpadmin'