原 初始化GreenPlum数据库实例时报错ssh_exchange_identification: connection reset by peer
Tags: 原创故障处理GreenPlumssh_exchange_identification
现象
初始化实例的时候报错:
1 2 3 4 5 6 | ssh_exchange_identification: connection reset by peer ssh_exchange_identification: connection c1osed by remote host /usr/loca1/greenp1un-db-6.26.1/bin/1ib/gp_bash_functions.sh: line 422: [: -gt: unary oper ator expected gpcreateseg.sh:mdw:gpadmin-[FATAL]: -Failed to insert listen_addresses='*' in /data/opt/greenplum/data/primary/gpseg15/postgresql.conf on sdw2 script Exiting! |
如图:
解决
方法1
很简单,直接加上参数-B限制ssh的并发数, -B,
1 | gpinitsystem -c /home/gpadmin/conf/initgp_config -B 6 |