当前位置:网站首页>修改配置文件后tidb无法启动
修改配置文件后tidb无法启动
2022-07-07 14:03:00 【shy_snow】
tiup cluster edit-config tidb-dev修改配置文件后重启集群发现pd组件无法启动:
Error: failed to start pd: failed to start: pd 10.37.62.111:2379, please check the instance's log(/data01/MPP/tidb/tidb-deploy/pd-2379/log) for more detail.: timed out waiting for port 2379 to be started after 2m0s
Verbose debug logs has been written to /home/xx/.tiup/logs/tiup-cluster-debug-2022-07-06-10-33-32.log.
Error: run `/home/xx/.tiup/components/cluster/v1.3.2/tiup-cluster` (wd:/home/tydic/.tiup/data/TAloSQM) failed: exit status 1
查看错误提示中的debugger日志发现其通过ssh远程启动pd服务后一直无法检测到pd的端口,2分钟后超时报错。
将日志中命令: systemctl start pd-2379.service
查看pd-2379.service的内容:
exec bin/pd-server \
--name="pd-192.168.129.110-2379" \
--client-urls="http://0.0.0.0:2379" \
--advertise-client-urls="http://192.168.129.110:2379" \
--peer-urls="http://0.0.0.0:2380" \
--advertise-peer-urls="http://192.168.129.110:2380" \
--data-dir="/data01/MPP/tidb/tidb-data/pd-2379" \
--initial-cluster="pd-192.168.129.111-2379=http://192.168.129.111:2380,pd-192.168.129.112-2379=http://192.168.129.112:2380,pd-192.168.129.113-2379=http://192.168.129.113:2380,pd-192.168.129.114-2379=http://192.168.129.114:2380,pd-192.168.129.110-2379=http://192.168.129.110:2380" \
--config=conf/pd.toml
复制出来执行,发现报错为pd.toml中有不识别的配置,直接修改pd.toml,然后sudo systemctl start pd-2379.service 成功启动pd, 其他节点也都启动下;
然后通过tiup cluster start cluster-name启动成功。
边栏推荐
- The "go to definition" in VS2010 does not respond or prompts the solution of "symbol not found"
- A wave of open source notebooks is coming
- Three. Introduction to JS learning notes 17: mouse control of 3D model rotation of JSON file
- Learn good-looking custom scroll bars in 1 minute
- numpy---基础学习笔记
- Sysom case analysis: where is the missing memory| Dragon lizard Technology
- TS typescript type declaration special declaration field number is handled when the key key
- TiDB For PostgreSQL和YugabyteDB在Sysbench上的性能对比
- A JS script can be directly put into the browser to perform operations
- 深度之眼(七)——矩阵的初等变换(附:数模一些模型的解释)
猜你喜欢

谈谈 SAP iRPA Studio 创建的本地项目的云端部署问题

Strengthen real-time data management, and the British software helps the security construction of the medical insurance platform

分步式監控平臺zabbix

10 schemes to ensure interface data security

Syntax of generator function (state machine)

Continuous creation depends on it!
![[flower carving experience] 15 try to build the Arduino development environment of beetle esp32 C3](/img/8f/ca9ab042916f68de7994d9f2124da9.jpg)
[flower carving experience] 15 try to build the Arduino development environment of beetle esp32 C3

讲师征集令 | Apache SeaTunnel(Incubating) Meetup 分享嘉宾火热招募中!

Three. JS introductory learning notes 05: external model import -c4d into JSON file for web pages

TiDB For PostgreSQL和YugabyteDB在Sysbench上的性能对比
随机推荐
Three. JS introductory learning notes 19: how to import FBX static model
统计学习方法——感知机
Simple understanding and application of TS generics
A JS script can be directly put into the browser to perform operations
Enterprise log analysis system elk
招标公告:福建省农村信用社联合社数据库审计系统采购项目(重新招标)
LeetCode3_ Longest substring without duplicate characters
asyncio 概念和用法
Numpy -- epidemic data analysis case
一个普通人除了去工厂上班赚钱,还能干什么工作?
Three. JS introduction learning notes 12: the model moves along any trajectory line
[wechat applet] Chapter (5): basic API interface of wechat applet
UE4 exports the picture + text combination diagram through ucanvasrendertarget2d
[excelexport], Excel to Lua, JSON, XML development tool
Aerospace Hongtu information won the bid for the database system research and development project of a unit in Urumqi
TCP framework___ Unity
How does geojson data merge the boundaries of regions?
C Alibaba cloud OSS file upload, download and other operations (unity is available)
Good news! Kelan sundb database and Hongshu technology privacy data protection management software complete compatibility adaptation
Three. JS introductory learning notes 18: how to export JSON files with Blender