如何安装greenplum,它犯了“gpssh-exkeys -f /home/gpadmin/conf/hostlist bash: gpssh-exkeys: command not found.

Posted

技术标签:

【中文标题】如何安装greenplum,它犯了“gpssh-exkeys -f /home/gpadmin/conf/hostlist bash: gpssh-exkeys: command not found...”之类的错误[关闭]【英文标题】:How to install greenplum ,it made the mistake like“ gpssh-exkeys -f /home/gpadmin/conf/hostlist bash: gpssh-exkeys: command not found...” [closed] 【发布时间】:2020-04-29 02:01:33 【问题描述】:

如何安装greenplum,当我安装它时, 它犯了这样的错误“ gpssh-exkeys -f /home/gpadmin/conf/hostlist bash: gpssh-exkeys: 找不到命令...”enter image description here

【问题讨论】:

不要使用“su gpadmin”。您需要使用“su - gpadmin”,以便它选择 gpadmin 环境。其次,如果您已经运行了“yum install”或“rpm -i”,那么您还没有获得 greenplum_path.sh。您也应该将其添加到您的 .bashrc 文件中。这也可能有帮助:gpdb.docs.pivotal.io/6-7/install_guide/install_gpdb.html 【参考方案1】:

我无法从您的图片中看出,但看起来您实际上还没有安装 Greenplum。你运行 yum install 了吗?

如果是这样,它到底安装在哪里?默认为 /usr/local/greenplum- 并且通常有一个名为 greenplum-db 的符号链接指向实际的安装目录。你真的把它安装在 /gpdb/app 中了吗?您是否以 root 身份运行安装?

如果安装了 Greenplum,则可能未创建 greenplum-db 链接,只是找不到设置所有环境变量的 greenplum_path.sh 脚本。尝试这样做:find / -name "greenplum_path.sh" -print 并查看文件是否确实存在以及它所在的位置。

希望这会有所帮助。

吉姆

【讨论】:

以上是关于如何安装greenplum,它犯了“gpssh-exkeys -f /home/gpadmin/conf/hostlist bash: gpssh-exkeys: command not found.的主要内容,如果未能解决你的问题,请参考以下文章

Kubernetes集群安装&卸载

执行安装 Tiller 发生报错

Kubernetes集群安装&卸载

执行安装 Tiller 发生报错

如何在linux上安装greenplum

Docker安装Zookeeper教程(超详细)