oceanbase desktop for mac一直启动不起来

【 使用环境 】开发环境
【 OB or 其他组件 】OB
【 使用版本 】oceanbase desktop for mac
【问题描述】安装oceanbase desktop for mac桌面端第一次可以正常启动,之后打不开了
【复现路径】问题出现前后相关操作
【附件及日志】 [2025-10-26T02:02:56.797Z] [INFO] check obd web…

[2025-10-26T02:02:56.841Z] [INFO] Checking Orb service…

[2025-10-26T02:02:56.841Z] [INFO] Cleaning up previous Orb instances…

[2025-10-26T02:02:57.989Z] [INFO] oceanbase-desktop is already stopped

[2025-10-26T02:02:57.990Z] [INFO] Starting Orb service…

[2025-10-26T02:02:57.990Z] [INFO] /Applications/OceanBase-Desktop.app/Contents/Resources/telemetry/telemetry-macos.sh

[2025-10-26T02:02:58.009Z] [INFO] oceanbase-desktop image found, starting obd web…

[2025-10-26T02:02:58.010Z] [INFO] start obd web…

[2025-10-26T02:02:58.222Z] [ERROR] Failed to get database status: {“code”:7,“killed”:false,“signal”:null,“cmd”:"/usr/local/bin/orb -m oceanbase-desktop -u root curl -s “http://localhost:2880/api/v1/deployments/ob_desktop”"}

2 个赞

lsof -i:2880
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
OceanBase 58520 xu 19u IPv4 0x3b54570c6418238 0t0 TCP localhost:54238->localhost:synapse (CLOSE_WAIT)
OceanBase 58520 xu 22u IPv4 0xb518a0d36c19f32b 0t0 TCP localhost:54239->localhost:synapse (CLOSE_WAIT)
OrbStack 58529 xu 26u IPv4 0x5c4d8fcbf104edb4 0t0 TCP *:synapse (LISTEN)
OrbStack 58529 xu 27u IPv4 0x44578a63f5fb907f 0t0 TCP localhost:synapse->localhost:54238 (FIN_WAIT_2)
OrbStack 58529 xu 116u IPv4 0x5fe12acc3a13368c 0t0 TCP localhost:synapse->localhost:54239 (FIN_WAIT_2)

1 个赞

curl -s http://localhost:2880/api/v1/deployments/ob_desktop

{“code”:200,“data”:{“name”:“ob_desktop”,“config_path”:"/root/.obd/cluster/ob_desktop",“status”:“STOPPED”,“config”:null},“msg”:“successful”,“success”:true}

4 个赞

学习了

厉害,学习了

额,别嘲讽了,给看下什么原因吗。

mac 日志

~/Library/Application Support/OceanBase-Desktop/logs/app.log提供一下日志信息

学到了学到了!

~ cat ~/Library/Application\ Support/OceanBase-Desktop/logs/app.log

[2025-10-28T01:54:57.338Z] [INFO] check obd web…

[2025-10-28T01:54:57.397Z] [INFO] Checking Orb service…

[2025-10-28T01:54:57.397Z] [INFO] Cleaning up previous Orb instances…

[2025-10-28T01:54:58.662Z] [INFO] oceanbase-desktop is running, stopping…

[2025-10-28T01:54:58.928Z] [ERROR] Failed to stop obd web: {“error”:{“code”:7,“killed”:false,“signal”:null,“cmd”:"/usr/local/bin/orb -m oceanbase-desktop -u root curl -X ‘POST’ ‘http://localhost:2880/api/v1/deployments/ob_desktop/stop’"}}

[2025-10-28T01:54:58.929Z] [ERROR] Failed to get database status: {“code”:7,“killed”:false,“signal”:null,“cmd”:"/usr/local/bin/orb -m oceanbase-desktop -u root curl -s “http://localhost:2880/api/v1/deployments/ob_desktop”"}

[2025-10-28T01:54:58.950Z] [INFO] Status updated to STATUS_STOPPED in .data file

[2025-10-28T01:54:59.092Z] [INFO] obd instance stopped successfully

[2025-10-28T01:54:59.093Z] [INFO] Starting Orb service…

[2025-10-28T01:54:59.093Z] [INFO] /Applications/OceanBase-Desktop.app/Contents/Resources/telemetry/telemetry-macos.sh

[2025-10-28T01:54:59.109Z] [INFO] oceanbase-desktop image found, starting obd web…

[2025-10-28T01:54:59.109Z] [INFO] start obd web…

[2025-10-28T01:55:07.397Z] [INFO] check obd web…

[2025-10-28T01:55:17.403Z] [INFO] check obd web…

[2025-10-28T01:55:27.408Z] [INFO] check obd web…

[2025-10-28T01:55:37.413Z] [INFO] check obd web…

obd web已经起来了,好像是网络问题,首先进入虚拟机
wsl -d oceanbase-desktop -u root
ps -ef | grep ob 看一下

如果observer和obshell进程还在的话,访问一下localhost的2886端口

看看虚拟机内外访问是否是一样的