Failed to connect to oceanbase-ce

【 使用环境 】 测试环境
【 OB or 其他组件 】OB
【 使用版本 】
-rw-r–r–. 1 root root 34092024 Aug 26 11:27 ob-deploy-1.5.0-12.el7.x86_64.rpm
-rw-r–r–. 1 root root 158984 Aug 26 11:28 oceanbase-ce-libs-3.1.4-10000092022071511.el7.x86_64.rpm
-rw-r–r–. 1 root root 48457956 Aug 29 09:52 oceanbase-ce-3.1.1-4.el7.x86_64.rpm
-rw-r–r–. 1 root root 181904228 Aug 29 10:13 obclient-2.0.2-3.el7.x86_64.rpm
-rw-r–r–. 1 root root 866856 Aug 30 11:45 libobclient-2.0.2-2.el7.x86_64.rpm
【问题描述】启动一直报错,不知道为什么。
图片

配置文件如下:

oceanbase-ce:
  servers:
    # Please don't use hostname, only IP can be supported
  - *******
  global:
    # The working directory for OceanBase Database. OceanBase Database is started under this directory. This is a required field.
    home_path: /home/oceanbase/observer
    # The directory for data storage. The default value is $home_path/store.
    data_dir: /home/data/data/
    # The directory for clog, ilog, and slog. The default value is the same as the data_dir value.
    redo_dir: /home/oceanbase/redo
    # Please set devname as the network adaptor's name whose ip is  in the setting of severs.
    # if set severs as "127.0.0.1", please set devname as "lo"
    # if current ip is 192.168.1.10, and the ip's network adaptor's name is "eth0", please use "eth0"
    devname: enp0s3
    # External port for OceanBase Database. The default value is 2881. DO NOT change this value after the cluster is started.
    # mysql_port: 2881
    # Internal port for OceanBase Database. The default value is 2882. DO NOT change this value after the cluster is started.
    # rpc_port: 2882
    # Defines the zone for an observer. The default value is zone1.
    # zone: zone1
    # The maximum running memory for an observer. When ignored, autodeploy calculates this value based on the current server available resource.
    memory_limit: 8G
    # The percentage of the maximum available memory to the total memory. This value takes effect only when memory_limit is 0. The default value is 80.
    # memory_limit_percentage: 80
    # The reserved system memory. system_memory is reserved for general tenants. The default value is 30G. Autodeploy calculates this value based on the current server available resource.
    system_memory: 4G
    # The size of a data file. When ignored, autodeploy calculates this value based on the current server available resource.
    # datafile_size: 1G
    # The percentage of the data_dir space to the total disk space. This value takes effect only when datafile_size is 0. The default value is 90.
    # datafile_disk_percentage: 90
    # System log level. The default value is INFO.
    syslog_level: ERROR
    # Print system logs whose levels are higher than WARNING to a separate log file. The default value is true. The default value for autodeploy mode is false.
    # enable_syslog_wf: false
    # Enable auto system log recycling or not. The default value is false. The default value for autodeploy mode is on.
    # enable_syslog_recycle: true
    # The maximum number of reserved log files before enabling auto recycling. When set to 0, no logs are deleted. The default value for autodeploy mode is 4.
    # max_syslog_file_count: 4
    # Cluster name for OceanBase Database. The default value is obcluster. When you deploy OceanBase Database and obproxy, this value must be the same as the cluster_name for obproxy.
    # appname: obcluster
    # Password for root. The default value is empty.
    # root_password:
    # Password for proxyro. proxyro_password must be the same as observer_sys_password. The default value is empty.

【复现路径】参照正规流程离线安装

求大神帮忙看看!

看具体日志observer.log

日志如下,可以帮忙看看吗?谢谢! :star_struck:

/home/oceanbase/observer/bin/observer -r 10.6.15.112:2882:2881 -p 2881 -P 2882 -z zone1 -c 1 -d /home/data/data/ -i enp0s3 -l ERROR -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G
observer (OceanBase CE 3.1.1)

REVISION: 4-8c615943cbd25a6f7b8bdfd8677a13a21709a05e
BUILD_BRANCH: HEAD
BUILD_TIME: Oct 21 2021 10:33:14
BUILD_FLAGS: RelWithDebInfo
BUILD_INFO:

Copyright (c) 2021 Ant Group Co., Ltd.

OceanBase CE is licensed under Mulan PubL v2.
You can use this software according to the terms and conditions of the Mulan PubL v2.
You may obtain a copy of Mulan PubL v2 at:
            http://license.coscl.org.cn/MulanPubL-2.0
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PubL v2 for more details.
name= (12 segments)
                 header  0: address=  0x200040
                 header  1: address=  0x2002e0
                 header  2: address=  0x200000
                 header  3: address= 0x2220d00
                 header  4: address= 0x9b44710
                 header  5: address= 0xa139460
                 header  6: address= 0x9b44710
                 header  7: address= 0xa10daa8
                 header  8: address= 0x9b44710
                 header  9: address= 0x1277a00
                 header 10: address=     (nil)
                 header 11: address=  0x2002fc
name= (4 segments)
                 header  0: address=0x7fff6d372000
                 header  1: address=0x7fff6d372438
                 header  2: address=0x7fff6d372300
                 header  3: address=0x7fff6d37233c
name=/home/oceanbase/observer/lib/libmariadb.so.3 (7 segments)
                 header  0: address=0x7f0e1eca8000
                 header  1: address=0x7f0e1ef03268
                 header  2: address=0x7f0e1ef09d98
                 header  3: address=0x7f0e1eca81c8
                 header  4: address=0x7f0e1ecf7d00
                 header  5: address=0x7f0e1eca8000
                 header  6: address=0x7f0e1ef03268
name=/home/oceanbase/observer/lib/libaio.so.1 (7 segments)
                 header  0: address=0x7f0e1eaa6000
                 header  1: address=0x7f0e1eca6ed0
                 header  2: address=0x7f0e1eca6ed0
                 header  3: address=0x7f0e1eaa61c8
                 header  4: address=0x7f0e1eaa6a90
                 header  5: address=0x7f0e1eaa6000
                 header  6: address=0x7f0e1eca6ed0
name=/lib64/libm.so.6 (7 segments)
                 header  0: address=0x7f0e1e7a4000
                 header  1: address=0x7f0e1eaa4d60
                 header  2: address=0x7f0e1eaa4d80
                 header  3: address=0x7f0e1e7a41c8
                 header  4: address=0x7f0e1e89c688
                 header  5: address=0x7f0e1e7a4000
                 header  6: address=0x7f0e1eaa4d60
name=/lib64/libpthread.so.0 (9 segments)
                 header  0: address=0x7f0e1e588040
                 header  1: address=0x7f0e1e5992b0
                 header  2: address=0x7f0e1e588000
                 header  3: address=0x7f0e1e79eb60
                 header  4: address=0x7f0e1e79ed50
                 header  5: address=0x7f0e1e588238
                 header  6: address=0x7f0e1e5992cc
                 header  7: address=0x7f0e1e588000
                 header  8: address=0x7f0e1e79eb60
name=/lib64/libdl.so.2 (7 segments)
                 header  0: address=0x7f0e1e384000
                 header  1: address=0x7f0e1e586d38
                 header  2: address=0x7f0e1e586d68
                 header  3: address=0x7f0e1e3841c8
                 header  4: address=0x7f0e1e385a00
                 header  5: address=0x7f0e1e384000
                 header  6: address=0x7f0e1e586d38
name=/lib64/librt.so.1 (7 segments)
                 header  0: address=0x7f0e1e17c000
                 header  1: address=0x7f0e1e382d40
                 header  2: address=0x7f0e1e382d70
                 header  3: address=0x7f0e1e17c1c8
                 header  4: address=0x7f0e1e181314
                 header  5: address=0x7f0e1e17c000
                 header  6: address=0x7f0e1e382d40
name=/lib64/libc.so.6 (10 segments)
                 header  0: address=0x7f0e1ddae040
                 header  1: address=0x7f0e1df3c9e0
                 header  2: address=0x7f0e1ddae000
                 header  3: address=0x7f0e1e1716f0
                 header  4: address=0x7f0e1e174b60
                 header  5: address=0x7f0e1ddae270
                 header  6: address=0x7f0e1e1716f0
                 header  7: address=0x7f0e1df3c9fc
                 header  8: address=0x7f0e1ddae000
                 header  9: address=0x7f0e1e1716f0
name=/lib64/ld-linux-x86-64.so.2 (7 segments)
                 header  0: address=0x7f0e1ef0e000
                 header  1: address=0x7f0e1f12fb40
                 header  2: address=0x7f0e1f12fe00
                 header  3: address=0x7f0e1ef0e1c8
                 header  4: address=0x7f0e1ef2cda4
                 header  5: address=0x7f0e1ef0e000
                 header  6: address=0x7f0e1f12fb40
[2022-09-08 17:48:23.526640] ERROR [SERVER.OMT] init (ob_multi_tenant.cpp:184) [2995][0][Y0-0000000000000000] [lt=0] [dc=0] node quota should greater than 1(node_quota_=-1.000000000000000000e+00, ret=-4002) BACKTRACE:0x9786d2e 0x96d9aa1 0x226092f 0x226057b 0x2260342 0x49c8f66 0x906eb84 0x9143e75 0x913900e 0x2222045 0x7f0e1ddd0555 0x2220d29
[2022-09-08 17:48:23.551657] ERROR [SERVER] init_multi_tenant (ob_server.cpp:1186) [2995][0][Y0-0000000000000000] [lt=25012] [dc=0] init multi tenant fail(ret=-4002) BACKTRACE:0x9786d2e 0x96d9aa1 0x2225a04 0x22254eb 0x2225251 0x2223ee8 0x9144d92 0x913900e 0x2222045 0x7f0e1ddd0555 0x2220d29
[2022-09-08 17:48:23.551721] ERROR [SERVER] init (ob_server.cpp:314) [2995][0][Y0-0000000000000000] [lt=61] [dc=0] init multi tenant fail(ret=-4002) BACKTRACE:0x9786d2e 0x96d9aa1 0x2225a04 0x22254eb 0x2225251 0x2223ee8 0x913af97 0x2222045 0x7f0e1ddd0555 0x2220d29
[2022-09-08 17:49:24.849078] ERROR [SERVER] main (main.cpp:491) [2995][0][Y0-0000000000000000] [lt=21] [dc=0] observer init fail(ret=-4002) BACKTRACE:0x9786d2e 0x96d9aa1 0x2225a04 0x22254eb 0x2225251 0x2223ee8 0x222234a 0x7f0e1ddd0555 0x2220d29
/home/oceanbase/observer/bin/observer -r 10.6.15.112:2882:2881 -p 2881 -P 2882 -z zone1 -c 1 -d /home/data/data/ -i enp0s3 -l ERROR -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=4G
observer (OceanBase CE 3.1.1)

REVISION: 4-8c615943cbd25a6f7b8bdfd8677a13a21709a05e
BUILD_BRANCH: HEAD
BUILD_TIME: Oct 21 2021 10:33:14
BUILD_FLAGS: RelWithDebInfo
BUILD_INFO:

Copyright (c) 2021 Ant Group Co., Ltd.

OceanBase CE is licensed under Mulan PubL v2.
You can use this software according to the terms and conditions of the Mulan PubL v2.
You may obtain a copy of Mulan PubL v2 at:
            http://license.coscl.org.cn/MulanPubL-2.0
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PubL v2 for more details.
name= (12 segments)
                 header  0: address=  0x200040
                 header  1: address=  0x2002e0
                 header  2: address=  0x200000
                 header  3: address= 0x2220d00
                 header  4: address= 0x9b44710
                 header  5: address= 0xa139460
                 header  6: address= 0x9b44710
                 header  7: address= 0xa10daa8
                 header  8: address= 0x9b44710
                 header  9: address= 0x1277a00
                 header 10: address=     (nil)
                 header 11: address=  0x2002fc
name= (4 segments)
                 header  0: address=0x7ffd87997000
                 header  1: address=0x7ffd87997438
                 header  2: address=0x7ffd87997300
                 header  3: address=0x7ffd8799733c
name=/home/oceanbase/observer/lib/libmariadb.so.3 (7 segments)
                 header  0: address=0x7f94545ca000
                 header  1: address=0x7f9454825268
                 header  2: address=0x7f945482bd98
                 header  3: address=0x7f94545ca1c8
                 header  4: address=0x7f9454619d00
                 header  5: address=0x7f94545ca000
                 header  6: address=0x7f9454825268
name=/home/oceanbase/observer/lib/libaio.so.1 (7 segments)
                 header  0: address=0x7f94543c8000
                 header  1: address=0x7f94545c8ed0
                 header  2: address=0x7f94545c8ed0
                 header  3: address=0x7f94543c81c8
                 header  4: address=0x7f94543c8a90
                 header  5: address=0x7f94543c8000
                 header  6: address=0x7f94545c8ed0
name=/lib64/libm.so.6 (7 segments)
                 header  0: address=0x7f94540c6000
                 header  1: address=0x7f94543c6d60
                 header  2: address=0x7f94543c6d80
                 header  3: address=0x7f94540c61c8
                 header  4: address=0x7f94541be688
                 header  5: address=0x7f94540c6000
                 header  6: address=0x7f94543c6d60
name=/lib64/libpthread.so.0 (9 segments)
                 header  0: address=0x7f9453eaa040
                 header  1: address=0x7f9453ebb2b0
                 header  2: address=0x7f9453eaa000
                 header  3: address=0x7f94540c0b60
                 header  4: address=0x7f94540c0d50
                 header  5: address=0x7f9453eaa238
                 header  6: address=0x7f9453ebb2cc
                 header  7: address=0x7f9453eaa000
                 header  8: address=0x7f94540c0b60
name=/lib64/libdl.so.2 (7 segments)
                 header  0: address=0x7f9453ca6000
                 header  1: address=0x7f9453ea8d38
                 header  2: address=0x7f9453ea8d68
                 header  3: address=0x7f9453ca61c8
                 header  4: address=0x7f9453ca7a00
                 header  5: address=0x7f9453ca6000
                 header  6: address=0x7f9453ea8d38
name=/lib64/librt.so.1 (7 segments)
                 header  0: address=0x7f9453a9e000
                 header  1: address=0x7f9453ca4d40
                 header  2: address=0x7f9453ca4d70
                 header  3: address=0x7f9453a9e1c8
                 header  4: address=0x7f9453aa3314
                 header  5: address=0x7f9453a9e000
                 header  6: address=0x7f9453ca4d40
name=/lib64/libc.so.6 (10 segments)
                 header  0: address=0x7f94536d0040
                 header  1: address=0x7f945385e9e0
                 header  2: address=0x7f94536d0000
                 header  3: address=0x7f9453a936f0
                 header  4: address=0x7f9453a96b60
                 header  5: address=0x7f94536d0270
                 header  6: address=0x7f9453a936f0
                 header  7: address=0x7f945385e9fc
                 header  8: address=0x7f94536d0000
                 header  9: address=0x7f9453a936f0
name=/lib64/ld-linux-x86-64.so.2 (7 segments)
                 header  0: address=0x7f9454830000
                 header  1: address=0x7f9454a51b40
                 header  2: address=0x7f9454a51e00
                 header  3: address=0x7f94548301c8
                 header  4: address=0x7f945484eda4
                 header  5: address=0x7f9454830000
                 header  6: address=0x7f9454a51b40
[2022-09-08 17:53:11.212904] ERROR [SERVER.OMT] init (ob_multi_tenant.cpp:184) [3324][0][Y0-0000000000000000] [lt=0] [dc=0] node quota should greater than 1(node_quota_=-1.000000000000000000e+00, ret=-4002) BACKTRACE:0x9786d2e 0x96d9aa1 0x226092f 0x226057b 0x2260342 0x49c8f66 0x906eb84 0x9143e75 0x913900e 0x2222045 0x7f94536f2555 0x2220d29
[2022-09-08 17:53:11.213446] ERROR [SERVER] init_multi_tenant (ob_server.cpp:1186) [3324][0][Y0-0000000000000000] [lt=539] [dc=0] init multi tenant fail(ret=-4002) BACKTRACE:0x9786d2e 0x96d9aa1 0x2225a04 0x22254eb 0x2225251 0x2223ee8 0x9144d92 0x913900e 0x2222045 0x7f94536f2555 0x2220d29
[2022-09-08 17:53:11.213509] ERROR [SERVER] init (ob_server.cpp:314) [3324][0][Y0-0000000000000000] [lt=60] [dc=0] init multi tenant fail(ret=-4002) BACKTRACE:0x9786d2e 0x96d9aa1 0x2225a04 0x22254eb 0x2225251 0x2223ee8 0x913af97 0x2222045 0x7f94536f2555 0x2220d29
[2022-09-08 17:54:12.876537] ERROR [SERVER] main (main.cpp:491) [3324][0][Y0-0000000000000000] [lt=21] [dc=0] observer init fail(ret=-4002) BACKTRACE:0x9786d2e 0x96d9aa1 0x2225a04 0x22254eb 0x2225251 0x2223ee8 0x222234a 0x7f94536f2555 0x2220d29

这里的命令为啥ip后跟着2881和2882两个端口号?可以手动执行下这个命令看是否有coredumped,再分析下coredumped文件