[root@local01 software]# obd cluster start demo
Get local repositories ok
Load cluster param plugin ok
Open ssh connection ok
[WARN] OBD-1012: (127.0.0.1) clog and data use the same disk (/)
cluster scenario: express_oltp
Start observer ok
observer program health check x
[WARN] OBD-2002: Failed to start 127.0.0.1 observer
See https://www.oceanbase.com/product/ob-deployer/error-codes .
Trace ID: d83189a4-d56f-11ef-b9db-0894efa729c8
If you want to view detailed obd logs, please run: obd display-trace d83189a4-d56f-11ef-b9db-0894efa729c8
memory_limit和system_memory可以稍微分配大些再试试
df -h看一下磁盘大小
提供一份observer日志看看,应该在你的 /root/oceanbase-ce/log下
执行下obd start再看一下是否有生产日志,demo集群的日志默认是在~/oceanbase-ce/log下的,或者你find一下看看
执行了 obd cluster start demo 这个指令,还是没有,搜索的话,日志文件名称是什么
[root@local01 example]# find /root -name “*.log”
/root/.config/libreoffice/4/user/GraphicsRenderTests.log
/root/obagent/log/agentctl.log
/root/obagent/log/agentd.out.log
/root/obagent/log/agentd.err.log
/root/obagent/log/agentd.log
/root/obagent/log/ob_mgragent.output.log
/root/obagent/log/ob_mgragent.error.log
/root/obagent/log/ob_monagent.output.log
/root/obagent/log/ob_monagent.error.log
/root/obagent/log/mgragent.log
/root/obagent/log/monagent.log
/root/obproxy-ce/log/obproxy.log
/root/obproxy-ce/log/obproxy_xflush.log
/root/obproxy-ce/log/obproxy_digest.log
/root/obproxy-ce/log/obproxy_error.log
/root/obproxy-ce/log/obproxy_slow.log
/root/obproxy-ce/log/obproxy_diagnosis.log
/root/obproxy-ce/log/obproxy_stat.log
/root/obproxy-ce/log/obproxy_limit.log
/root/obproxy-ce/log/obproxy_pool.log
/root/obproxy-ce/log/obproxy_pool_stat.log
/root/obproxy-ce/log/obproxy_trace.log
/root/.local/share/gvfs-metadata/trash:-6dd00f16.log
/root/.local/share/gvfs-metadata/home-0f6cce64.log
/root/.local/share/gvfs-metadata/root-9d7c7b1c.log
/root/.local/share/xrdp/xrdp-chansrv.10.log
/root/.local/share/xrdp/xrdp-chansrv.11.log
/root/prometheus/log/prometheus.log
/root/prometheus/log/prometheusd.log
/root/.obd/repository/oceanbase-ce/4.3.5.0/48b61655aaa13e9b01b722928d1979c76b41937e/etc/timezone_V1.log
/root/renzhiyun_test.log
/root/renzhiyundameng_test.log
/root/renzhiyundameng_prod.log
/root/oceanbase-ce/etc/timezone_V1.log
/root/oceanbase-ce/log_obshell/client.log
/root/grafana/data/log/grafana-console.log
/root/grafana/data/log/grafana.log
/root/observer/etc/timezone_V1.log
/root/observer/log_obshell/client.log
/root/.npm/_logs/2024-03-14T03_47_32_938Z-debug.log
/root/renzhiyun_prod.log
/root/renzhiyun_tst.log
/root/renzhiyunsqlserver_test.log
/root/logs/arthas/arthas.log.2024-09-02.0.log
/root/logs/arthas/arthas.log
/root/logs/arthas-cache/result.log
我搜了一下root目录下的所有log文件,你看看有没有
scenario参数是在哪看到的
你把yaml备份一个
obd cluster destroy demo
然后删除 ~/.obd/cluster/demo路径下所有东西。
执行obd demo看看还会报错么
scenario这个参数在demo的config.yaml文件里
再看看路径下生成日志了么
没有,还是空
提供一下obd版本,操作系统是什么,顺便使用obd安装个obdiag进行一下安装部署前置环境检测看看
https://www.oceanbase.com/docs/community-obd-cn-1000000002023435
[root@local01 example]# obd --version
OceanBase Deploy: 3.1.1
REVISION: 94b5853a18ad1ad09d5afc30d9edb44643dd488c
BUILD_BRANCH: HEAD
BUILD_TIME: Jan 06 2025 11:35:49OURCE
Copyright (C) 2025 OceanBase
License Apache 2.0: Apache version 2 or later https://www.apache.org/licenses/LICENSE-2.0.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
操作系统是centos
[root@local01 example]# lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 8.5.2111
Release: 8.5.2111
Codename: n/a