【YashanDB知识库】启动yasom时报错:sqlite connection error

简介: 在崖山共享集群场景下,用户尝试启动yasom时遇到sqlite连接错误(unable to open database file),导致节点2启动失败。原因是节点2无需运行yasom,仅需运行yasagent。解决方法为确保仅在节点1启动yasom,其他节点只启动yasagent,避免误操作。此问题影响范围限于崖山共享集群环境。

【标题】启动yasom时报错:sqlite connection error

【问题分类】安装部署

【关键字】错误码sqlite3.Error、yasom启动失败、共享集群 、unable to open database file

【问题描述】

用户在启动yasom时,执行命令为yasboot process yasom start -c yashanrac,

报错:start yasom failed, no success info in the start log after 60 second, please check yasom.log

ERROR [yasom] sqlite.go:40 sqlite connection error: %!(EXTRA sqlite3.Error=unable to open database file: no such file or directory)

用户是在崖山的共享集群场景,服务器重启后出现此问题。

节点1正常启动,节点2启动yasom报错。

【问题原因分析】

崖山的共享集群中,节点1上会运行yasom和yasagent;其他节点(包括节点2)上只有yasagent,没有yasom。因此在节点2上启动yasom会报错。

【解决/规避方法】确保在共享集群场景下,只在节点1上启动yasom,其他节点只启动yasagent。在用户正常启动yasagent和数据库后,问题解决。

【影响范围】崖山共享集群。

目录
打赏
0
0
0
0
57
分享
相关文章
【YashanDB知识库】如何在备机节点上做备份和恢复
【YashanDB知识库】如何在备机节点上做备份和恢复
【YashanDB知识库】如何在备机节点上做备份和恢复
【YashanDB知识库】YAS-02605 the current instance is not master role
【YashanDB知识库】YAS-02605 the current instance is not master role
【YashanDB知识库】YAS-02605 the current instance is not master role
【YashanDB知识库】YAS-00402 failed to connect socket, errno 111, error message "Connection refused"
【YashanDB知识库】YAS-00402 failed to connect socket, errno 111, error message "Connection refused"
【YashanDB知识库】YAS-00402 failed to connect socket, errno 111, error message "Connection refused"
【YashanDB知识库】YAS-04003 maximum number of open cursors is xxx
【YashanDB知识库】YAS-04003 maximum number of open cursors is xxx
【YashanDB知识库】YAS-04003 maximum number of open cursors is xxx
【YashanDB知识库】如何使用jdbc向YashanDB批量插入gis数据
【YashanDB知识库】如何使用jdbc向YashanDB批量插入gis数据
【YashanDB知识库】druid连接池查询空间数据报错read time out
【YashanDB知识库】druid连接池查询空间数据报错read time out
【YashanDB知识库】收集统计信息时报错YAS-00507 date/timestamp value overflow
【YashanDB知识库】收集统计信息时报错YAS-00507 date/timestamp value overflow
【YashanDB知识库】imp导入数据库时,报错YAS-08023
【YashanDB知识库】imp导入数据库时,报错YAS-08023
【YashanDB知识库】python驱动查询gbk字符集崖山数据库CLOB字段,数据被驱动截断
【YashanDB知识库】python驱动查询gbk字符集崖山数据库CLOB字段,数据被驱动截断
【YashanDB知识库】YAS-02507 base incremental backup set does not exist
【YashanDB知识库】YAS-02507 base incremental backup set does not exist

热门文章

最新文章