暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

【YashanDB】dial tcp xxx.xxx.xxx.xxx:1675: connect: connection refused

yang 2025-11-07
202

【问题现象】

yashandb启动报错:

[yashan@node01 ~]$ yasboot cluster status -c yashandb
dial tcp 192.168.162.141:1675: connect: connection refused


【原因分析】

1675 是 yasom(Yashan System Operation Manager)服务的监听端口,该服务是数据库运维控制的核心组件。

在数据库实例启动前,系统默认通过该端口与 yasom 进行通信以完成状态检查、进程控制等操作。

因此:如果服务器重启后 yasom 未自动拉起,任何依赖它的启动操作都将失败。

【正确启动步骤】

1.启动yasom服务

[yashan@node01 ~]$ yasboot process yasom start -c yashandb
start yasom successfully


2.启动yasagent服务

[yashan@node01 ~]$ yasboot process yasagent start -c yashandb
start local agent successfully!


3.启动yashandb

[yashan@node01 ~]$ yasboot cluster start -c yashandb
type | uuid | name | hostid | index | status | return_code | progress | cost
-----------------------------------------------------------------------------------------------------------
task | a16b8f618d2a4462 | StartYasdbCluster | - | yashandb | SUCCESS | 0 | 100 | 8
------+------------------+-------------------+--------+----------+---------+-------------+----------+------
task completed, status: SUCCESS


4.查看数据库状态

[yashan@node01 ~]$ yasboot cluster status -c yashandb
host_id | node_type | nodeid | pid
---------------------------------------
host0001 | db | 1-1:1 | 10389
----------+-----------+--------+-------


「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论