After upgrading GPDB to 6.28.2, gpcc cli commands result in:
Failed to load kerberos library: libgssapi_krb5.so: cannot open shared object file: No such file or directory
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0x5186e0]
goroutine 1 [running]:
github.com/greenplum-db/gp-common-go-libs/gplog.GetLogPrefix({0xe20729?, 0x4f6dfc?})
/tmp/build/ee3e6707/gopath/src/gpcc/backend/vendor/github.com/greenplum-db/gp-common-go-libs/gplog/gplog.go:194 +0x20
github.com/greenplum-db/gp-common-go-libs/gplog.Error({0xc000294730, 0x4c}, {0x0, 0x0, 0x0})
/tmp/build/ee3e6707/gopath/src/gpcc/backend/vendor/github.com/greenplum-db/gp-common-go-libs/gplog/gplog.go:285 +0xd2
github.com/pivotal/gp-command-center/backend/config.NewConfig({0xc0001e75c0, 0x3d})
/tmp/build/ee3e6707/gopath/src/gpcc/backend/config/config.go:580 +0xe65
github.com/pivotal/gp-command-center/backend/config.GetConfig(...)
/tmp/build/ee3e6707/gopath/src/gpcc/backend/config/config.go:198
github.com/pivotal/gp-command-center/backend/config.IsTraceEnabled()
/tmp/build/ee3e6707/gopath/src/gpcc/backend/config/config.go:1030 +0x3c
github.com/pivotal/gp-command-center/backend/common.init.0()
/tmp/build/ee3e6707/gopath/src/gpcc/backend/common/tracer.go:38 +0x17GPDB 5.28.2
GPCC: 6.11
User input value is expected to be record in app.conf as:
krb_libpath='xxx'
However, it's recorded as:
libpath='xxx'
This causes issues with Go, not being able to locate the required library and/or socket files
Issue is fixed as of GPCC 6.12.0. As a work around, locate app.conf at "greenplum-cc-HOME_DIRECTORY/greenplum-cc-x.x.0/conf/app.conf" and change the key "libpath" to krb_libpath"
Issue is fixed as of GPCC 6.12.0