重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛
标题:
启停工具yasboot提示connect:connection refused错误
[打印本页]
作者:
郑全
时间:
2026-3-17 23:57
标题:
启停工具yasboot提示connect:connection refused错误
本帖最后由 郑全 于 2026-3-18 12:28 编辑
数据库实例启动时须确保yasom和yasagent进程处于开启状态,否则启停工具yasboot将提示
connect: connection refused
错误。通过
ps -ef | grep -E "yasom|yasagent|yasdb"
命令请确认数据库服务进程正常运行。
服务器重启时,yasom和yasagent进程会自动关闭,默认情况下数据库服务不会自动拉起
# 手动启动yasom和yasagent进程
$ yasboot process yasom start
-c
yashandb
-t
/home/yashan/install/hosts.toml
$ yasboot process yasagent start
-c
yashandb
-t
/home/yashan/install/hosts.toml
之后,再去启动数据库即可:
# 待yasom和yasagent进程启动后,才能启动数据库
$ yasboot cluster start
-c
yashandb
欢迎光临 重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛 (http://bbs.cqsztech.com/)
Powered by Discuz! X3.2