报错是
Start observer ok
observer program health check x
[WARN] OBD-2002: Failed to start server1(127.0.0.1) observer
[ERROR] oceanbase-ce start failed
我的部署语句是./tools/deploy/obd.sh deploy -c ./tools/deploy/single.yaml
single.yml的设置是
oceanbase-ce:
servers:
- name: server1
ip: 127.0.0.1
server1:
mysql_port: 10000
rpc_port: 10001
home_path: /tmp/obtest/observer1
zone: zone1
# The directory for data storage. The default value is home_path/store.
data_dir: /data
# The directory for clog, ilog, and slog. The default value is the same as the data_dir value.
redo_dir: /redo
tag: latest
include: obd/observer.include.yaml
global:
# for default system config used by farm, please see tools/deploy/obd/observer.include.yaml
# You can also specify the configuration directly below (stored locally, switching the working directory and redeploying will still take effect)
production_mode: false
devname: lo
root_password: ‘’
memory_limit: ‘9G’
system_memory: ‘4G’
datafile_size: ‘10G’
cpu_count: ‘4’