当前位置:网站首页>Tidb cannot start after modifying the configuration file
Tidb cannot start after modifying the configuration file
2022-07-07 16:25:00 【shy_ snow】
tiup cluster edit-config tidb-dev Restart the cluster discovery after modifying the configuration file pd Component failed to start :
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
Check debugger The log found that it passed ssh Remote start pd After the service, it has been unable to detect pd The port of ,2 Minutes later, there will be an error .
Put the command in the log : systemctl start pd-2379.service
see pd-2379.service The content of :
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
Copy it out and execute , It is found that the error is pd.toml There is an unrecognized configuration in , Directly modifying pd.toml, then sudo systemctl start pd-2379.service Successful startup pd, Other nodes are also started ;
And then through tiup cluster start cluster-name Successful launch .
边栏推荐
- Unity的三种单例模式(饿汉,懒汉,MonoBehaviour)
- Dotween -- ease function
- leetcode 241. Different ways to add parentheses design priority for operational expressions (medium)
- A link opens the applet code. After compilation, it is easy to understand
- How does geojson data merge the boundaries of regions?
- Enterprise log analysis system elk
- 用手机在通达信上开户靠谱吗?这样炒股有没有什么安全隐患
- prometheus api删除某个指定job的所有数据
- Eye of depth (VII) -- Elementary Transformation of matrix (attachment: explanation of some mathematical models)
- Statistical learning method -- perceptron
猜你喜欢

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

95.(cesium篇)cesium动态单体化-3D建筑物(楼栋)

深度之眼(七)——矩阵的初等变换(附:数模一些模型的解释)

Leetcode-231-2的幂

模仿企业微信会议室选择

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

Talk about the cloud deployment of local projects created by SAP IRPA studio

Mysql database basic operation DQL basic query

Rongyun won the 2022 China Xinchuang digital office portal excellence product award!

torch. Numel action
随机推荐
Asyncio concept and usage
2022 the 4th China (Jinan) International Smart elderly care industry exhibition, Shandong old age Expo
js中复选框checkbox如何判定为被选中
Shader_ Animation sequence frame
Particle effect for ugui
"The" "PIP" "entry cannot be recognized as the name of a cmdlet, function, script file, or runnable program."
AE learning 02: timeline
Logback logging framework third-party jar package is available for free
JS modularization
Tragedy caused by deleting the console statement
PHP实现微信小程序人脸识别刷脸登录功能
用手机在通达信上开户靠谱吗?这样炒股有没有什么安全隐患
23. 合并K个升序链表-c语言
Apache Doris just "graduated": why should we pay attention to this kind of SQL data warehouse?
分步式监控平台zabbix
无法将“pip”项识别为 cmdlet、函数、脚本文件或可运行程序的名称
TCP framework___ Unity
Odoo集成Plausible埋码监控平台
Shader basic UV operations, translation, rotation, scaling
Laravel post shows an exception when submitting data