【 使用环境 】开发环境
【 OB or 其他组件 】OB Desktop for mac
【 使用版本 】
【问题描述】下载安装OB Desktop后打开可以正常启动,首页状态显示已启动。但是当我把mysql部分数据导入到oceanbase里后,再点击启动时,OB Desktop就一直显示“数据库启动中”,再等一会就会提示数据库启动失败!
【复现路径】安装OB Desktop for mac,然后把mysql中的数据迁移至oceanbase中(数据量大),然后使用mysql命令连接就会提示无法连接,使用navicat连接工具也会提示oceanbase无法连接。
【附件及日志】
Get local repositories ok
Load cluster param plugin ok
Open ssh connection ok
[WARN] OBD-4521: The config observer_sys_password in obproxy-ce did not take effect, please config it in oceanbase-ce
cluster scenario: express_oltp
Start observer ok
observer program health check ok
Connect to observer x
[ERROR] OBD-1006: Failed to connect to oceanbase-ce
需要看下observer.log 日志。
怎么看,有教程吗?mac桌面端的
~/Library/Application Support/OceanBase-Desktop/logs/app.log
cat ~/Library/Application\ Support/OceanBase-Desktop/logs/app.log
需要查看启动日志
[2025-09-22T00:00:04.152Z] [INFO] check obd web...
[2025-09-22T00:00:04.205Z] [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-09-22T00:00:38.931Z] [INFO] check obd web...
[2025-09-22T00:00:38.978Z] [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-09-22T00:01:49.074Z] [INFO] check obd web...
[2025-09-22T00:01:49.144Z] [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-09-22T00:03:07.392Z] [INFO] check obd web...
[2025-09-22T00:03:07.488Z] [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-09-22T00:18:37.654Z] [INFO] check obd web...
[2025-09-22T00:18:37.712Z] [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-09-22T00:35:01.408Z] [INFO] check obd web...
[2025-09-22T00:35:01.483Z] [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-09-22T00:56:54.956Z] [INFO] check obd web...
[2025-09-22T00:56:55.018Z] [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-09-22T00:57:04.966Z] [INFO] check obd web...
[2025-09-22T00:57:05.044Z] [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-09-22T00:57:14.974Z] [INFO] check obd web...
[2025-09-22T00:57:15.039Z] [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-09-22T01:14:58.886Z] [INFO] check obd web...
[2025-09-22T01:14:58.933Z] [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-09-22T01:20:00.170Z] [INFO] check obd web...
[2025-09-22T01:20:00.279Z] [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-09-22T01:20:10.076Z] [INFO] check obd web...
[2025-09-22T01:20:10.173Z] [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-09-22T01:20:20.081Z] [INFO] check obd web...
[2025-09-22T01:20:20.194Z] [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-09-22T01:20:30.083Z] [INFO] check obd web...
[2025-09-22T01:20:30.159Z] [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-09-22T01:20:40.089Z] [INFO] check obd web...
[2025-09-22T01:20:40.201Z] [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-09-22T01:20:50.099Z] [INFO] check obd web...
[2025-09-22T01:20:50.153Z] [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-09-22T01:21:00.107Z] [INFO] check obd web...
[2025-09-22T01:21:00.181Z] [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-09-22T01:21:10.115Z] [INFO] check obd web...
[2025-09-22T01:21:10.183Z] [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-09-22T01:21:20.119Z] [INFO] check obd web...
[2025-09-22T01:21:20.186Z] [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-09-22T01:21:30.126Z] [INFO] check obd web...
[2025-09-22T01:21:30.212Z] [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-09-22T01:21:40.127Z] [INFO] check obd web...
[2025-09-22T01:21:40.203Z] [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-09-22T01:21:50.136Z] [INFO] check obd web...
[2025-09-22T01:21:50.241Z] [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-09-22T01:22:00.140Z] [INFO] check obd web...
[2025-09-22T01:22:00.248Z] [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-09-22T01:22:10.145Z] [INFO] check obd web...
[2025-09-22T01:22:10.250Z] [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-09-22T01:22:20.147Z] [INFO] check obd web...
[2025-09-22T01:22:20.210Z] [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-09-22T01:22:30.153Z] [INFO] check obd web...
[2025-09-22T01:22:30.228Z] [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-09-22T01:22:40.157Z] [INFO] check obd web...
[2025-09-22T01:22:40.219Z] [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-09-22T01:22:50.157Z] [INFO] check obd web...
[2025-09-22T01:22:50.224Z] [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-09-22T01:23:00.161Z] [INFO] check obd web...
[2025-09-22T01:23:00.228Z] [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-09-22T01:23:10.165Z] [INFO] check obd web...
[2025-09-22T01:23:10.231Z] [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-09-22T01:23:20.169Z] [INFO] check obd web...
[2025-09-22T01:23:20.241Z] [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-09-22T01:23:30.172Z] [INFO] check obd web...
[2025-09-22T01:23:30.240Z] [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-09-22T01:23:40.184Z] [INFO] check obd web...
[2025-09-22T01:23:40.234Z] [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-09-22T01:23:50.188Z] [INFO] check obd web...
[2025-09-22T01:23:50.246Z] [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-09-22T01:24:00.190Z] [INFO] check obd web...
[2025-09-22T01:24:00.262Z] [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-09-22T01:24:10.195Z] [INFO] check obd web...
[2025-09-22T01:24:10.268Z] [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-09-22T01:24:20.198Z] [INFO] check obd web...
[2025-09-22T01:24:20.264Z] [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-09-22T01:24:30.200Z] [INFO] check obd web...
[2025-09-22T01:24:30.275Z] [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-09-22T01:24:40.203Z] [INFO] check obd web...
[2025-09-22T01:24:40.269Z] [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-09-22T01:24:50.208Z] [INFO] check obd web...
[2025-09-22T01:24:50.311Z] [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-09-22T01:25:00.213Z] [INFO] check obd web...
[2025-09-22T01:25:00.282Z] [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-09-22T01:25:10.218Z] [INFO] check obd web...
[2025-09-22T01:25:10.288Z] [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-09-22T01:25:20.221Z] [INFO] check obd web...
[2025-09-22T01:25:20.291Z] [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-09-22T01:25:30.225Z] [INFO] check obd web...
[2025-09-22T01:25:30.303Z] [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-09-22T01:25:40.229Z] [INFO] check obd web...
[2025-09-22T01:25:40.299Z] [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-09-22T01:25:50.233Z] [INFO] check obd web...
[2025-09-22T01:25:50.307Z] [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-09-22T01:26:00.237Z] [INFO] check obd web...
[2025-09-22T01:26:00.347Z] [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-09-22T01:26:10.242Z] [INFO] check obd web...
[2025-09-22T01:26:10.318Z] [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-09-22T01:26:20.244Z] [INFO] check obd web...
[2025-09-22T01:26:20.319Z] [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-09-22T01:26:30.249Z] [INFO] check obd web...
[2025-09-22T01:26:30.324Z] [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-09-22T01:26:40.254Z] [INFO] check obd web...
[2025-09-22T01:26:40.322Z] [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-09-22T01:26:50.259Z] [INFO] check obd web...
[2025-09-22T01:26:50.327Z] [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-09-22T01:27:00.263Z] [INFO] check obd web...
[2025-09-22T01:27:00.365Z] [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-09-22T01:27:05.147Z] [INFO] Checking Orb service...
[2025-09-22T01:27:05.148Z] [INFO] Cleaning up previous Orb instances...
[2025-09-22T01:27:05.189Z] [INFO] oceanbase-desktop is running, stopping...
[2025-09-22T01:27:05.251Z] [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-09-22T01:27:05.496Z] [INFO] obd instance stopped successfully
[2025-09-22T01:27:05.497Z] [INFO] Starting Orb service...
[2025-09-22T01:27:05.497Z] [INFO] /Applications/OceanBase-Desktop.app/Contents/Resources/telemetry/telemetry-macos.sh
[2025-09-22T01:27:05.514Z] [INFO] oceanbase-desktop image found, starting obd web...
[2025-09-22T01:27:05.514Z] [INFO] start obd web...
[2025-09-22T01:27:10.267Z] [INFO] check obd web...
[2025-09-22T01:27:10.446Z] [INFO] oceanbase-desktop is running, stopping...
[2025-09-22T01:27:12.886Z] [INFO] obd instance stopped successfully
[2025-09-22T01:27:12.887Z] [ERROR] Failed to start obd web {"error":{"code":1,"killed":false,"signal":null,"cmd":"/usr/local/bin/orb -m oceanbase-desktop -u root bash -c \"source /root/cluster_env.sh && rm -rf /root/myoceanbase/oceanbase/run/daemon.pid && obd web --port=2880\""}}
[2025-09-22T01:27:12.887Z] [ERROR] Failed to initialize virtual machine services: {"error":{"code":1,"killed":false,"signal":null,"cmd":"/usr/local/bin/orb -m oceanbase-desktop -u root bash -c \"source /root/cluster_env.sh && rm -rf /root/myoceanbase/oceanbase/run/daemon.pid && obd web --port=2880\""}}
[2025-09-22T01:27:13.014Z] [INFO] oceanbase-desktop is already stopped
[2025-09-22T01:27:21.763Z] [INFO] check obd web...
[2025-09-22T01:27:21.841Z] [INFO] Checking Orb service...
[2025-09-22T01:27:21.842Z] [INFO] Cleaning up previous Orb instances...
[2025-09-22T01:27:22.992Z] [INFO] oceanbase-desktop is already stopped
[2025-09-22T01:27:22.993Z] [INFO] Starting Orb service...
[2025-09-22T01:27:22.993Z] [INFO] /Applications/OceanBase-Desktop.app/Contents/Resources/telemetry/telemetry-macos.sh
[2025-09-22T01:27:23.023Z] [INFO] oceanbase-desktop image found, starting obd web...
[2025-09-22T01:27:23.023Z] [INFO] start obd web...
[2025-09-22T01:27:23.233Z] [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-09-22T01:27:31.843Z] [INFO] check obd web...
[2025-09-22T01:27:41.843Z] [INFO] check obd web...
[2025-09-22T01:27:51.848Z] [INFO] check obd web...
[2025-09-22T01:28:01.850Z] [INFO] check obd web...
[2025-09-22T01:28:11.855Z] [INFO] check obd web...
麻烦帮忙看下,谢谢~!
[2025-09-22T00:00:04.152Z] [INFO] check obd web...
[2025-09-22T00:00:04.205Z] [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-09-22T00:00:38.931Z] [INFO] check obd web...
[2025-09-22T00:00:38.978Z] [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-09-22T00:01:49.074Z] [INFO] check obd web...
[2025-09-22T00:01:49.144Z] [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-09-22T00:03:07.392Z] [INFO] check obd web...
[2025-09-22T00:03:07.488Z] [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-09-22T00:18:37.654Z] [INFO] check obd web...
[2025-09-22T00:18:37.712Z] [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-09-22T00:35:01.408Z] [INFO] check obd web...
[2025-09-22T00:35:01.483Z] [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-09-22T00:56:54.956Z] [INFO] check obd web...
[2025-09-22T00:56:55.018Z] [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-09-22T00:57:04.966Z] [INFO] check obd web...
[2025-09-22T00:57:05.044Z] [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-09-22T00:57:14.974Z] [INFO] check obd web...
[2025-09-22T00:57:15.039Z] [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-09-22T01:14:58.886Z] [INFO] check obd web...
[2025-09-22T01:14:58.933Z] [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-09-22T01:20:00.170Z] [INFO] check obd web...
[2025-09-22T01:20:00.279Z] [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-09-22T01:20:10.076Z] [INFO] check obd web...
[2025-09-22T01:20:10.173Z] [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-09-22T01:20:20.081Z] [INFO] check obd web...
[2025-09-22T01:20:20.194Z] [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-09-22T01:20:30.083Z] [INFO] check obd web...
[2025-09-22T01:20:30.159Z] [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-09-22T01:20:40.089Z] [INFO] check obd web...
[2025-09-22T01:20:40.201Z] [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-09-22T01:20:50.099Z] [INFO] check obd web...
[2025-09-22T01:20:50.153Z] [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-09-22T01:21:00.107Z] [INFO] check obd web...
[2025-09-22T01:21:00.181Z] [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-09-22T01:21:10.115Z] [INFO] check obd web...
[2025-09-22T01:21:10.183Z] [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-09-22T01:21:20.119Z] [INFO] check obd web...
[2025-09-22T01:21:20.186Z] [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-09-22T01:21:30.126Z] [INFO] check obd web...
[2025-09-22T01:21:30.212Z] [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-09-22T01:21:40.127Z] [INFO] check obd web...
[2025-09-22T01:21:40.203Z] [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-09-22T01:21:50.136Z] [INFO] check obd web...
[2025-09-22T01:21:50.241Z] [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-09-22T01:22:00.140Z] [INFO] check obd web...
[2025-09-22T01:22:00.248Z] [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-09-22T01:22:10.145Z] [INFO] check obd web...
[2025-09-22T01:22:10.250Z] [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-09-22T01:22:20.147Z] [INFO] check obd web...
[2025-09-22T01:22:20.210Z] [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-09-22T01:22:30.153Z] [INFO] check obd web...
[2025-09-22T01:22:30.228Z] [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-09-22T01:22:40.157Z] [INFO] check obd web...
[2025-09-22T01:22:40.219Z] [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-09-22T01:22:50.157Z] [INFO] check obd web...
[2025-09-22T01:22:50.224Z] [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-09-22T01:23:00.161Z] [INFO] check obd web...
[2025-09-22T01:23:00.228Z] [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-09-22T01:23:10.165Z] [INFO] check obd web...
[2025-09-22T01:23:10.231Z] [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-09-22T01:23:20.169Z] [INFO] check obd web...
[2025-09-22T01:23:20.241Z] [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-09-22T01:23:30.172Z] [INFO] check obd web...
[2025-09-22T01:23:30.240Z] [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-09-22T01:23:40.184Z] [INFO] check obd web...
[2025-09-22T01:23:40.234Z] [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-09-22T01:23:50.188Z] [INFO] check obd web...
[2025-09-22T01:23:50.246Z] [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-09-22T01:24:00.190Z] [INFO] check obd web...
[2025-09-22T01:24:00.262Z] [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-09-22T01:24:10.195Z] [INFO] check obd web...
[2025-09-22T01:24:10.268Z] [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-09-22T01:24:20.198Z] [INFO] check obd web...
[2025-09-22T01:24:20.264Z] [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-09-22T01:24:30.200Z] [INFO] check obd web...
[2025-09-22T01:24:30.275Z] [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-09-22T01:24:40.203Z] [INFO] check obd web...
[2025-09-22T01:24:40.269Z] [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-09-22T01:24:50.208Z] [INFO] check obd web...
[2025-09-22T01:24:50.311Z] [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-09-22T01:25:00.213Z] [INFO] check obd web...
[2025-09-22T01:25:00.282Z] [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-09-22T01:25:10.218Z] [INFO] check obd web...
[2025-09-22T01:25:10.288Z] [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-09-22T01:25:20.221Z] [INFO] check obd web...
[2025-09-22T01:25:20.291Z] [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-09-22T01:25:30.225Z] [INFO] check obd web...
[2025-09-22T01:25:30.303Z] [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-09-22T01:25:40.229Z] [INFO] check obd web...
[2025-09-22T01:25:40.299Z] [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-09-22T01:25:50.233Z] [INFO] check obd web...
[2025-09-22T01:25:50.307Z] [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-09-22T01:26:00.237Z] [INFO] check obd web...
[2025-09-22T01:26:00.347Z] [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-09-22T01:26:10.242Z] [INFO] check obd web...
[2025-09-22T01:26:10.318Z] [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-09-22T01:26:20.244Z] [INFO] check obd web...
[2025-09-22T01:26:20.319Z] [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-09-22T01:26:30.249Z] [INFO] check obd web...
[2025-09-22T01:26:30.324Z] [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-09-22T01:26:40.254Z] [INFO] check obd web...
[2025-09-22T01:26:40.322Z] [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-09-22T01:26:50.259Z] [INFO] check obd web...
[2025-09-22T01:26:50.327Z] [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-09-22T01:27:00.263Z] [INFO] check obd web...
[2025-09-22T01:27:00.365Z] [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-09-22T01:27:05.147Z] [INFO] Checking Orb service...
[2025-09-22T01:27:05.148Z] [INFO] Cleaning up previous Orb instances...
[2025-09-22T01:27:05.189Z] [INFO] oceanbase-desktop is running, stopping...
[2025-09-22T01:27:05.251Z] [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-09-22T01:27:05.496Z] [INFO] obd instance stopped successfully
[2025-09-22T01:27:05.497Z] [INFO] Starting Orb service...
[2025-09-22T01:27:05.497Z] [INFO] /Applications/OceanBase-Desktop.app/Contents/Resources/telemetry/telemetry-macos.sh
[2025-09-22T01:27:05.514Z] [INFO] oceanbase-desktop image found, starting obd web...
[2025-09-22T01:27:05.514Z] [INFO] start obd web...
[2025-09-22T01:27:10.267Z] [INFO] check obd web...
[2025-09-22T01:27:10.446Z] [INFO] oceanbase-desktop is running, stopping...
[2025-09-22T01:27:12.886Z] [INFO] obd instance stopped successfully
[2025-09-22T01:27:12.887Z] [ERROR] Failed to start obd web {"error":{"code":1,"killed":false,"signal":null,"cmd":"/usr/local/bin/orb -m oceanbase-desktop -u root bash -c \"source /root/cluster_env.sh && rm -rf /root/myoceanbase/oceanbase/run/daemon.pid && obd web --port=2880\""}}
[2025-09-22T01:27:12.887Z] [ERROR] Failed to initialize virtual machine services: {"error":{"code":1,"killed":false,"signal":null,"cmd":"/usr/local/bin/orb -m oceanbase-desktop -u root bash -c \"source /root/cluster_env.sh && rm -rf /root/myoceanbase/oceanbase/run/daemon.pid && obd web --port=2880\""}}
[2025-09-22T01:27:13.014Z] [INFO] oceanbase-desktop is already stopped
[2025-09-22T01:27:21.763Z] [INFO] check obd web...
[2025-09-22T01:27:21.841Z] [INFO] Checking Orb service...
[2025-09-22T01:27:21.842Z] [INFO] Cleaning up previous Orb instances...
[2025-09-22T01:27:22.992Z] [INFO] oceanbase-desktop is already stopped
[2025-09-22T01:27:22.993Z] [INFO] Starting Orb service...
[2025-09-22T01:27:22.993Z] [INFO] /Applications/OceanBase-Desktop.app/Contents/Resources/telemetry/telemetry-macos.sh
[2025-09-22T01:27:23.023Z] [INFO] oceanbase-desktop image found, starting obd web...
[2025-09-22T01:27:23.023Z] [INFO] start obd web...
[2025-09-22T01:27:23.233Z] [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-09-22T01:27:31.843Z] [INFO] check obd web...
[2025-09-22T01:27:41.843Z] [INFO] check obd web...
[2025-09-22T01:27:51.848Z] [INFO] check obd web...
[2025-09-22T01:28:01.850Z] [INFO] check obd web...
[2025-09-22T01:28:11.855Z] [INFO] check obd web...
ob启动后是否会显示界面然后再崩溃?
cd ~/Library/Application\ Support/OceanBase-Desktop/logs/
目录下看看是否还有其他日志
执行下这个试试 log show --predicate 'process == "OceanBase-Desktop"' --last 1h
执行过了,部分日志:
2025-09-22 11:25:17.199613+0800 0x2e353d Default 0x0 19142 0 OceanBase-Desktop: (AppKit) [com.apple.AppKit:Screen] NSApplication._react(to:) reactions=1
2025-09-22 11:25:17.208172+0800 0x2e353d Default 0x0 19142 0 OceanBase-Desktop: (AppKit) [com.apple.AppKit:Screen] NSApplication._react(to:) edr
2025-09-22 11:25:17.208172+0800 0x2e353d Default 0x0 19142 0 OceanBase-Desktop: (AppKit) [com.apple.AppKit:Screen] NSApplication._react(to:) reactions=1
2025-09-22 11:25:17.216450+0800 0x2e353d Default 0x0 19142 0 OceanBase-Desktop: (AppKit) [com.apple.AppKit:Screen] NSApplication._react(to:) edr
2025-09-22 11:25:17.216450+0800 0x2e353d Default 0x0 19142 0 OceanBase-Desktop: (AppKit) [com.apple.AppKit:Screen] NSApplication._react(to:) reactions=1
2025-09-22 11:25:28.085563+0800 0x2e353d Activity 0x774a40 19142 0 OceanBase-Desktop: (CoreFoundation) Loading Preferences From User CFPrefsD
2025-09-22 11:25:28.351759+0800 0x31d126 Default 0x0 19142 0 OceanBase-Desktop: (libxpc.dylib) [com.apple.xpc:connection] [0x10c04d6d940] invalidated because the current process cancelled the connection by calling xpc_connection_cancel()
2025-09-22 11:25:28.351760+0800 0x31d126 Default 0x0 19142 0 OceanBase-Desktop: (libxpc.dylib) [com.apple.xpc:session] [0x10c03cc7200] Session canceled.
2025-09-22 11:25:28.351875+0800 0x31d398 Default 0x0 19142 0 OceanBase-Desktop: (UIIntelligenceSupport) [com.apple.UIIntelligenceSupport:xpc] agent connection cancelled (details: Session manually canceled)
2025-09-22 11:25:28.351878+0800 0x31d398 Default 0x0 19142 0 OceanBase-Desktop: (libxpc.dylib) [com.apple.xpc:session] [0x10c03cc7200] Disposing of session
2025-09-22 11:25:28.382259+0800 0x2e353d Default 0x0 19142 0 OceanBase-Desktop: (FrontBoardServices) [com.apple.FrontBoard:SceneClient] [com.apple.controlcenter:8C33EB32-4BDC-45B1-84FA-79E0E0EBB607-Aux[1]-NSStatusItemView] Sending action(s) in update: NSSceneFenceAction
2025-09-22 11:25:28.382560+0800 0x2e353d Default 0x0 19142 0 OceanBase-Desktop: (FrontBoardServices) [com.apple.FrontBoard:SceneClient] [com.apple.controlcenter:8C33EB32-4BDC-45B1-84FA-79E0E0EBB607] Sending action(s) in update: NSSceneFenceAction
2025-09-22 11:25:28.387769+0800 0x2e353d Default 0x0 19142 0 OceanBase-Desktop: (FrontBoardServices) [com.apple.FrontBoard:SceneClient] [com.apple.controlcenter:8C33EB32-4BDC-45B1-84FA-79E0E0EBB607-Replicant[6]-Aux[1]-NSStatusItemView] Sending action(s) in update: NSSceneFenceAction
2025-09-22 11:25:28.388008+0800 0x2e353d Default 0x0 19142 0 OceanBase-Desktop: (FrontBoardServices) [com.apple.FrontBoard:SceneClient] [com.apple.controlcenter:8C33EB32-4BDC-45B1-84FA-79E0E0EBB607] Sending action(s) in update: NSSceneFenceAction
2025-09-22 11:25:28.450461+0800 0x31d4be Activity 0x774a42 19142 0 OceanBase-Desktop: (RunningBoardServices) didChangeInheritances
--------------------------------------------------------------------------------------------------------------------
Log - Default: 1,584, Info: 0, Debug: 0, Error: 71, Fault: 0
Activity - Create: 369, Transition: 0, Actions: 0