Skip to content

[Bug] 麒麟系统 docker 部署iotdb,启动后卡在 Checking whether the ports are already occupied... #13151

@FlickerMi

Description

@FlickerMi

Search before asking

  • I searched in the issues and found nothing similar.

Version

iotdb版本:iotdb:1.3.1-standalone
服务器版本:麒麟V10 x86_64
Linux version 4.19.90-52.22.v2207.ky10.x86_64 (KYLINSOFT@COMPILE.MACHINE) (gcc version 7.3.0 (GCC)) #1 SMP Tue Mar 14 12:19:10CST 2023

Describe the bug and provide the minimal reproduce step

使用docker启动iotdb,docker-compose.yml

version : '3.8'

services:
  iotdb:
    container_name: iotdb
    image: apache/iotdb:1.3.1-standalone
    restart: always
    hostname: iotdb-service
    ports:
      - "6667:6667"
      - "31999:31999"
      - "8123:8123"
      - "9003:9003"
    volumes:
      - ./data:/iotdb/data
      - ./logs:/iotdb/logs
      - ./conf:/iotdb/conf
    environment:
      - TZ=Asia/Shanghai
      - enable_rest_service=true
      - cn_internal_address=iotdb-service
      - cn_internal_port=10710
      - cn_consensus_port=10720
      - cn_seed_config_node=iotdb-service:10710
      - dn_rpc_address=iotdb-service
      - dn_internal_address=iotdb-service
      - dn_rpc_port=6667
      - dn_mpp_data_exchange_port=10740
      - dn_schema_region_consensus_port=10750
      - dn_data_region_consensus_port=10760
      - dn_target_config_node_list=iotdb-service:10710
      #- dn_seed_config_node=iotdb-service:10710
    networks:
      - cc-network

networks:
  cc-network:
    external: true

docker compose up -d 后,日志卡在Checking whether the ports are already occupied...,并且容器CPU飙升。

IMG_20240813_174351.jpg

输出日志:

IMG_20240813_174333.jpg

Checking whether the ports are already occupied...

What did you expect to see?

正常启动

What did you see instead?

Checking whether the ports are already occupied...

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions