OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Database

SQL - V3.2.4Enterprise Edition

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogWhite PaperLive DemosTraining & CertificationTicket
    Company
    About OceanBaseTrust CenterLegalPartnerContact Us
    Follow Us

    © OceanBase 2026. All rights reserved

    Cloud Service AgreementPrivacy PolicySecurity
    Contact Us
    Document Feedback
    1. Documentation Center
    2. OceanBase Database
    3. SQL
    4. V3.2.4
    iconOceanBase Database
    SQL - V 3.2.4Enterprise Edition
    Databases
    • OceanBase Database
    • OceanBase Cloud
    • OceanBase Tugraph
    • Interactive Tutorials
    • OceanBase Best Practices
    Tools
    • OceanBase Cloud Platform
    • OceanBase Migration Service
    • OceanBase Developer Center
    • OceanBase Migration Assessment
    • OceanBase Admin Tool
    • OceanBase Loader and Dumper
    • OceanBase Deployer
    • Kubernetes operator for OceanBase
    • OceanBase Diagnostic Tool
    • OceanBase Binlog Service
    Connectors and Middleware
    • OceanBase Database Proxy
    • Embedded SQL in C for OceanBase
    • OceanBase Call Interface
    • OceanBase Connector/C
    • OceanBase Connector/J
    • OceanBase Connector/ODBC
    • OceanBase Connector/NET
    SQL
    KV
    • V 4.6.0
    • V 4.4.2
    • V 4.3.5
    • V 4.3.3
    • V 4.3.1
    • V 4.3.0
    • V 4.2.5
    • V 4.2.2
    • V 4.2.1
    • V 4.2.0
    • V 4.1.0
    • V 4.0.0
    • V 3.1.4 and earlier

    Troubleshoot bootstrap failures

    Last Updated:2023-10-27 09:57:43  Updated
    Share
    What is on this page
    Applicable versions
    Troubleshooting

    folded

    Share

    This topic describes how to troubleshoot bootstrap failures in OceanBase Database.

    Applicable versions

    The solution provided in this topic is applicable to all versions of OceanBase Database.

    Troubleshooting

    Bootstrap is the process of initializing system tenants after an OBServer node is started. If bootstrap fails, you can perform the following steps for troubleshooting:

    1. Check whether the infrastructure of the OBServer node meets the requirements.

      The basic environment of the OceanBase cluster to which the OBServer node belongs must meet the requirements.

      1. Check the clock synchronization status.

        Run the chronyc sources -v or ntpq -p command to verify the clock. If the clock is out of synchronization, correct the clock and restart the server.

      2. Check the network.

        Make sure that the one-way network latency is within 50 ms, or in the worst cases, within 100 ms. In addition, make sure that the network is stable without retransmission. Then, attempt to restart the server.

    2. Check whether the information about the bootstrap command is as expected.

      First, check whether all servers in the rs_list list are online. In addition, make sure that the bootstrap command is run in the cluster for the first time. If file directories contain soft links, check whether the content in the soft links is cleared. If not, clear the content. If you do not clear the content, the bootstrap will fail, triggering a 4015 error. To check the information about the bootstrap command, perform the following steps:

      1. On the server where the bootstrap command was run, view the observer.log file. Open the observer.log file and search for error logs by the BOOTSTRAP keyword. The key information is observer is not empty(ret=-4015).
      WARN  [BOOTSTRAP] bootstrap (ob_service.cpp:2233) [52707][1110][YB426451898A-00059E8E47A3C4DE] [lt=14] [dc=0] observer is not empty(ret=-4015)
      
      1. View the error message in the logs.

        Bootstrap usually fails because file directories are not empty. Possible causes:

        • A bootstrap command has been run on the server before. This involves the following two scenarios:

          • The current server has been registered with RootService in another cluster.

            In this case, the current server is already in use and cannot be reinitialized in the current cluster. You need to select another available server.

          • The current server is not registered with another cluster.

            In this case, the system generates the sstable, clog, ilog, slog, and shm files.

        • Multiple clusters are started in the same directory.

        • File directories contain soft links.

        In this case, you must sort and then initialize the clusters.

    3. Check whether the clog directory of the OBServer node has sufficient space.

      When the used space of the clog directory reaches 95% of the total space, the OBServer node stops writing logs to the clog directory by default. The threshold is determined by the log_disk_usage_limit_percentage parameter. If clogs or other files occupy more than 95% of the space of the clog directory, the bootstrap of the OBServer node will fail. For information about how to troubleshoot the issue that clog disk usage exceeds the threshold, see Full usage of OBServer clog disk.

    4. Check whether system resources were insufficient when the bootstrap command was run in the cluster.

      Bootstrap in an OceanBase cluster will fail if system resources, such as CPU and memory resources, are insufficient. In this case, the OB_INVALID_RESOURCE_UNIT error message is generated. If this error message is generated when system resources are sufficient, identify the cause of the bootstrap timeout error through further diagnostics.

    5. Check whether all OBServer nodes are started with the same cluster_id value.

      When you start an OBServer node, you must specify a valid value for the cluster_id parameter. The value range of the cluster_id parameter is [1, 4294901759].

    6. Check whether bootstrap in OceanBase Cloud Platform (OCP) fails.

      If bootstrap in an OceanBase cluster fails in OCP and you can see a task flow being created in OCP, check the detailed error message in the subtask.

      Sample scenario:

      An error occurs in the at_bootstrap_observer step of the subtask flow. The error message carries the error code 4216. A known cause is that the domain name configured for OCP is invalid when you use OCP to manage the OceanBase cluster. When you run the curl command on an OBServer node to access a configureURL value exposed through OCP, the OBServer node parses the domain name of OCP. If the domain name of OCP is invalid, a 4216 error is reported.

    If all server configurations meet the requirements and bootstrap failures do not result from the preceding common causes, you must systematically analyze the bootstrap processes. All bootstrap processes can be combined by using the BOOTSTRAP keyword. You can query the bootstrap progress by the BOOTSTRAP keyword on the corresponding server. The bootstrap progress information provides a reference for further diagnostics. If you still cannot determine the cause after further diagnostics, contact OceanBase Technical Support.

    Previous topic

    Troubleshoot unexpected exit of an observer process
    Last

    Next topic

    Troubleshoot database connection issues
    Next
    What is on this page
    Applicable versions
    Troubleshooting