启动集群的时候报错?

【 使用环境 】测试环境
【 OB or 其他组件 】
【 使用版本 】oceanbase/oceanbase-ce OceanBase is an open-source, distributed HTA… 12
【问题描述】清晰明确描述问题
【复现路径】问题出现前后相关操作
【问题现象及影响】
启动集群报错
日志:
REVISION: 100000272022110114-6af7f9ae79cd0ecbafd4b1b88e2886ccdba0c3be
BUILD_BRANCH: HEAD
BUILD_TIME: Nov 1 2022 14:56:31
BUILD_FLAGS: RelWithDebInfo
BUILD_INFO:

Copyright (c) 2011-2022 OceanBase Inc.

name= (9 segments)
header 0: address= 0x200040
header 1: address= 0x200238
header 2: address= 0x200000
header 3: address= 0xd0cc060
header 4: address= 0xd0cc060
header 5: address= 0xd616308
header 6: address= 0x1d79664
header 7: address= (nil)
header 8: address= 0x200254
name=/lib64/librt.so.1 (9 segments)
header 0: address=0x4000a35000
header 1: address=0x4000c3bd80
header 2: address=0x4000c3bda0
header 3: address=0x4000a35238
header 4: address=0x4000a35280
header 5: address=0x4000a35280
header 6: address=0x4000a3aaa0
header 7: address=0x4000a35000
header 8: address=0x4000c3bd80
name=/lib64/libdl.so.2 (9 segments)
header 0: address=0x4000c3f000
header 1: address=0x4000e41d48
header 2: address=0x4000e41d70
header 3: address=0x4000c3f238
header 4: address=0x4000c3f280
header 5: address=0x4000c3f280
header 6: address=0x4000c40f70
header 7: address=0x4000c3f000
header 8: address=0x4000e41d48
name=/lib64/libm.so.6 (9 segments)
header 0: address=0x4000e43000
header 1: address=0x40011c3d60
header 2: address=0x40011c3d78
header 3: address=0x4000e43238
header 4: address=0x4000e43280
header 5: address=0x4000e43280
header 6: address=0x4000fb5e88
header 7: address=0x4000e43000
header 8: address=0x40011c3d60
name=/home/admin/oceanbase-ce/lib/libmariadb.so.3 (7 segments)
header 0: address=0x40011c5000
header 1: address=0x400141d270
header 2: address=0x4001423db0
header 3: address=0x40011c51c8
header 4: address=0x4001212bd4
header 5: address=0x40011c5000
header 6: address=0x400141d270
name=/home/admin/oceanbase-ce/lib/libaio.so.1 (7 segments)
header 0: address=0x4001428000
header 1: address=0x4001628ed0
header 2: address=0x4001628ed0
header 3: address=0x40014281c8
header 4: address=0x4001428a6c
header 5: address=0x4001428000
header 6: address=0x4001628ed0
name=/lib64/libpthread.so.0 (11 segments)
header 0: address=0x400162a040
header 1: address=0x400163f6e0
header 2: address=0x400162a000
header 3: address=0x4001844ba8
header 4: address=0x4001844d80
header 5: address=0x400162a2a8
header 6: address=0x400162a2f0
header 7: address=0x400162a2f0
header 8: address=0x400163f700
header 9: address=0x400162a000
header 10: address=0x4001844ba8
name=/lib64/libc.so.6 (12 segments)
header 0: address=0x400184a040
header 1: address=0x40019daa50
header 2: address=0x400184a000
header 3: address=0x4001c05770
header 4: address=0x4001c08b60
header 5: address=0x400184a2e0
header 6: address=0x400184a328
header 7: address=0x4001c05770
header 8: address=0x400184a328
header 9: address=0x40019daa6c
header 10: address=0x400184a000
header 11: address=0x4001c05770
name=/lib64/ld-linux-x86-64.so.2 (9 segments)
header 0: address=0x4000801000
header 1: address=0x4000a2d3e0
header 2: address=0x4000a2de30
header 3: address=0x4000801238
header 4: address=0x400082c698
header 5: address=0x400082c698
header 6: address=0x4000829064
header 7: address=0x4000801000
header 8: address=0x4000a2d3e0
[2023-03-14 02:30:52.519231] ERROR [COMMON] init (ob_io_struct.cpp:1324) [252][][T0][Y0-0000000000000000-0-0] [lt=0] io setup failed, check config aio-max-nr of operating system(ret=-4009, io_context_=NULL) BACKTRACE:0xb5743eb 0xb65fac6 0x3c4701b 0x3c46d34 0x3c46b49 0x3c253fb 0x9bc2dd1 0x9bc293f 0x9bc8962 0x9be8ed1 0x5bd9f6a 0x5bd50e5 0x3c1b47c 0x400186d493 0x3c1a1fe
[2023-03-14 02:30:52.523181] ERROR [SERVER] init_io (ob_server.cpp:1589) [252][][T0][Y0-0000000000000000-0-0] [lt=2542] add device channel failed(ret=-4009, ret=“OB_IO_ERROR”) BACKTRACE:0xb5743eb 0xb65fac6 0x3c4701b 0x3c46d34 0x3c46b49 0x3c253fb 0x5bf8a59 0x5bda090 0x5bd50e5 0x3c1b47c 0x400186d493 0x3c1a1fe
[2023-03-14 02:30:52.523766] ERROR [SERVER] init (ob_server.cpp:220) [252][][T0][Y0-0000000000000000-0-0] [lt=493] init io failed(ret=-4009, ret=“OB_IO_ERROR”) BACKTRACE:0xb5743eb 0xb65fac6 0x3c4701b 0x3c46d34 0x3c46b49 0x3c253fb 0x5bda1fb 0x5bd5c86 0x3c1b47c 0x400186d493 0x3c1a1fe
[2023-03-14 02:30:52.644982] ERROR [SERVER] init (ob_server.cpp:374) [252][][T0][Y0-0000000000000000-0-0] [lt=97] [OBSERVER_NOTICE] fail to init observer(ret=-4009, ret=“OB_IO_ERROR”) BACKTRACE:0xb5743eb 0xb65fac6 0x3c4701b 0x3c46d34 0x3c46b49 0x3c253fb 0x5be11b5 0x5bd5ac7 0x3c1b47c 0x400186d493 0x3c1a1fe
[2023-03-14 02:30:52.645682] ERROR [SERVER] main (main.cpp:529) [252][][T0][Y0-0000000000000000-0-0] [lt=302] observer init fail(ret=-4009) BACKTRACE:0xb5743eb 0xb65fac6 0x3c20060 0x3c1fd89 0x3c1fba8 0x3c1a45c 0x3c1c48d 0x3c1b6c5 0x400186d493 0x3c1a1fe
[2023-03-14 02:30:52.653226] ERROR [COMMON] reset (ob_fifo_allocator.cpp:200) [252][][T0][Y0-0000000000000000-0-0] [lt=631] current_using_ is still used now(ref_count=2, current_using_=0x4019424030) BACKTRACE:0xb5743eb 0xb65fac6 0x3c4701b 0x3c46d34 0x3c46b49 0x3c253fb 0x3c39fbd 0x398dcc1 0x4001883b0c 0x4001883c40 0x400186d49a 0x3c1a1fe
[2023-03-14 02:30:52.656010] ERROR [SERVER] ~ObReqTimeInfo (ob_req_time_service.cpp:35) [252][][T0][Y0-0000000000000000-0-0] [lt=411] invalid reentrant cnt(reentrant_cnt_=1) BACKTRACE:0xb5743eb 0xb65fac6 0x3c20060 0x3c1fd89 0x3c1fba8 0x3c1a45c 0x3f1c49c 0x3f1c0ca 0x42b4435 0xb47c859 0x4001883b0c 0x4001883c40 0x400186d49a 0x3c1a1fe

【附件】

https://www.oceanbase.com/docs/community-observer-cn-10000000000449657 看下更改配置章节 aio-max-nr 改下


不好使啊老师。

您好,
1、直接安装当前最新的OB4.0-ce-bp1版本,
看当前的我们安装的是OB4.0(REVISION: 100000272022110114-6af7f9ae79cd0ecbafd4b1b88e2886ccdba0c3be)

2、如果报错麻烦在observer.log里过滤main.cpp,然后将包含main.cpp关键字所在的原始observer.log日志附件提供一下。




麻烦把对应的完整日志附件打包发一下,现在的截图看不出原因。