docker 本地部署测试环境observer 无法启动

【 使用环境 】测试环境
【 OB or 其他组件 】OceanBase-ce
【 使用版本 】4.3.5.2
【问题描述】本地想通过 docker 部署一个 OceanBase-ce 版本,进行信创开发。在编排好 docker-compose.yaml后,发现 observer 启动不成功。(有进程文件,但是 ps -ef 查不到进程号)
【附件及日志】

services:
  obstandalone:
    image: quay.io/oceanbase/oceanbase-ce:latest
    container_name: obstandalone
    environment:
      MODE: MINI
      EXIT_WHILE_ERROR: false
      OB_TENANT_NAME: test
      OB_MEMORY_LIMIT: 12G
      OB_DATAFILE_SIZE: 100G
      OB_LOG_DISK_SIZE: 5G
      OB_SYSTEM_MEMORY: 4G
    ports:
      - "2881:2881"
      - "2882:2882"
    volumes:
      - ./volumes/ob:/root/ob
      - ./volumes/obd/cluster:/root/.obd/cluster
2025-07-28 10:18:07 Start observer ok
2025-07-28 10:18:10 observer program health check x
2025-07-28 10:18:10 [WARN] OBD-2002: Failed to start 172.18.0.2 observer
2025-07-28 10:18:10 See https://www.oceanbase.com/product/ob-deployer/error-codes .
2025-07-28 10:18:10 Trace ID: 181368a6-6b59-11f0-a602-0242ac120002
2025-07-28 10:18:10 If you want to view detailed obd logs, please run: obd display-trace 181368a6-6b59-11f0-a602-0242ac120002

sh-4.4# obd display-trace 181368a6-6b59-11f0-a602-0242ac120002
[2025-07-28 02:18:04.867] [DEBUG] - cmd: ['obcluster']
[2025-07-28 02:18:04.868] [DEBUG] - opts: {'servers': None, 'components': None, 'force_delete': None, 'strict_check': None, 'without_parameter': None}
[2025-07-28 02:18:04.868] [DEBUG] - mkdir /root/.obd/lock/
[2025-07-28 02:18:04.868] [DEBUG] - unknown lock mode 
[2025-07-28 02:18:04.868] [DEBUG] - try to get share lock /root/.obd/lock/global
[2025-07-28 02:18:04.868] [DEBUG] - share lock `/root/.obd/lock/global`, count 1
[2025-07-28 02:18:04.869] [DEBUG] - Get Deploy by name
[2025-07-28 02:18:04.869] [DEBUG] - mkdir /root/.obd/cluster/
[2025-07-28 02:18:04.869] [DEBUG] - mkdir /root/.obd/config_parser/
[2025-07-28 02:18:04.869] [DEBUG] - try to get exclusive lock /root/.obd/lock/deploy_obcluster
[2025-07-28 02:18:04.869] [DEBUG] - exclusive lock `/root/.obd/lock/deploy_obcluster`, count 1
[2025-07-28 02:18:04.876] [DEBUG] - Deploy status judge
[2025-07-28 02:18:04.876] [INFO] Get local repositories
[2025-07-28 02:18:04.876] [DEBUG] - mkdir /root/.obd/repository
[2025-07-28 02:18:04.877] [DEBUG] - Get local repository oceanbase-ce-4.3.5.2-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:04.877] [DEBUG] - Search repository oceanbase-ce version: 4.3.5.2, tag: 791753420363b1a71ccba150abd74ebbd3c86fd8, release: None, package_hash: None
[2025-07-28 02:18:04.877] [DEBUG] - try to get share lock /root/.obd/lock/mirror_and_repo
[2025-07-28 02:18:04.877] [DEBUG] - share lock `/root/.obd/lock/mirror_and_repo`, count 1
[2025-07-28 02:18:04.877] [DEBUG] - mkdir /root/.obd/repository/oceanbase-ce
[2025-07-28 02:18:04.879] [DEBUG] - Found repository oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:04.880] [DEBUG] - Get deploy config
[2025-07-28 02:18:04.892] [INFO] Load cluster param plugin
[2025-07-28 02:18:04.892] [DEBUG] - Get local repository oceanbase-ce-4.3.5.2-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:04.892] [DEBUG] - Searching param plugin for components ...
[2025-07-28 02:18:04.892] [DEBUG] - Search param plugin for oceanbase-ce
[2025-07-28 02:18:04.892] [DEBUG] - mkdir /root/.obd/plugins
[2025-07-28 02:18:04.893] [DEBUG] - Found for oceanbase-ce-param-4.3.3.0 for oceanbase-ce-4.3.5.2
[2025-07-28 02:18:04.893] [DEBUG] - Applying oceanbase-ce-param-4.3.3.0 for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:05.618] [INFO] Open ssh connection
[2025-07-28 02:18:05.623] [DEBUG] - host: 172.18.0.2, port: 22, user: root, password: ******
[2025-07-28 02:18:05.828] [DEBUG] - Searching start_check template for components ...
[2025-07-28 02:18:05.829] [DEBUG] - mkdir /root/.obd/workflows
[2025-07-28 02:18:05.830] [DEBUG] - Call workflow oceanbase-ce-py_script_workflow_start_check-4.3.0.0 for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:05.830] [DEBUG] - mkdir /root/.obd/mirror
[2025-07-28 02:18:05.830] [DEBUG] - mkdir /root/.obd/mirror/remote
[2025-07-28 02:18:05.830] [DEBUG] - mkdir /root/.obd/mirror/local
[2025-07-28 02:18:05.830] [DEBUG] - mkdir /root/.obd/optimize/
[2025-07-28 02:18:05.831] [DEBUG] - mkdir /root/.obd/tool/
[2025-07-28 02:18:05.831] [DEBUG] - import start_check
[2025-07-28 02:18:05.831] [DEBUG] - add start_check ref count to 1
[2025-07-28 02:18:05.831] [DEBUG] - sub start_check ref count to 0
[2025-07-28 02:18:05.831] [DEBUG] - export start_check
[2025-07-28 02:18:05.832] [DEBUG] - plugin oceanbase-ce-py_script_workflow_start_check-4.3.0.0 result: True
[2025-07-28 02:18:05.832] [DEBUG] - Found for oceanbase-ce-py_script_workflow_start_check-4.3.0.0 for oceanbase-ce-4.3.0.0
[2025-07-28 02:18:05.832] [DEBUG] - share lock `/root/.obd/lock/mirror_and_repo`, count 2
[2025-07-28 02:18:05.834] [DEBUG] - Searching start_check_pre plugin for components ...
[2025-07-28 02:18:05.834] [DEBUG] - Searching start_check_pre plugin for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:05.834] [DEBUG] - Found for oceanbase-ce-py_script_start_check_pre-4.3.0.0 for oceanbase-ce-4.3.5.2
[2025-07-28 02:18:05.835] [DEBUG] - Call plugin oceanbase-ce-py_script_start_check_pre-4.3.0.0 for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:05.835] [DEBUG] - import start_check_pre
[2025-07-28 02:18:05.836] [DEBUG] - add start_check_pre ref count to 1
[2025-07-28 02:18:05.837] [DEBUG] - sub start_check_pre ref count to 0
[2025-07-28 02:18:05.837] [DEBUG] - export start_check_pre
[2025-07-28 02:18:05.837] [DEBUG] - plugin oceanbase-ce-py_script_start_check_pre-4.3.0.0 result: True
[2025-07-28 02:18:05.837] [DEBUG] - Searching status_check plugin for components ...
[2025-07-28 02:18:05.837] [DEBUG] - Searching status_check plugin for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:05.838] [DEBUG] - Found for oceanbase-ce-py_script_status_check-4.2.1.4 for oceanbase-ce-4.3.5.2
[2025-07-28 02:18:05.838] [DEBUG] - Call plugin oceanbase-ce-py_script_status_check-4.2.1.4 for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:05.838] [DEBUG] - import status_check
[2025-07-28 02:18:05.838] [DEBUG] - add status_check ref count to 1
[2025-07-28 02:18:05.839] [DEBUG] -- root@172.18.0.2 execute: ls /root/ob/observer/store/clog/tenant_1/ 
[2025-07-28 02:18:05.902] [DEBUG] -- exited code 2, error output:
[2025-07-28 02:18:05.902] [DEBUG] ls: cannot access '/root/ob/observer/store/clog/tenant_1/': No such file or directory
[2025-07-28 02:18:05.902] [DEBUG] 
[2025-07-28 02:18:05.902] [DEBUG] -- root@172.18.0.2 execute: cat /root/ob/observer/run/observer.pid 
[2025-07-28 02:18:05.958] [DEBUG] -- exited code 1, error output:
[2025-07-28 02:18:05.958] [DEBUG] cat: /root/ob/observer/run/observer.pid: No such file or directory
[2025-07-28 02:18:05.958] [DEBUG] 
[2025-07-28 02:18:05.959] [DEBUG] - sub status_check ref count to 0
[2025-07-28 02:18:05.959] [DEBUG] - export status_check
[2025-07-28 02:18:05.959] [DEBUG] - plugin oceanbase-ce-py_script_status_check-4.2.1.4 result: True
[2025-07-28 02:18:05.959] [DEBUG] - Searching parameter_check plugin for components ...
[2025-07-28 02:18:05.959] [DEBUG] - Searching parameter_check plugin for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:05.960] [DEBUG] - Found for oceanbase-ce-py_script_parameter_check-4.0.0.0 for oceanbase-ce-4.3.5.2
[2025-07-28 02:18:05.960] [DEBUG] - Call plugin oceanbase-ce-py_script_parameter_check-4.0.0.0 for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:05.960] [DEBUG] - import parameter_check
[2025-07-28 02:18:05.961] [DEBUG] - add parameter_check ref count to 1
[2025-07-28 02:18:05.962] [DEBUG] -- root@172.18.0.2 execute: ls /root/ob/observer/store/sstable/block_file 
[2025-07-28 02:18:06.016] [DEBUG] -- exited code 2, error output:
[2025-07-28 02:18:06.016] [DEBUG] ls: cannot access '/root/ob/observer/store/sstable/block_file': No such file or directory
[2025-07-28 02:18:06.016] [DEBUG] 
[2025-07-28 02:18:06.016] [DEBUG] - sub parameter_check ref count to 0
[2025-07-28 02:18:06.017] [DEBUG] - export parameter_check
[2025-07-28 02:18:06.017] [DEBUG] - plugin oceanbase-ce-py_script_parameter_check-4.0.0.0 result: True
[2025-07-28 02:18:06.017] [DEBUG] - Searching system_limits_check plugin for components ...
[2025-07-28 02:18:06.017] [DEBUG] - Searching system_limits_check plugin for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.018] [DEBUG] - Found for oceanbase-ce-py_script_system_limits_check-3.1.0 for oceanbase-ce-4.3.5.2
[2025-07-28 02:18:06.018] [DEBUG] - Call plugin oceanbase-ce-py_script_system_limits_check-3.1.0 for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.018] [DEBUG] - import system_limits_check
[2025-07-28 02:18:06.020] [DEBUG] - add system_limits_check ref count to 1
[2025-07-28 02:18:06.020] [DEBUG] -- root@172.18.0.2 execute: cat /proc/sys/fs/aio-max-nr /proc/sys/fs/aio-nr 
[2025-07-28 02:18:06.075] [DEBUG] -- exited code 0
[2025-07-28 02:18:06.075] [WARNING] OBD-1011: (172.18.0.2) The recommended value of fs.aio-max-nr is 1048576 (Current value: 65536)
[2025-07-28 02:18:06.075] [DEBUG] -- root@172.18.0.2 execute: bash -c "ulimit -a" 
[2025-07-28 02:18:06.131] [DEBUG] -- exited code 0
[2025-07-28 02:18:06.132] [WARNING] OBD-1007: (172.18.0.2) The recommended number of core file size is unlimited (Current value: 0)
[2025-07-28 02:18:06.132] [WARNING] OBD-1007: (172.18.0.2) The recommended number of stack size is unlimited (Current value: 8192)
[2025-07-28 02:18:06.133] [DEBUG] -- root@172.18.0.2 execute: sysctl -a 
[2025-07-28 02:18:06.217] [DEBUG] -- exited code 0
[2025-07-28 02:18:06.222] [WARNING] OBD-1017: (172.18.0.2) The value of the "vm.max_map_count" must be within [327600, 1310720] (Current value: 262144, Recommended value: 655360)
[2025-07-28 02:18:06.223] [WARNING] OBD-1017: (172.18.0.2) The value of the "vm.overcommit_memory" must be 0 (Current value: 1, Recommended value: 0)
[2025-07-28 02:18:06.223] [WARNING] OBD-1017: (172.18.0.2) The value of the "fs.file-max" must be greater than 6573688 (Current value: 1636810, Recommended value: 6573688)
[2025-07-28 02:18:06.223] [DEBUG] - sub system_limits_check ref count to 0
[2025-07-28 02:18:06.223] [DEBUG] - export system_limits_check
[2025-07-28 02:18:06.223] [DEBUG] - plugin oceanbase-ce-py_script_system_limits_check-3.1.0 result: True
[2025-07-28 02:18:06.223] [DEBUG] - Searching resource_check plugin for components ...
[2025-07-28 02:18:06.224] [DEBUG] - Searching resource_check plugin for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.224] [DEBUG] - Found for oceanbase-ce-py_script_resource_check-4.0.0.0 for oceanbase-ce-4.3.5.2
[2025-07-28 02:18:06.224] [DEBUG] - Call plugin oceanbase-ce-py_script_resource_check-4.0.0.0 for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.224] [DEBUG] - import resource_check
[2025-07-28 02:18:06.227] [DEBUG] - add resource_check ref count to 1
[2025-07-28 02:18:06.227] [DEBUG] -- root@172.18.0.2 execute: cat /proc/meminfo 
[2025-07-28 02:18:06.282] [DEBUG] -- exited code 0
[2025-07-28 02:18:06.284] [DEBUG] -- root@172.18.0.2 execute: df --block-size=1024  
[2025-07-28 02:18:06.344] [DEBUG] -- exited code 0
[2025-07-28 02:18:06.345] [DEBUG] -- get disk info for path /, total: 78418677760 avail: 18127380480
[2025-07-28 02:18:06.345] [DEBUG] -- get disk info for path /dev, total: 67108864 avail: 67108864
[2025-07-28 02:18:06.345] [DEBUG] -- get disk info for path /dev/shm, total: 67108864 avail: 67108864
[2025-07-28 02:18:06.345] [DEBUG] -- get disk info for path /root/ob, total: 499963174912 avail: 220762386432
[2025-07-28 02:18:06.345] [DEBUG] -- get disk info for path /etc/hosts, total: 78418677760 avail: 18127118336
[2025-07-28 02:18:06.345] [DEBUG] -- get disk info for path /proc/acpi, total: 8384761856 avail: 8384761856
[2025-07-28 02:18:06.345] [DEBUG] -- get disk info for path /sys/firmware, total: 8384761856 avail: 8384761856
[2025-07-28 02:18:06.345] [DEBUG] -- root@172.18.0.2 execute: df --block-size=1024 /root/ob/observer/store/clog 
[2025-07-28 02:18:06.402] [DEBUG] -- exited code 0
[2025-07-28 02:18:06.402] [DEBUG] -- get disk info for path /root/ob, total: 499963174912 avail: 220762386432
[2025-07-28 02:18:06.402] [DEBUG] -- root@172.18.0.2 execute: df --block-size=1024 /root/ob/observer/store 
[2025-07-28 02:18:06.456] [DEBUG] -- exited code 0
[2025-07-28 02:18:06.457] [DEBUG] -- get disk info for path /root/ob, total: 499963174912 avail: 220762386432
[2025-07-28 02:18:06.457] [DEBUG] -- disk: {'/': {'total': 78418677760, 'avail': 18127380480, 'need': 0}, '/dev': {'total': 67108864, 'avail': 67108864, 'need': 0}, '/dev/shm': {'total': 67108864, 'avail': 67108864, 'need': 0}, '/root/ob': {'total': 499963174912, 'avail': 220762386432, 'need': 0}, '/etc/hosts': {'total': 78418677760, 'avail': 18127118336, 'need': 0}, '/proc/acpi': {'total': 8384761856, 'avail': 8384761856, 'need': 0}, '/sys/firmware': {'total': 8384761856, 'avail': 8384761856, 'need': 0}}
[2025-07-28 02:18:06.457] [WARNING] OBD-1012: (172.18.0.2) clog and data use the same disk (/root/ob)
[2025-07-28 02:18:06.458] [DEBUG] -- root@172.18.0.2 execute: date +%s%N 
[2025-07-28 02:18:06.511] [DEBUG] -- exited code 0
[2025-07-28 02:18:06.512] [DEBUG] -- 172.18.0.2 time delta 25.4033203125
[2025-07-28 02:18:06.512] [DEBUG] - sub resource_check ref count to 0
[2025-07-28 02:18:06.512] [DEBUG] - export resource_check
[2025-07-28 02:18:06.512] [DEBUG] - plugin oceanbase-ce-py_script_resource_check-4.0.0.0 result: True
[2025-07-28 02:18:06.512] [DEBUG] - Searching environment_check plugin for components ...
[2025-07-28 02:18:06.513] [DEBUG] - Searching environment_check plugin for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.513] [DEBUG] - Found for oceanbase-ce-py_script_environment_check-4.2.0.0 for oceanbase-ce-4.3.5.2
[2025-07-28 02:18:06.513] [DEBUG] - Call plugin oceanbase-ce-py_script_environment_check-4.2.0.0 for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.513] [DEBUG] - import environment_check
[2025-07-28 02:18:06.515] [DEBUG] - add environment_check ref count to 1
[2025-07-28 02:18:06.516] [DEBUG] -- 172.18.0.2 port check
[2025-07-28 02:18:06.516] [DEBUG] -- root@172.18.0.2 execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{if($4=="0A") print $2,$4,$10}' | grep ':0B41' | awk -F' ' '{print $3}' | uniq 
[2025-07-28 02:18:06.572] [DEBUG] -- exited code 0
[2025-07-28 02:18:06.573] [DEBUG] -- root@172.18.0.2 execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{if($4=="0A") print $2,$4,$10}' | grep ':0B42' | awk -F' ' '{print $3}' | uniq 
[2025-07-28 02:18:06.634] [DEBUG] -- exited code 0
[2025-07-28 02:18:06.634] [DEBUG] -- root@172.18.0.2 execute: lscpu | grep avx 
[2025-07-28 02:18:06.690] [DEBUG] -- exited code 0
[2025-07-28 02:18:06.691] [DEBUG] -- root@172.18.0.2 execute: ping -W 1 -c 1 127.0.0.1 
[2025-07-28 02:18:06.746] [DEBUG] -- exited code 0
[2025-07-28 02:18:06.746] [DEBUG] - sub environment_check ref count to 0
[2025-07-28 02:18:06.746] [DEBUG] - export environment_check
[2025-07-28 02:18:06.746] [DEBUG] - plugin oceanbase-ce-py_script_environment_check-4.2.0.0 result: True
[2025-07-28 02:18:06.746] [DEBUG] - Searching obshell_port_check plugin for components ...
[2025-07-28 02:18:06.747] [DEBUG] - Searching obshell_port_check plugin for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.747] [DEBUG] - Found for oceanbase-ce-py_script_obshell_port_check-4.2.1.4 for oceanbase-ce-4.3.5.2
[2025-07-28 02:18:06.747] [DEBUG] - Call plugin oceanbase-ce-py_script_obshell_port_check-4.2.1.4 for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.748] [DEBUG] - import obshell_port_check
[2025-07-28 02:18:06.748] [DEBUG] - add obshell_port_check ref count to 1
[2025-07-28 02:18:06.749] [DEBUG] -- root@172.18.0.2 execute: cat /root/ob/observer/run/obshell.pid 
[2025-07-28 02:18:06.801] [DEBUG] -- exited code 1, error output:
[2025-07-28 02:18:06.801] [DEBUG] cat: /root/ob/observer/run/obshell.pid: No such file or directory
[2025-07-28 02:18:06.801] [DEBUG] 
[2025-07-28 02:18:06.801] [DEBUG] -- 172.18.0.2 port check
[2025-07-28 02:18:06.801] [DEBUG] -- root@172.18.0.2 execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{if($4=="0A") print $2,$4,$10}' | grep ':0B46' | awk -F' ' '{print $3}' | uniq 
[2025-07-28 02:18:06.860] [DEBUG] -- exited code 0
[2025-07-28 02:18:06.861] [DEBUG] - sub obshell_port_check ref count to 0
[2025-07-28 02:18:06.861] [DEBUG] - export obshell_port_check
[2025-07-28 02:18:06.861] [DEBUG] - plugin oceanbase-ce-py_script_obshell_port_check-4.2.1.4 result: True
[2025-07-28 02:18:06.861] [DEBUG] - Searching scenario_start_check plugin for components ...
[2025-07-28 02:18:06.861] [DEBUG] - Searching scenario_start_check plugin for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.862] [DEBUG] - Found for oceanbase-ce-py_script_scenario_start_check-4.3.0.0 for oceanbase-ce-4.3.5.2
[2025-07-28 02:18:06.862] [DEBUG] - Call plugin oceanbase-ce-py_script_scenario_start_check-4.3.0.0 for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.862] [DEBUG] - import scenario_start_check
[2025-07-28 02:18:06.863] [DEBUG] - add scenario_start_check ref count to 1
[2025-07-28 02:18:06.863] [DEBUG] - sub scenario_start_check ref count to 0
[2025-07-28 02:18:06.863] [DEBUG] - export scenario_start_check
[2025-07-28 02:18:06.863] [DEBUG] - plugin oceanbase-ce-py_script_scenario_start_check-4.3.0.0 result: True
[2025-07-28 02:18:06.863] [DEBUG] - Searching ocp_tenant_check plugin for components ...
[2025-07-28 02:18:06.863] [DEBUG] - Searching ocp_tenant_check plugin for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.864] [DEBUG] - Found for oceanbase-ce-py_script_ocp_tenant_check-4.0.0.0 for oceanbase-ce-4.3.5.2
[2025-07-28 02:18:06.864] [DEBUG] - Call plugin oceanbase-ce-py_script_ocp_tenant_check-4.0.0.0 for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.864] [DEBUG] - import ocp_tenant_check
[2025-07-28 02:18:06.865] [DEBUG] - add ocp_tenant_check ref count to 1
[2025-07-28 02:18:06.865] [DEBUG] - sub ocp_tenant_check ref count to 0
[2025-07-28 02:18:06.865] [DEBUG] - export ocp_tenant_check
[2025-07-28 02:18:06.865] [DEBUG] - plugin oceanbase-ce-py_script_ocp_tenant_check-4.0.0.0 result: True
[2025-07-28 02:18:06.866] [DEBUG] - Searching start template for components ...
[2025-07-28 02:18:06.866] [DEBUG] - Call workflow oceanbase-ce-py_script_workflow_start-4.2.1.4 for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.866] [DEBUG] - import start
[2025-07-28 02:18:06.867] [DEBUG] - add start ref count to 1
[2025-07-28 02:18:06.867] [DEBUG] - sub start ref count to 0
[2025-07-28 02:18:06.867] [DEBUG] - export start
[2025-07-28 02:18:06.867] [DEBUG] - plugin oceanbase-ce-py_script_workflow_start-4.2.1.4 result: True
[2025-07-28 02:18:06.867] [DEBUG] - Found for oceanbase-ce-py_script_workflow_start-4.2.1.4 for oceanbase-ce-4.2.1.4
[2025-07-28 02:18:06.867] [DEBUG] - Searching configserver_pre plugin for components ...
[2025-07-28 02:18:06.867] [DEBUG] - Searching configserver_pre plugin for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.868] [DEBUG] - Found for oceanbase-ce-py_script_configserver_pre-3.1.0 for oceanbase-ce-4.3.5.2
[2025-07-28 02:18:06.868] [DEBUG] - Call plugin oceanbase-ce-py_script_configserver_pre-3.1.0 for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.868] [DEBUG] - import configserver_pre
[2025-07-28 02:18:06.869] [DEBUG] - add configserver_pre ref count to 1
[2025-07-28 02:18:06.869] [DEBUG] - sub configserver_pre ref count to 0
[2025-07-28 02:18:06.869] [DEBUG] - export configserver_pre
[2025-07-28 02:18:06.869] [DEBUG] - plugin oceanbase-ce-py_script_configserver_pre-3.1.0 result: True
[2025-07-28 02:18:06.869] [DEBUG] - Searching start_pre plugin for components ...
[2025-07-28 02:18:06.870] [DEBUG] - Searching start_pre plugin for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.870] [DEBUG] - Found for oceanbase-ce-py_script_start_pre-4.3.0.0 for oceanbase-ce-4.3.5.2
[2025-07-28 02:18:06.871] [DEBUG] - Call plugin oceanbase-ce-py_script_start_pre-4.3.0.0 for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.871] [DEBUG] - import start_pre
[2025-07-28 02:18:06.872] [DEBUG] - add start_pre ref count to 1
[2025-07-28 02:18:06.873] [INFO] cluster scenario: express_oltp
[2025-07-28 02:18:06.873] [DEBUG] -- root@172.18.0.2 execute: ls /root/ob/observer/store/clog/tenant_1/ 
[2025-07-28 02:18:06.917] [DEBUG] -- exited code 2, error output:
[2025-07-28 02:18:06.917] [DEBUG] ls: cannot access '/root/ob/observer/store/clog/tenant_1/': No such file or directory
[2025-07-28 02:18:06.917] [DEBUG] 
[2025-07-28 02:18:06.917] [DEBUG] -- root@172.18.0.2 execute: cat /root/ob/observer/run/observer.pid 
[2025-07-28 02:18:06.973] [DEBUG] -- exited code 1, error output:
[2025-07-28 02:18:06.973] [DEBUG] cat: /root/ob/observer/run/observer.pid: No such file or directory
[2025-07-28 02:18:06.973] [DEBUG] 
[2025-07-28 02:18:06.973] [DEBUG] -- 172.18.0.2 start command construction
[2025-07-28 02:18:06.973] [DEBUG] -- update enable_record_trace_log to False because of scenario
[2025-07-28 02:18:06.973] [DEBUG] -- update enable_syslog_recycle to 1 because of scenario
[2025-07-28 02:18:06.973] [DEBUG] -- update max_syslog_file_count to 300 because of scenario
[2025-07-28 02:18:06.974] [DEBUG] - sub start_pre ref count to 0
[2025-07-28 02:18:06.974] [DEBUG] - export start_pre
[2025-07-28 02:18:06.974] [DEBUG] - plugin oceanbase-ce-py_script_start_pre-4.3.0.0 result: True
[2025-07-28 02:18:06.974] [DEBUG] - Searching start plugin for components ...
[2025-07-28 02:18:06.974] [DEBUG] - Searching start plugin for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.975] [DEBUG] - Found for oceanbase-ce-py_script_start-3.1.0 for oceanbase-ce-4.3.5.2
[2025-07-28 02:18:06.975] [DEBUG] - Call plugin oceanbase-ce-py_script_start-3.1.0 for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:06.976] [DEBUG] - import start
[2025-07-28 02:18:06.976] [DEBUG] - add start ref count to 1
[2025-07-28 02:18:06.976] [INFO] Start observer
[2025-07-28 02:18:06.977] [DEBUG] -- starting 172.18.0.2 observer
[2025-07-28 02:18:06.977] [DEBUG] -- root@172.18.0.2 export LD_LIBRARY_PATH='/root/ob/observer/lib:'
[2025-07-28 02:18:06.977] [DEBUG] -- root@172.18.0.2 execute: cd /root/ob/observer; /root/ob/observer/bin/observer -r '172.18.0.2:2882:2881' -p 2881 -P 2882 -z 'zone1' -n 'obcluster' -c 1753669081 -d '/root/ob/observer/store' -l 'INFO' -I '172.18.0.2' -o __min_full_resource_pool_memory=2147483648,memory_limit='12G',system_memory='4G',datafile_size='100G',log_disk_size='5G',cpu_count=16,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4,enable_rich_error_msg=True,enable_record_trace_log=False 
[2025-07-28 02:18:07.488] [DEBUG] -- exited code 0
[2025-07-28 02:18:07.489] [DEBUG] -- root@172.18.0.2 delete env LD_LIBRARY_PATH
[2025-07-28 02:18:07.489] [DEBUG] -- need_bootstrap: True
[2025-07-28 02:18:07.489] [DEBUG] - sub start ref count to 0
[2025-07-28 02:18:07.489] [DEBUG] - export start
[2025-07-28 02:18:07.489] [DEBUG] - plugin oceanbase-ce-py_script_start-3.1.0 result: True
[2025-07-28 02:18:07.489] [DEBUG] - Searching health_check plugin for components ...
[2025-07-28 02:18:07.490] [DEBUG] - Searching health_check plugin for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:07.490] [DEBUG] - Found for oceanbase-ce-py_script_health_check-3.1.0 for oceanbase-ce-4.3.5.2
[2025-07-28 02:18:07.490] [DEBUG] - Call plugin oceanbase-ce-py_script_health_check-3.1.0 for oceanbase-ce-4.3.5.2-102010012025052715.el8-791753420363b1a71ccba150abd74ebbd3c86fd8
[2025-07-28 02:18:07.490] [DEBUG] - import health_check
[2025-07-28 02:18:07.491] [DEBUG] - add health_check ref count to 1
[2025-07-28 02:18:07.491] [INFO] observer program health check
[2025-07-28 02:18:10.494] [DEBUG] -- 172.18.0.2 program health check
[2025-07-28 02:18:10.495] [DEBUG] -- root@172.18.0.2 execute: cat /root/ob/observer/run/observer.pid 
[2025-07-28 02:18:10.510] [DEBUG] -- exited code 0
[2025-07-28 02:18:10.511] [DEBUG] -- root@172.18.0.2 execute: ls /proc/921 
[2025-07-28 02:18:10.567] [DEBUG] -- exited code 2, error output:
[2025-07-28 02:18:10.567] [DEBUG] ls: cannot access '/proc/921': No such file or directory
[2025-07-28 02:18:10.567] [DEBUG] 
[2025-07-28 02:18:10.568] [WARNING] OBD-2002: Failed to start 172.18.0.2 observer
[2025-07-28 02:18:10.568] [DEBUG] - sub health_check ref count to 0
[2025-07-28 02:18:10.568] [DEBUG] - export health_check
[2025-07-28 02:18:10.568] [DEBUG] - plugin oceanbase-ce-py_script_health_check-3.1.0 result: False
[2025-07-28 02:18:10.571] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo release, count 1
[2025-07-28 02:18:10.571] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo release, count 0
[2025-07-28 02:18:10.571] [DEBUG] - unlock /root/.obd/lock/mirror_and_repo
[2025-07-28 02:18:10.571] [DEBUG] - exclusive lock /root/.obd/lock/deploy_obcluster release, count 0
[2025-07-28 02:18:10.572] [DEBUG] - unlock /root/.obd/lock/deploy_obcluster
[2025-07-28 02:18:10.572] [DEBUG] - share lock /root/.obd/lock/global release, count 0
[2025-07-28 02:18:10.572] [DEBUG] - unlock /root/.obd/lock/global
[2025-07-28 02:18:10.572] [INFO] See https://www.oceanbase.com/product/ob-deployer/error-codes .
[2025-07-28 02:18:10.572] [INFO] Trace ID: 181368a6-6b59-11f0-a602-0242ac120002
[2025-07-28 02:18:10.572] [INFO] If you want to view detailed obd logs, please run: obd display-trace 181368a6-6b59-11f0-a602-0242ac120002

【备注】基于 LLM 和开源文档 RAG 的论坛小助手已开放测试,在发帖时输入 [@论坛小助手] 即可召唤小助手,欢迎试用!

2 个赞

log文化和数据文件路径都不存在,你是不是没执行deploy部署

2 个赞

学习了,如果解决了麻烦分享一下经验哈

1 个赞

执行 obd cluster list 显示 deployed

sh-4.4# obd cluster list
+------------------------------------------------------------+
|                        Cluster List                        |
+-----------+------------------------------+-----------------+
| Name      | Configuration Path           | Status (Cached) |
+-----------+------------------------------+-----------------+
| obcluster | /root/.obd/cluster/obcluster | deployed        |
+-----------+------------------------------+-----------------+
Trace ID: aad91ac2-6c22-11f0-a2bf-0242c0a89002
If you want to view detailed obd logs, please run: obd display-trace aad91ac2-6c22-11f0-a2bf-0242c0a89002

感觉不是日志文件的问题,因为我手动创建文件夹后,依然是相同的问题:observer 没有启动成功。

1 个赞

补充 observer log

关键错误内容

[2025-07-29 03:27:32.466424] INFO  create_queue_thread (ob_srv_deliver.cpp:467) [921][observer][T0][Y0-0000000000000001-0-0] [lt=10] start tg(tg_id=26, tg_name=MysqlQueueTh)
[2025-07-29 03:27:32.466431] INFO  [RPC.OBRPC] th_init (ob_rpc_translator.cpp:29) [964][DDLPQueueTh1][T0][Y0-0000000000000000-0-0] [lt=6] Init thread local success
[2025-07-29 03:27:32.466621] WDIAG [STORAGE.TRANS] getClock (ob_clock_generator.h:70) [965][][T0][Y0-0000000000000000-0-0] [lt=0][errcode=-4006] clock generator not inited
[2025-07-29 03:27:32.466641] INFO  [RPC.FRAME] onThreadCreated (ob_req_qhandler.cpp:44) [965][MysqlQueueTh0][T0][Y0-0000000000000000-0-0] [lt=8] new task thread create(&translator_=0x55d2be01d710)
[2025-07-29 03:27:32.466645] INFO  [RPC.OBRPC] th_init (ob_rpc_translator.cpp:29) [965][MysqlQueueTh0][T0][Y0-0000000000000000-0-0] [lt=4] Init thread local success
[2025-07-29 03:27:32.466813] WDIAG [STORAGE.TRANS] getClock (ob_clock_generator.h:70) [966][][T0][Y0-0000000000000000-0-0] [lt=0][errcode=-4006] clock generator not inited
[2025-07-29 03:27:32.466834] INFO  create_queue_thread (ob_srv_deliver.cpp:467) [921][observer][T0][Y0-0000000000000001-0-0] [lt=11] start tg(tg_id=28, tg_name=DiagnoseQueueTh)
[2025-07-29 03:27:32.466836] INFO  [RPC.FRAME] onThreadCreated (ob_req_qhandler.cpp:44) [966][MysqlQueueTh1][T0][Y0-0000000000000000-0-0] [lt=12] new task thread create(&translator_=0x55d2be01d710)
[2025-07-29 03:27:32.466843] INFO  [RPC.OBRPC] th_init (ob_rpc_translator.cpp:29) [966][MysqlQueueTh1][T0][Y0-0000000000000000-0-0] [lt=6] Init thread local success
[2025-07-29 03:27:32.467011] WDIAG [STORAGE.TRANS] getClock (ob_clock_generator.h:70) [967][][T0][Y0-0000000000000000-0-0] [lt=0][errcode=-4006] clock generator not inited
[2025-07-29 03:27:32.467026] INFO  [SERVER] init_queue_threads (ob_srv_deliver.cpp:485) [921][observer][T0][Y0-0000000000000001-0-0] [lt=8] queue thread create successfully(host="172.19.0.2:2882")
[2025-07-29 03:27:32.467034] INFO  [RPC.FRAME] onThreadCreated (ob_req_qhandler.cpp:44) [967][DiagnoseQueueTh][T0][Y0-0000000000000000-0-0] [lt=12] new task thread create(&translator_=0x55d2be01d710)
[2025-07-29 03:27:32.467036] INFO  [SERVER] init (ob_srv_deliver.cpp:420) [921][observer][T0][Y0-0000000000000001-0-0] [lt=9] init ObSrvDeliver done
[2025-07-29 03:27:32.467040] INFO  [RPC.OBRPC] th_init (ob_rpc_translator.cpp:29) [967][DiagnoseQueueTh][T0][Y0-0000000000000000-0-0] [lt=6] Init thread local success
CRASH ERROR!!! IP=55d2bcda41cd, RBP=7f80b7bff760, sig=4, sig_code=2, sig_addr=0x55d2bcda41cd, RLIMIT_CORE=0, timestamp=1753759652467463, tid=921, tname=observer, trace_id=Y0-0000000000000001-0-0, lbt=0x26a19f88 0x26687cbd 0x7f80c0812cdf 0x27ad41cd 0x27ad2782 0x27ac0574 0x279e487d 0x12586bbd 0x1397bea7 0xf9805b4 0x279cbe6f 0xf97c44c 0x7f80c043acf2 0x9cf2ddd, SQL_ID=, SQL_STRING=
1 个赞

observer crash掉了,需要放observer 目录下面的core文件上来看看

1 个赞

具体路径在哪里?目录里面没有看到 core 文件

1 个赞

进入容器中 这样执行一下 看看堆栈信息 addr2line -pCfe bin/observer 0x26a19f88 0x26687cbd 0x7f80c0812cdf 0x27ad41cd 0x27ad2782 0x27ac0574 0x279e487d 0x12586bbd 0x1397bea7 0xf9805b4 0x279cbe6f 0xf97c44c 0x7f80c043acf2 0x9cf2ddd
进入容器中 这样查询一下 看看是否配置core文件的路径
sysctl -a | grep pattern

1 个赞

sh-4.4# sysctl -a | grep pattern
kernel.core_pattern = core

sh-4.4# addr2line -pCfe bin/observer 0x26a19f88 0x26687cbd 0x7f388c012cdf 0x27ad41cd 0x27ad2782 0x27ac0574 0x279e487d 0x12586bbd 0x1397bea7 0xf9805b4 0x279cbe6f 0xf97c44c 0x7f388bc3acf2 0x9cf2ddd
safe_backtrace at ??:?
oceanbase::common::coredump_cb(int, int, void*, void*) at ??:?
?? ??:0
fast_current_time at ??:?
easy_pool_alloc_ex at ??:?
easy_eio_create at ??:?
oceanbase::rpc::frame::ObNetEasy::init(oceanbase::rpc::frame::ObNetOptions const&, unsigned char) at ??:?
oceanbase::observer::ObSrvNetworkFrame::init() at ??:?
oceanbase::observer::ObServer::init(oceanbase::share::ObServerOptions const&, oceanbase::common::ObPLogWriterCfg const&) at ??:?
std::_Function_handler<int (), main::$_10>::_M_invoke(std::_Any_data const&) at main.cpp:?
oceanbase::common::jump_call(void*, int ()(void), void*) at ??:?
main at ??:?
?? ??:0
_start at ??:?

1 个赞

你这环境是什么架构的,lscpu完整截图看下,检查下有没有avx指令集

1 个赞

Intel Mac 机器。avx指令集有的

sh-4.4# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 6
On-line CPU(s) list: 0-5
Thread(s) per core: 1
Core(s) per socket: 6
Socket(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 158
Model name: Intel(R) Core™ i7-9750H CPU @ 2.60GHz
Stepping: 10
CPU MHz: 2592.084
BogoMIPS: 5184.16
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 12288K
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch pti fsgsbase bmi1 avx2 smep bmi2 erms rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 arat

1 个赞

有 ERROR 或者 EDIAG 的日志吗
另外一个问题我看环境变量里面设置的 OB_LOG_DISK_SIZE 只有 5G,一般这个值要设置成内存的 3 倍大小,内存我看设置了 12G,这个值可以设置成 36G,这个变量 OB_SYSTEM_MEMORY 一般也不用设置。可以按照这样配置再试一下。

OB_LOG_DISK_SIZE,已经按照别人说法修改到了 40G,依然报相同的错误。
OB_SYSTEM_MEMORY我看文档有要求:设置到内存的 1/3 < x < 1/2 大小。

关于日志,整个系统里面只有 observe 的日志,上面已经把错误内容贴出来了。

[2025-07-29 03:27:32.466424] INFO  create_queue_thread (ob_srv_deliver.cpp:467) [921][observer][T0][Y0-0000000000000001-0-0] [lt=10] start tg(tg_id=26, tg_name=MysqlQueueTh)
[2025-07-29 03:27:32.466431] INFO  [RPC.OBRPC] th_init (ob_rpc_translator.cpp:29) [964][DDLPQueueTh1][T0][Y0-0000000000000000-0-0] [lt=6] Init thread local success
[2025-07-29 03:27:32.466621] WDIAG [STORAGE.TRANS] getClock (ob_clock_generator.h:70) [965][][T0][Y0-0000000000000000-0-0] [lt=0][errcode=-4006] clock generator not inited
[2025-07-29 03:27:32.466641] INFO  [RPC.FRAME] onThreadCreated (ob_req_qhandler.cpp:44) [965][MysqlQueueTh0][T0][Y0-0000000000000000-0-0] [lt=8] new task thread create(&translator_=0x55d2be01d710)
[2025-07-29 03:27:32.466645] INFO  [RPC.OBRPC] th_init (ob_rpc_translator.cpp:29) [965][MysqlQueueTh0][T0][Y0-0000000000000000-0-0] [lt=4] Init thread local success
[2025-07-29 03:27:32.466813] WDIAG [STORAGE.TRANS] getClock (ob_clock_generator.h:70) [966][][T0][Y0-0000000000000000-0-0] [lt=0][errcode=-4006] clock generator not inited
[2025-07-29 03:27:32.466834] INFO  create_queue_thread (ob_srv_deliver.cpp:467) [921][observer][T0][Y0-0000000000000001-0-0] [lt=11] start tg(tg_id=28, tg_name=DiagnoseQueueTh)
[2025-07-29 03:27:32.466836] INFO  [RPC.FRAME] onThreadCreated (ob_req_qhandler.cpp:44) [966][MysqlQueueTh1][T0][Y0-0000000000000000-0-0] [lt=12] new task thread create(&translator_=0x55d2be01d710)
[2025-07-29 03:27:32.466843] INFO  [RPC.OBRPC] th_init (ob_rpc_translator.cpp:29) [966][MysqlQueueTh1][T0][Y0-0000000000000000-0-0] [lt=6] Init thread local success
[2025-07-29 03:27:32.467011] WDIAG [STORAGE.TRANS] getClock (ob_clock_generator.h:70) [967][][T0][Y0-0000000000000000-0-0] [lt=0][errcode=-4006] clock generator not inited
[2025-07-29 03:27:32.467026] INFO  [SERVER] init_queue_threads (ob_srv_deliver.cpp:485) [921][observer][T0][Y0-0000000000000001-0-0] [lt=8] queue thread create successfully(host="172.19.0.2:2882")
[2025-07-29 03:27:32.467034] INFO  [RPC.FRAME] onThreadCreated (ob_req_qhandler.cpp:44) [967][DiagnoseQueueTh][T0][Y0-0000000000000000-0-0] [lt=12] new task thread create(&translator_=0x55d2be01d710)
[2025-07-29 03:27:32.467036] INFO  [SERVER] init (ob_srv_deliver.cpp:420) [921][observer][T0][Y0-0000000000000001-0-0] [lt=9] init ObSrvDeliver done
[2025-07-29 03:27:32.467040] INFO  [RPC.OBRPC] th_init (ob_rpc_translator.cpp:29) [967][DiagnoseQueueTh][T0][Y0-0000000000000000-0-0] [lt=6] Init thread local success
CRASH ERROR!!! IP=55d2bcda41cd, RBP=7f80b7bff760, sig=4, sig_code=2, sig_addr=0x55d2bcda41cd, RLIMIT_CORE=0, timestamp=1753759652467463, tid=921, tname=observer, trace_id=Y0-0000000000000001-0-0, lbt=0x26a19f88 0x26687cbd 0x7f80c0812cdf 0x27ad41cd 0x27ad2782 0x27ac0574 0x279e487d 0x12586bbd 0x1397bea7 0xf9805b4 0x279cbe6f 0xf97c44c 0x7f80c043acf2 0x9cf2ddd, SQL_ID=, SQL_STRING=

你用的是 docker-desktop 吗,使用的版本是哪个

docker-compose 也是用 docker 来启动的吧,确认下 docker 的版本,如果是 intel 环境的话,需要 4.9.0 以下的版本,新版docker 没适配 rdtscp。

2 个赞

看错了,我以为您问 OceanBase-Desktop 。
我的 docker desktop 版本是 v4.30.0
所以我需要降级我的 docker desktop 版本吗?还是说需要降级 docker 的版本?

caoyj@zyyxmacbookdeMacBook-Pro ~ % docker -v
Docker version 26.1.1, build 4cf5afa

docker desktop 的版本吧

大佬厉害!我换成 OrbStack 启动,在容器里面执行 cat /proc/cpuinfo | grep rdtscp 显示有 rdtscp ,我删除掉挂载文件后重新启动就好了!

1 个赞