tikv启动不了

下图为启动的错误


下图为/tidb-deploy/tikv-2402/log/tikv.log

下面为配置文件:(就是 TiDB 数据库快速上手的官方配置文件)

> # # Global variables are applied to all deployments and used as the default value of
> # # the deployments if a specific deployment value is missing.
> global:
>  user: "tidb"
>  ssh_port: 22
>  deploy_dir: "/tidb-deploy"
>  data_dir: "/tidb-data"
> 
> # # Monitored variables are applied to all the machines.
> monitored:
>  node_exporter_port: 9100
>  blackbox_exporter_port: 9115
> 
> server_configs:
>  tidb:
>    instance.tidb_slow_log_threshold: 300
>  tikv:
>    readpool.storage.use-unified-pool: false
>    readpool.coprocessor.use-unified-pool: true
>  pd:
>    replication.enable-placement-rules: true
>    replication.location-labels: ["host"]
>  tiflash:
>    logger.level: "info"
> 
> pd_servers:
>  - host: 175.27.241.31
> 
> tidb_servers:
>  - host: 175.27.241.31
> 
> tikv_servers:
>  - host: 175.27.241.31
>    port: 2400
>    status_port: 2800
>    config:
>      server.labels: { host: "logic-host-1" }
> 
>  - host: 175.27.241.31
>    port: 2401
>    status_port: 2801
>    config:
>      server.labels: { host: "logic-host-2" }
> 
>  - host: 175.27.241.31
>    port: 2402
>    status_port: 2802
>    config:
>      server.labels: { host: "logic-host-3" }
> 
> tiflash_servers:
>  - host: 175.27.241.31
> 
> monitoring_servers:
>  - host: 175.27.241.31
> 
> grafana_servers:
>  - host: 175.27.241.31

混合部署,cpu资源够吗?

这种一般就2个可能:
1,到2379端口的网络访问不通,查防火墙设置。概率低,但不是不可能。
2,混合部署cpu资源不足,pd抢不到cpu时间,无法响应。不要把pd和tikv放一起就好了。

看很大可能是网络不通,或是pd的2379没启动成功

防火墙和selinux关了吗

部署时候有截图和日志吗?发下看看

资源不够 好像就是因为这个问题 :sob:

pd的这个报错,看不出啥呢。。。

此话题已在最后回复的 60 天后被自动关闭。不再允许新回复。