当前位置:网站首页>修改配置文件后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启动成功。
边栏推荐
- A JS script can be directly put into the browser to perform operations
- asyncio 概念和用法
- LeetCode3_ Longest substring without duplicate characters
- Leetcode-136-只出现一次的数(用异或来解答)
- 招标公告:福建省农村信用社联合社数据库审计系统采购项目(重新招标)
- Unity3D_ Class fishing project, control the distance between collision walls to adapt to different models
- torch. Numel action
- TiDB For PostgreSQL和YugabyteDB在Sysbench上的性能对比
- Learn good-looking custom scroll bars in 1 minute
- Simple understanding and application of TS generics
猜你喜欢
How does geojson data merge the boundaries of regions?
LeetCode3_ Longest substring without duplicate characters
Whole process analysis of unity3d rendering pipeline
深度之眼(六)——矩阵的逆(附:logistic模型一些想法)
Sysom case analysis: where is the missing memory| Dragon lizard Technology
Plate - forme de surveillance par étapes zabbix
分步式监控平台zabbix
Three. JS introductory learning notes 18: how to export JSON files with Blender
Three. JS introductory learning notes 10:three JS grid
95.(cesium篇)cesium动态单体化-3D建筑物(楼栋)
随机推荐
深度之眼(六)——矩阵的逆(附:logistic模型一些想法)
Talk about the cloud deployment of local projects created by SAP IRPA studio
Learn good-looking custom scroll bars in 1 minute
Multiplication in pytorch: mul (), multiply (), matmul (), mm (), MV (), dot ()
numpy--疫情数据分析案例
AB package details in unity (super detail, features, packaging, loading, manager)
Three. JS introductory learning notes 08:orbitcontrols JS plug-in - mouse control model rotation, zoom in, zoom out, translation, etc
Three. Introduction to JS learning notes 17: mouse control of 3D model rotation of JSON file
121. The best time to buy and sell stocks
Unity drawing plug-in = = [support the update of the original atlas]
统计学习方法——感知机
47_Opencv中的轮廓查找 cv::findContours()
2022第四届中国(济南)国际智慧养老产业展览会,山东老博会
过度依赖补助,大客户收款难,冲刺“国产数据库第一股”的达梦后劲有多足?
Rongyun won the 2022 China Xinchuang digital office portal excellence product award!
TS typescript type declaration special declaration field number is handled when the key key
LeetCode3_ Longest substring without duplicate characters
Three. JS introductory learning notes 00: coordinate system, camera (temporarily understood)
通知Notification使用全解析
招标公告:福建省农村信用社联合社数据库审计系统采购项目(重新招标)