暂无图片
【ARM版】重启或启动yasboot cluster start -c yashandb,提示node:1-1 start with ping failed
我来答
分享
Ceeport
2023-11-22
【ARM版】重启或启动yasboot cluster start -c yashandb,提示node:1-1 start with ping failed

[yashan@yashan45 ~]$ yasboot cluster start -c yashandb
type | uuid | name | hostid | index | status | return_code | progress | cost
----------------------------------------------------------------------------------------------------------
task | bda8858912fa965e | StartYasdbCluster | - | yashandb | FAILED | 1 | 100 | 604
------+------------------+-------------------+--------+----------+--------+-------------+----------+------
task completed, status: FAILED
retcode: 1
stdout: node:1-1 start with ping failed
stderr: YAS-02193 the account is locked
[yashan@yashan45 ~]$

我来答
添加附件
收藏
分享
问题补充
10条回答
默认
最新
Skye
创建一个就行了 groupadd YASDBA usermod -a -G YASDBA yashan
暂无图片 评论
暂无图片 有用 0
暂无图片
Skye

这是sys用户被锁了。

可以参考这个过程解决https://www.modb.pro/issue/32879

暂无图片 评论
暂无图片 有用 0
Ceeport

应该不是这个问题?现在是数据库都起不来了,无法修改sys账号信息吧?

YAS-00402 failed to connect socket, errno 111, error message "Connection refused"




一开始安装成功后,执行yasboot cluster restart -c yashandb,数据库起不来。

暂无图片 评论
暂无图片 有用 0
Skye

看一下你后台进程,一般就是yasagent,yasom,yasdb这三个进程都在。

暂无图片 评论
暂无图片 有用 0
Ceeport

的确看到三个进程都在,但是免密码登录失败



[yashan@yashan45 ~]$ yasql / as sysdba
YashanDB SQL Personal Edition Release 23.1.1.100 aarch64

YAS-02143 invalid username/password, login denied



please input user name:

暂无图片 评论
暂无图片 有用 0
Ceeport

带密码登录,提示账号被锁,免密码登录却提示无效的用户密码信息。


暂无图片 评论
暂无图片 有用 0
Skye
免密登陆可能没配置好。将yashan用户放在YASDBA组里面。
暂无图片 评论
暂无图片 有用 0
Ceeport

还需要怎么设置吗?



暂无图片 评论
暂无图片 有用 0
Skye
usermod -G YASDBA yashan 试试
暂无图片 评论
暂无图片 有用 0
Ceeport

没有这个YASDBA组,我是按照官网的文档来安装的,没有建立这个组.


暂无图片 评论
暂无图片 有用 0
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏