Config greenplum file failed: GPHOME is unset
52Heartz opened this issue · 1 comments
52Heartz commented
after installation and ssh to master, I run the artifact/prepare.sh -s 2 -n 2
command, but it reports GPHOME is unset
[gpadmin@mdw ~]$ artifact/prepare.sh -s 2 -n 2
+ '[' -z ']'
+ echo 'GPHOME is unset'
GPHOME is unset
+ exit 1
52Heartz commented
Solution:
use ls /usr/local | grep greenplum
to find greenplum installation directory, then set GPHOME manully.
for example:
export GPHOME=/usr/local/greenplum-db-6.16.2