当前位置:网站首页>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 .
边栏推荐
- SysOM 案例解析:消失的内存都去哪了 !| 龙蜥技术
- [hcsd celebrity live broadcast] teach the interview tips of big companies in person - brief notes
- thinkphp3.2.3中设置路由,优化url
- torch.numel作用
- 【HCSD大咖直播】亲授大厂面试秘诀-简要笔记
- Detailed explanation of several ideas for implementing timed tasks in PHP
- Prometheus API deletes all data of a specified job
- asyncio 概念和用法
- MySQL中, 如何查询某一天, 某一月, 某一年的数据
- 121. 买卖股票的最佳时机
猜你喜欢
Good news! Kelan sundb database and Hongshu technology privacy data protection management software complete compatibility adaptation
分步式監控平臺zabbix
深度之眼(六)——矩阵的逆(附:logistic模型一些想法)
Statistical learning method -- perceptron
Dotween -- ease function
Unity3d click events added to 3D objects in the scene
You Yuxi, coming!
Performance comparison of tidb for PostgreSQL and yugabytedb on sysbench
华东师大团队提出,具有DNA调控电路的卷积神经网络的系统分子实现
Application example of infinite list [uigridview]
随机推荐
[summary of knowledge] summary of notes on using SVN in PHP
Prometheus API deletes all data of a specified job
Shader_ Animation sequence frame
Communication mode between application program and MATLAB
Multiplication in pytorch: mul (), multiply (), matmul (), mm (), MV (), dot ()
Usage of config in laravel
谈谈 SAP iRPA Studio 创建的本地项目的云端部署问题
121. The best time to buy and sell stocks
The inevitable trend of the intelligent development of ankerui power grid is that microcomputer protection devices are used in power systems
Mysql database backup script
torch. Numel action
分步式监控平台zabbix
01tire+链式前向星+dfs+贪心练习题.1
Particle effect for ugui
Excessive dependence on subsidies, difficult collection of key customers, and how strong is the potential to reach the dream of "the first share of domestic databases"?
Introduction to pyGame games
Notification uses full resolution
预测——灰色预测
Laravel post shows an exception when submitting data
Plate - forme de surveillance par étapes zabbix