antdb安装,显示“Authentication failed (username/password)”要怎么解决?

0 shijierhuofu 1年前 646次点击

antdb安装,显示“Authentication failed (username/password)”要怎么解决?

共 1 条评论
sanmeimu 1年前
0 

解决方式

各主机之间是否配置了互信。
或在命令后添加 password’xxxx’选项。
下面给出一个示例说明:

postgres=# start agent all;
hostname | status | description
----------+--------+-------------------------------------------
antdb01 | f | Authentication failed (username/password)
antdb02 | f | Authentication failed (username/password)
(2 rows)

postgres=#
postgres=# start agent all password'123';
hostname | status | description
----------+--------+-------------
antdb01 | t | success
antdb02 | t | success
(2 rows)

原因说明

AntDB的mgr通过ssh远程管理各节点,因此需配置ssh互信或添加password选项。

添加一条新评论

登录后可以发表评论 去登录