开发者社区> 问答> 正文

安装OceanBase 1.4报错,请帮忙看看,谢谢

[2020-10-07 00:50:14.638566] INFO [LIB] ob_tsi_factory.h:298 [1377][Y0-0000000000000000] [lt=45] delete instance [N9oceanbase6common8FreeItidE] 0x7fa85a84b098 [2020-10-07 00:50:14.640251] INFO [COMMON] ob_kv_storecache.cpp:3025 [1376][Y0-0000000000000000] [lt=40] Success to deregister cache, (cache_id=2) [2020-10-07 00:50:14.640325] INFO [COMMON] ob_kv_storecache.cpp:3025 [1376][Y0-0000000000000000] [lt=69] Success to deregister cache, (cache_id=3) [2020-10-07 00:50:14.640338] INFO [COMMON] ob_kv_storecache.cpp:3025 [1376][Y0-0000000000000000] [lt=12] Success to deregister cache, (cache_id=4) [2020-10-07 00:50:14.640343] INFO [COMMON] ob_kv_storecache.cpp:3025 [1376][Y0-0000000000000000] [lt=4] Success to deregister cache, (cache_id=5) [2020-10-07 00:50:14.649280] ERROR [SERVER] init_storage (ob_server.cpp:1184) [1376][Y0-0000000000000000] [lt=10] init partition service fail(ret=-4013, env={data_dir:"/home/admin/oceanbase/store/obdemo", default_block_size:2097152, disk_avail_space:28687107686, log_spec:{log_dir:"/home/admin/oceanbase/store/obdemo/slog", max_log_size:268435456, log_sync_type:0}, clog_dir:"/home/admin/oceanbase/store/obdemo/clog", ilog_dir:"/home/admin/oceanbase/store/obdemo/ilog", index_cache_priority:10, user_block_cache_priority:1, user_row_cache_priority:1, bf_cache_priority:1, clog_cache_priority:1, index_clog_cache_priority:1, bf_cache_miss_count_threshold:100}) BACKTRACE:0x2de73a9 0x2d7f9f7 0x12ac442 0x12b0b37 0x51c31c 0x7faa34ccd445 0x53abc5 [2020-10-07 00:50:14.649392] WARN [SERVER] init (ob_server.cpp:153) [1376][Y0-0000000000000000] [lt=88] init storage fail(ret=-4013) [2020-10-07 00:50:14.649426] WARN [SERVER] destroy (ob_server.cpp:190) [1376][Y0-0000000000000000] [lt=13] destroy observer begin [2020-10-07 00:50:14.649441] INFO ob_timer.cpp:85 [1376][Y0-0000000000000000] [lt=13] ObTimer destroy [2020-10-07 00:50:14.649484] INFO ob_timer.cpp:321 [1507][Y0-0000000000000000] [lt=48] timer thread exit [2020-10-07 00:50:14.649733] WARN [SERVER] destroy (ob_server.cpp:193) [1376][Y0-0000000000000000] [lt=5] timer destroyed [2020-10-07 00:50:14.649858] INFO [SHARE] ob_reentrant_thread.cpp:200 [1590][Y0-0000000000000000] [lt=48] reentrant thread exited(thread=0x7fa984efc500) [2020-10-07 00:50:14.650609] INFO [SHARE] ob_reentrant_thread.cpp:200 [1589][Y0-0000000000000000] [lt=46] reentrant thread exited(thread=0x7fa984efbed0) [2020-10-07 00:50:14.651017] INFO [SHARE] ob_reentrant_thread.cpp:200 [1587][Y0-0000000000000000] [lt=52] reentrant thread exited(thread=0x7fa984efbd20) [2020-10-07 00:50:14.651725] INFO [SHARE] ob_reentrant_thread.cpp:200 [1588][Y0-0000000000000000] [lt=123] reentrant thread exited(thread=0x7fa984f06fc0) [2020-10-07 00:50:14.652086] INFO [SHARE] ob_reentrant_thread.cpp:200 [1586][Y0-0000000000000000] [lt=47] reentrant thread exited(thread=0x7fa984ef8840) [2020-10-07 00:50:14.652524] INFO [SHARE] ob_reentrant_thread.cpp:200 [1585][Y0-0000000000000000] [lt=71] reentrant thread exited(thread=0x7fa984ef84a8) [2020-10-07 00:50:14.652823] INFO ob_timer.cpp:85 [1376][Y0-0000000000000000] [lt=33] ObTimer destroy [2020-10-07 00:50:14.652897] INFO ob_timer.cpp:321 [1579][Y0-0000000000000000] [lt=92] timer thread exit [2020-10-07 00:50:14.653182] INFO [SHARE] ob_reentrant_thread.cpp:200 [1581][Y0-0000000000000000] [lt=48] reentrant thread exited(thread=0x7fa984f077f8) [2020-10-07 00:50:14.653208] INFO [SHARE] ob_reentrant_thread.cpp:200 [1582][Y0-0000000000000000] [lt=63] reentrant thread exited(thread=0x7fa984f077f8) [2020-10-07 00:50:14.653322] INFO [SHARE] ob_reentrant_thread.cpp:200 [1583][Y0-0000000000000000] [lt=75] reentrant thread exited(thread=0x7fa984f077f8) [2020-10-07 00:50:14.653358] INFO [SHARE] ob_reentrant_thread.cpp:200 [1580][Y0-0000000000000000] [lt=83] reentrant thread exited(thread=0x7fa984f077f8) [2020-10-07 00:50:14.654212] INFO [SHARE] ob_reentrant_thread.cpp:200 [1584][Y0-0000000000000000] [lt=46] reentrant thread exited(thread=0x7fa984842aa8) [2020-10-07 00:50:14.659319] WARN [SERVER] destroy (ob_server.cpp:195) [1376][Y0-0000000000000000] [lt=29] root service destroyed [2020-10-07 00:50:14.674915] INFO [SERVER] ob_service.cpp:207 [1376][Y0-0000000000000000] [lt=34] server event table operator destroy [2020-10-07 00:50:14.674970] WARN [SERVER] destroy (ob_server.cpp:197) [1376][Y0-0000000000000000] [lt=53] ob service destroyed [2020-10-07 00:50:14.675087] INFO ob_timer.cpp:85 [1376][Y0-0000000000000000] [lt=14] ObTimer destroy [2020-10-07 00:50:14.675133] INFO ob_timer.cpp:321 [1595][Y0-0000000000000000] [lt=61] timer thread exit [2020-10-07 00:50:14.678159] INFO ob_timer.cpp:85 [1376][Y0-0000000000000000] [lt=23] ObTimer destroy [2020-10-07 00:50:14.678266] INFO ob_timer.cpp:321 [1594][Y0-0000000000000000] [lt=92] timer thread exit [2020-10-07 00:50:14.820029] WARN [COMMON] get_all_tenant_id (ob_tenant_mgr.cpp:473) [1553][Y0-0000000000000000] [lt=16] tenant manager not init(ret=-4006) [2020-10-07 00:50:14.820076] WARN [COMMON] compute_tenant_wash_size (ob_kv_storecache.cpp:1443) [1553][Y0-0000000000000000] [lt=46] Fail to get all tenant ids, (ret=-4006) [2020-10-07 00:50:14.829400] INFO [COMMON] ob_kv_storecache.cpp:1200 [1553][Y0-0000000000000000] [lt=16] Wash time detail, (refresh_score_time=7291, compute_wash_size_time=94, wash_sort_time=9297, wash_time=0) [2020-10-07 00:50:15.046927] WARN [COMMON] get_all_tenant_id (ob_tenant_mgr.cpp:473) [1553][Y0-0000000000000000] [lt=52] tenant manager not init(ret=-4006) [2020-10-07 00:50:15.047076] WARN [COMMON] compute_tenant_wash_size (ob_kv_storecache.cpp:1443) [1553][Y0-0000000000000000] [lt=146] Fail to get all tenant ids, (ret=-4006) [2020-10-07 00:50:15.057093] INFO [COMMON] ob_kv_storecache.cpp:1200 [1553][Y0-0000000000000000] [lt=11] Wash time detail, (refresh_score_time=7292, compute_wash_size_time=170, wash_sort_time=9921, wash_time=0) [2020-10-07 00:50:15.149501] INFO ob_timer.cpp:85 [1376][Y0-0000000000000000] [lt=55] ObTimer destroy [2020-10-07 00:50:15.149725] INFO ob_timer.cpp:321 [1593][Y0-0000000000000000] [lt=47] timer thread exit [2020-10-07 00:50:15.150003] WARN [SERVER] destroy (ob_server.cpp:199) [1376][Y0-0000000000000000] [lt=87] sql engine destroyed [2020-10-07 00:50:15.150090] INFO [COMMON] ob_dag_scheduler.cpp:453 [1376][Y0-0000000000000000] [lt=39] ObDagScheduler starts to destroy [2020-10-07 00:50:15.223197] INFO [COMMON] ob_dag_scheduler.cpp:488 [1376][Y0-0000000000000000] [lt=43] ObDagScheduler destroyed [2020-10-07 00:50:15.223276] WARN [SERVER] destroy (ob_server.cpp:201) [1376][Y0-0000000000000000] [lt=77] ob dag scheduler destroyed [2020-10-07 00:50:15.223375] INFO [STORAGE] ob_partition_service.cpp:2179 [1376][Y0-0000000000000000] [lt=30] partition service destory [2020-10-07 00:50:15.223405] WARN [SERVER] destroy (ob_server.cpp:203) [1376][Y0-0000000000000000] [lt=28] partition service destroyed [2020-10-07 00:50:15.223424] INFO [COMMON] ob_kv_storecache.cpp:3025 [1376][Y0-0000000000000000] [lt=7] Success to deregister cache, (cache_id=1) [2020-10-07 00:50:15.256886] WARN [SERVER] destroy (ob_server.cpp:205) [1376][Y0-0000000000000000] [lt=30] location cache destroyed [2020-10-07 00:50:15.257291] WARN [SERVER] destroy (ob_server.cpp:207) [1376][Y0-0000000000000000] [lt=140] net frame destroyed [2020-10-07 00:50:15.257351] WARN [SERVER] destroy (ob_server.cpp:211) [1376][Y0-0000000000000000] [lt=58] destroy observer end [2020-10-07 00:50:15.257372] ERROR [SERVER] main (main.cpp:372) [1376][Y0-0000000000000000] [lt=18] observer init fail(ret=-4013) BACKTRACE:0x2de73a9 0x2d7f9f7 0x53ebf9 0x51c9ea 0x7faa34ccd445 0x53abc5 [2020-10-07 00:50:15.257421] WARN [SERVER] destroy (ob_server.cpp:190) [1376][Y0-0000000000000000] [lt=48] destroy observer begin [2020-10-07 00:50:15.257433] WARN [SERVER] destroy (ob_server.cpp:193) [1376][Y0-0000000000000000] [lt=11] timer destroyed [2020-10-07 00:50:15.257532] WARN [SERVER] destroy (ob_server.cpp:195) [1376][Y0-0000000000000000] [lt=10] root service destroyed [2020-10-07 00:50:15.257605] INFO [SERVER] ob_service.cpp:207 [1376][Y0-0000000000000000] [lt=69] server event table operator destroy [2020-10-07 00:50:15.257631] WARN [SERVER] destroy (ob_server.cpp:197) [1376][Y0-0000000000000000] [lt=25] ob service destroyed [2020-10-07 00:50:15.257655] WARN [SERVER] destroy (ob_server.cpp:199) [1376][Y0-0000000000000000] [lt=23] sql engine destroyed [2020-10-07 00:50:15.257661] WARN [SERVER] destroy (ob_server.cpp:201) [1376][Y0-0000000000000000] [lt=6] ob dag scheduler destroyed [2020-10-07 00:50:15.257668] INFO [STORAGE] ob_partition_service.cpp:2179 [1376][Y0-0000000000000000] [lt=6] partition service destory [2020-10-07 00:50:15.257725] WARN [SERVER] destroy (ob_server.cpp:203) [1376][Y0-0000000000000000] [lt=56] partition service destroyed [2020-10-07 00:50:15.257733] WARN [SERVER] destroy (ob_server.cpp:205) [1376][Y0-0000000000000000] [lt=7] location cache destroyed [2020-10-07 00:50:15.257746] WARN [SERVER] destroy (ob_server.cpp:207) [1376][Y0-0000000000000000] [lt=12] net frame destroyed [2020-10-07 00:50:15.257752] WARN [SERVER] destroy (ob_server.cpp:211) [1376][Y0-0000000000000000] [lt=6] destroy observer end [2020-10-07 00:50:15.274578] WARN [COMMON] get_all_tenant_id (ob_tenant_mgr.cpp:473) [1553][Y0-0000000000000000] [lt=100] tenant manager not init(ret=-4006) [2020-10-07 00:50:15.274637] WARN [COMMON] compute_tenant_wash_size (ob_kv_storecache.cpp:1443) [1553][Y0-0000000000000000] [lt=57] Fail to get all tenant ids, (ret=-4006) [2020-10-07 00:50:15.282680] INFO [COMMON] ob_kv_storecache.cpp:1200 [1553][Y0-0000000000000000] [lt=9] Wash time detail, (refresh_score_time=10422, compute_wash_size_time=80, wash_sort_time=8005, wash_time=1) [2020-10-07 00:50:15.479846] INFO [COMMON] ob_kv_storecache.cpp:2774 [1376][Y0-0000000000000000] [lt=22] Begin destroy the ObKVGlobalCache! [2020-10-07 00:50:15.508577] INFO ob_timer.cpp:85 [1376][Y0-0000000000000000] [lt=43] ObTimer destroy [2020-10-07 00:50:15.508746] INFO ob_timer.cpp:321 [1553][Y0-0000000000000000] [lt=48] timer thread exit [2020-10-07 00:50:15.508894] INFO [LIB] ob_tsi_factory.h:298 [1553][Y0-0000000000000000] [lt=21] delete instance [N9oceanbase6common15ObDSActionArrayE] 0x7fa8c0f620e8 [2020-10-07 00:50:15.508917] INFO [LIB] ob_tsi_factory.h:298 [1553][Y0-0000000000000000] [lt=22] delete instance [N9oceanbase6common8FreeItidE] 0x7fa8c0f60098 [2020-10-07 00:50:15.509329] INFO object_set.cpp:427 [1553][Y0-0000000000000000] [lt=8] build free lists [2020-10-07 00:50:15.510168] INFO ob_timer.cpp:85 [1376][Y0-0000000000000000] [lt=45] ObTimer destroy [2020-10-07 00:50:15.510613] INFO ob_timer.cpp:321 [1554][Y0-0000000000000000] [lt=22] timer thread exit [2020-10-07 00:50:15.511339] INFO [COMMON] ob_kv_storecache.cpp:2793 [1376][Y0-0000000000000000] [lt=35] The ObKVGlobalCache has been destroyed! [2020-10-07 00:50:15.511442] INFO [SERVER] main.cpp:388 [1376][Y0-0000000000000000] [lt=53] observer is exit

展开
收起
游客75wmselr67zgq 2020-10-07 07:03:37 932 0
5 条回答
写回答
取消 提交回答
  • 根据您提供的 OceanBase 安装日志,错误信息集中在这一行:

    [2020-10-07 00:50:14.649280] ERROR [SERVER] init_storage (ob_server.cpp:1184) [1376][Y0-0000000000000000] [lt=10] init partition service fail(ret=-4013, env={...})

    错误代码 -4013 表示初始化分区服务失败。从这个错误提示看,OceanBase 在启动过程中无法成功初始化存储系统(partition service),这可能是由于以下几个原因导致的:

    1. 磁盘空间不足:根据日志中的 disk_avail_space:28687107686,当前磁盘可用空间较小,可能不足以满足 OceanBase 的最小存储需求。

    2. 配置文件设置问题:请检查OceanBase的配置文件,确保数据目录、日志目录以及其他相关存储路径配置正确,并且具有足够的读写权限。

    3. 系统环境不兼容:确认操作系统环境与OceanBase 1.4版本兼容,同时检查硬件资源是否满足OceanBase的最低要求。

    4. 内部错误或资源限制:有可能是OceanBase在分配或者初始化内部资源时遇到了问题。

    2024-01-10 15:40:40
    赞同 展开评论 打赏
  • 十分耕耘,一定会有一分收获!

    楼主你好,看你的报错信息,表示资源不足,与磁盘空间有关的资源,所以需要确保你的存储设备有足够的空间。

    还有就是需要确保你使用的 OceanBase 版本与你的存储系统兼容才行。

    2024-01-03 19:54:25
    赞同 展开评论 打赏
  • 错误代码 ret=-4013 在 OceanBase 中通常表示资源不足,特别是与磁盘空间有关的资源。在错误日志中,可以看到 disk_avail_space:28687107686,这表明在尝试初始化存储时,检测到的可用磁盘空间为大约 28.7GB。

    首先确认你的系统上的确有足够的磁盘空间。OceanBase 对磁盘空间有一定的要求,确保满足这些要求。

    OceanBase 数据库安装盘的路径由配置参数 home_path 指定。建议您为 OceanBase 数据库安装盘预留至少 200 G 空间以保存 7 天及以上的日志。OceanBase 数据库的 RPM 包安装目录位于 ${home_path} 下。其中,基线数据文件和事务日志文件会通过软链接分别指向独立的数据盘和事务日志盘。OceanBase 数据库的运行日志位于 ${home_path}/log 下。运行日志会不断增长,并且 OceanBase 数据库无法自动删除运行日志,因此您需要定时删除运行日志。

    Filesystem      Size  Used Avail Use% Mounted on
    devtmpfs         31G     0   31G   0% /dev
    tmpfs            31G     0   31G   0% /dev/shm
    tmpfs            31G  516K   31G   1% /run
    tmpfs            31G     0   31G   0% /sys/fs/cgroup
    /dev/vda1       493G  171G  302G  37% /
    tmpfs           6.2G     0  6.2G   0% /run/user/0
    /dev/vdd1     984G    77M  934G  1%  /data
    /dev/vdc1     196G     61M   186G  1%  /redo
    /dev/vdb1     492G    73M   467G  1%  /home/admin/oceanbase
    

    ——参考来源于OceanBase官方文档

    2024-01-02 22:00:29
    赞同 1 展开评论 打赏
  • 天下风云出我辈,一入江湖岁月催,皇图霸业谈笑中,不胜人生一场醉。

    根据1,OceanBase的1.4版本在2019年9月13日停止了开发和支持。因此,我们建议您升级到最新版本以获得更好的性能和功能。您可以参考示例,使用DescribeInstance API获取实例的详细信息。https://help.aliyun.com/document_detail/410344.html
    image.png

    2023-12-29 10:54:33
    赞同 展开评论 打赏
  • 北京阿里云ACE会长

    问题可能是由于 OceanBase 无法初始化存储导致的。具体来说,错误信息中提到了 "init partition service fail(ret=-4013)",这表明在尝试初始化分区服务时发生了错误。
    以下是一些建议,希望能对您解决问题有所帮助:

    1. 检查存储配置:请确保您的存储配置正确。检查 data_dir(数据目录)和 log_dir(日志目录)等参数是否正确设置。您可以参考 OceanBase 的官方文档以了解正确的配置方法。
    2. 检查存储空间:确保您的存储设备有足够的空间。日志中提到了 "disk_avail_space:28687107686",这表示您的存储设备上还有约2.8G的空间可用。一般来说,OceanBase 需要至少10%的可用空间作为日志存储,因此您可能需要增加存储空间。
    3. 检查网络配置:如果您使用了分布式存储,请确保网络配置正确。检查网络连接、防火墙规则等,以确保 OceanBase 能够正确地与存储设备通信。
    4. 检查 OceanBase 版本:请确保您使用的 OceanBase 版本与您的存储系统兼容。如果有兼容性问题,您可以尝试升级或降级 OceanBase 以解决问题。
    2023-12-27 20:55:30
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
开源HTAP OceanBase产品揭秘 立即下载
云数据库OceanBase 架构演进及在金融核心系统中的实践 立即下载
自研金融数据库OceanBase的创新之路 立即下载