急需,GBase8sV8.8_S5.0.0B39上面的ssh问题解决了又遇到新的问题了。
为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【GBase版本】:GBase8sV8.8_S5.0.0B39版本
【操作系统】:
【CPU】:
【问题描述】*:我执行./gs_preinstall -U gbase -G gbase -X /opt/database/package/cluster_config.xml命令的时候出现了下面的报错
Are you sure you want to create the user[gbase] and create trust for it (yes/no)? yes
Preparing SSH service.
Successfully prepared SSH service.
Installing the tools in the cluster.
Successfully installed the tools in the cluster.
Checking hostname mapping.
[GAUSS-51222] : Failed to check hostname mapping. Command: "source /home/gbase/.bashrc;pssh -s -H 10.225.20.68 hostname". Error:
bash: pssh: command not found这是说明我这3台服务器都没有pssh这个东西吗,需要安装吗还是啥[root@gbase-primary script]# yum install pssh
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
No package pssh available.
Error: Nothing to do
[root@gbase-primary script]# 为什么文档中没有提到这个东西呢。这个报错是啥
评论
Are you sure you want to create the user[gbase] and create trust for it (yes/no)? yes
Preparing SSH service.
Successfully prepared SSH service.
Installing the tools in the cluster.
Successfully installed the tools in the cluster.
Checking hostname mapping.
[GAUSS-51222] : Failed to check hostname mapping. Command: "source /home/gbase/.bashrc;pssh -s -H 10.225.20.68 hostname". Error:
Usage: pssh [OPTIONS] command [...]
pssh: error: no such option: -s
[root@gbase-primary script]# pssh --version
2.3.1
[root@gbase-primary script]# pas
passmass passwd paste pasuspender
[root@gbase-primary script]# pas
passmass passwd paste pasuspender
[root@gbase-primary script]#
Preparing SSH service.
Successfully prepared SSH service.
Installing the tools in the cluster.
Successfully installed the tools in the cluster.
Checking hostname mapping.
[GAUSS-51222] : Failed to check hostname mapping. Command: "source /home/gbase/.bashrc;pssh -s -H 10.225.20.68 hostname". Error:
Usage: pssh [OPTIONS] command [...]
pssh: error: no such option: -s他没有pssh -s选项[root@gbase-primary script]# pssh -s -H 10.225.20.68,10.225.20.69,10.225.20.70 hostname
Usage: pssh [OPTIONS] command [...]
pssh: error: no such option: -s
[root@gbase-primary script]# pssh --serial -H 10.225.20.68,10.225.20.69,10.225.20.70 hostname
Usage: pssh [OPTIONS] command [...]
pssh: error: no such option: --serial
[root@gbase-primary script]# 怎么办呢
cp gspylib/pssh/bin/* /usr/bin
mv /usr/bin/pssh /usr/bin/pssh.bak
cp scripts/gspylib/pssh/bin/* /usr/bin
[root@gbase-primary script]# cp scripts/gspylib/pssh/bin/* /usr/bin
cp: cannot stat ‘scripts/gspylib/pssh/bin/*’: No such file or directory
[root@gbase-primary script]# 不行报错

热门帖子
- 12025-12-01浏览数:182763
- 22023-05-09浏览数:25057
- 42023-09-25浏览数:18525
- 52020-05-11浏览数:17528