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 - V4.6.0

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogLive 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. V4.6.0
    iconOceanBase Database
    SQL - V 4.6.0
    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

    FAQ about manual operations on log streams

    Last Updated:2026-05-07 11:26:24  Updated
    Share
    What is on this page
    Error message 1: The tenant status is not NORMAL. CREATE LS is not allowed
    Cause
    Solution
    Error message 2: The tenant's switchover status is not normal, CREATE LS is not allowed
    Cause
    Error message 3: Unknown tenant 'tenant_name'
    Cause
    Solution
    Error message 4: Access denied
    Cause
    Error message 5: Access denied; you need (at least one of) the SUPER or ALTER SYSTEM privilege(s) for this operation
    Cause
    Solution
    Error message 6: CREATE LS of META or SYS tenant is not supported
    Cause
    Solution
    Error message 7: The tenant role is not primary, CREATE LS is not allowed
    Cause
    Solution
    Error message 8: The specified unit_group is not active or does not exist, CREATE LS is not allowed
    Cause
    Solution
    Error message 9: Incorrect arguments to set invalid unit group
    Cause
    Solution
    Error message 10: The specified primary_zone is not in the tenant's zone list, CREATE LS is not allowed
    Cause
    Solution
    Error message 11: The specified LS does not exist, MODIFY LS is not allowed
    Cause
    Solution
    Error message 12: The specified LS's status is not normal, MODIFY LS is not allowed
    Cause
    Solution
    Error message 13: The specified primary_zone is not in the tenant's zone list, MODIFY LS is not allowed
    Cause
    Solution
    Error message 14: The specified unit_group is not active or does not exist, MODIFY LS is not allowed
    Cause
    Solution
    Error message 15: The specified LS has balance tasks, MODIFY LS is not allowed
    Cause
    Solution
    Error message 16: The tenant status is not NORMAL. CREATE LS is not allowed
    Cause
    Solution

    folded

    Share

    After you execute a manual operation on a log stream, such as ALTER SYSTEM CREATE LS or ALTER SYSTEM MODIFY LS, the system may return an error message. This error message indicates the reason why the operation failed. This topic describes the causes of these errors and their solutions.

    Error message 1: The tenant status is not NORMAL. CREATE LS is not allowed

    Cause

    The tenant status is not NORMAL, so you cannot create a log stream.

    Solution

    Query the DBA_OB_TENANTS view to confirm the tenant status. If the tenant status is CREATING, wait until the tenant is created before creating a log stream.

    Error message 2: The tenant's switchover status is not normal, CREATE LS is not allowed

    Cause

    The tenant's SWITCHOVER_STATUS is not NORMAL, so you cannot create a log stream.

    Error message 3: Unknown tenant 'tenant_name'

    Cause

    You cannot create or modify a log stream for a tenant that does not exist.

    Solution

    Verify that the tenant exists.

    Error message 4: Access denied

    Cause

    You cannot specify a tenant name that does not match your own when operating under a user tenant.

    Error message 5: Access denied; you need (at least one of) the SUPER or ALTER SYSTEM privilege(s) for this operation

    Cause

    You cannot create or modify a log stream without the ALTER SYSTEM privilege.

    Solution

    You can grant the ALTER SYSTEM privilege to the current user using the GRANT statement. For more information about user authorization, see Directly grant privileges (MySQL-compatible mode) and Directly grant privileges (Oracle-compatible mode).

    Error message 6: CREATE LS of META or SYS tenant is not supported

    Cause

    You cannot create a log stream for the system tenant or Meta tenant.

    Solution

    Create a log stream for a user tenant.

    Error message 7: The tenant role is not primary, CREATE LS is not allowed

    Cause

    You can create a log stream only in the primary tenant.

    Solution

    Create a log stream in the primary tenant.

    Error message 8: The specified unit_group is not active or does not exist, CREATE LS is not allowed

    Cause

    You cannot create a log stream on a UNIT_GROUP that does not exist or a UNIT_GROUP with UNIT_GROUP_ID of 0.

    Solution

    Query the DBA_OB_UNITS view to confirm the validity of the specified UNIT_GROUP.

    Error message 9: Incorrect arguments to set invalid unit group

    Cause

    You cannot create a log stream on a UNIT_GROUP with UNIT_GROUP_ID less than 1000.

    Solution

    Query the DBA_OB_UNITS view to confirm the validity of the specified UNIT_GROUP.

    Error message 10: The specified primary_zone is not in the tenant's zone list, CREATE LS is not allowed

    Cause

    The specified PRIMARY_ZONE is not in the ZONE_LIST of the tenant. You cannot create a log stream. When you create a log stream, you must specify a PRIMARY_ZONE in the ZONE_LIST of the tenant, and you cannot specify multiple PRIMARY_ZONE parameters.

    Solution

    Query the DBA_OB_TENANTS view to confirm the zones of the tenant based on the tenant's Locality.

    Error message 11: The specified LS does not exist, MODIFY LS is not allowed

    Cause

    The log stream does not exist. Modifying the log stream is not allowed.

    Solution

    Query the CDB_OB_LS or DBA_OB_LS view to confirm whether the specified log stream exists.

    Error message 12: The specified LS's status is not normal, MODIFY LS is not allowed

    Cause

    The status of the log stream is not NORMAL. Modifying the log stream is not allowed.

    Solution

    Query the CDB_OB_LS or DBA_OB_LS view to confirm the status of the log stream. If the log stream is in the CREATING state, you can wait for the log stream to be created and then modify it. If the log stream is in any other state, you cannot modify it.

    Error message 13: The specified primary_zone is not in the tenant's zone list, MODIFY LS is not allowed

    Cause

    The PRIMARY_ZONE of the log stream is not in the ZONE_LIST of the tenant. Modifying the log stream is not allowed. When you modify a log stream, the specified PRIMARY_ZONE must be in the ZONE_LIST of the tenant, and you can specify only one PRIMARY_ZONE.

    Solution

    Query the DBA_OB_TENANTS view to confirm the zones of the tenant based on the tenant's locality.

    Error message 14: The specified unit_group is not active or does not exist, MODIFY LS is not allowed

    Cause

    The specified UNIT_GROUP does not exist or is not in the ACTIVE state. Modifying the log stream is not allowed.

    Solution

    Query the DBA_OB_UNITS view to confirm whether the specified UNIT_GROUP exists.

    Error message 15: The specified LS has balance tasks, MODIFY LS is not allowed

    Cause

    When you modify the UNIT_GROUP of a primary tenant, the tenant must not be performing load balancing.

    Solution

    Query the CDB_OB_BALANCE_TASKS or DBA_OB_BALANCE_TASKS view to confirm whether the log stream is performing load balancing. If so, wait for the load balancing task to complete before you modify the log stream.

    Error message 16: The tenant status is not NORMAL. CREATE LS is not allowed

    Cause

    The status of the tenant is not NORMAL. Modifying the log stream is not allowed.

    Solution

    Query the DBA_OB_TENANTS view to confirm the status of the tenant. If the tenant is in the CREATING state, you can wait for the tenant to be created and then modify the log stream.

    Previous topic

    Arbitration server process startup failures
    Last

    Next topic

    Application exceptions -- error messages without OceanBase error codes
    Next
    What is on this page
    Error message 1: The tenant status is not NORMAL. CREATE LS is not allowed
    Cause
    Solution
    Error message 2: The tenant's switchover status is not normal, CREATE LS is not allowed
    Cause
    Error message 3: Unknown tenant 'tenant_name'
    Cause
    Solution
    Error message 4: Access denied
    Cause
    Error message 5: Access denied; you need (at least one of) the SUPER or ALTER SYSTEM privilege(s) for this operation
    Cause
    Solution
    Error message 6: CREATE LS of META or SYS tenant is not supported
    Cause
    Solution
    Error message 7: The tenant role is not primary, CREATE LS is not allowed
    Cause
    Solution
    Error message 8: The specified unit_group is not active or does not exist, CREATE LS is not allowed
    Cause
    Solution
    Error message 9: Incorrect arguments to set invalid unit group
    Cause
    Solution
    Error message 10: The specified primary_zone is not in the tenant's zone list, CREATE LS is not allowed
    Cause
    Solution
    Error message 11: The specified LS does not exist, MODIFY LS is not allowed
    Cause
    Solution
    Error message 12: The specified LS's status is not normal, MODIFY LS is not allowed
    Cause
    Solution
    Error message 13: The specified primary_zone is not in the tenant's zone list, MODIFY LS is not allowed
    Cause
    Solution
    Error message 14: The specified unit_group is not active or does not exist, MODIFY LS is not allowed
    Cause
    Solution
    Error message 15: The specified LS has balance tasks, MODIFY LS is not allowed
    Cause
    Solution
    Error message 16: The tenant status is not NORMAL. CREATE LS is not allowed
    Cause
    Solution