当前位置:网站首页>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 .
边栏推荐
- Prometheus API deletes all data of a specified job
- js中复选框checkbox如何判定为被选中
- 目标跟踪常见训练数据集格式
- Detailed explanation of several ideas for implementing timed tasks in PHP
- What are compiled languages and interpreted languages?
- You Yuxi, coming!
- Vs tool word highlight with margin
- Logback logging framework third-party jar package is available for free
- 记一次项目的迁移过程
- Performance comparison of tidb for PostgreSQL and yugabytedb on sysbench
猜你喜欢
Wireless sensor networks -- ZigBee and 6LoWPAN
The unity vector rotates at a point
分步式监控平台zabbix
Talk about the cloud deployment of local projects created by SAP IRPA studio
Unity drawing plug-in = = [support the update of the original atlas]
SPI master RX time out interrupt
Leetcode-231-2的幂
记一次项目的迁移过程
Rongyun won the 2022 China Xinchuang digital office portal excellence product award!
深度之眼(六)——矩阵的逆(附:logistic模型一些想法)
随机推荐
Dotween -- ease function
logback.xml配置不同级别日志,设置彩色输出
Numpy -- epidemic data analysis case
Strengthen real-time data management, and the British software helps the security construction of the medical insurance platform
Communication mode between application program and MATLAB
Three singleton modes of unity (hungry man, lazy man, monobehavior)
融云斩获 2022 中国信创数字化办公门户卓越产品奖!
IP地址和物理地址有什么区别
Regular expression string
Laravel5.1 路由 -路由分组
Enterprise log analysis system elk
Tragedy caused by deleting the console statement
23. 合并K个升序链表-c语言
laravel中将session由文件保存改为数据库保存
Odoo集成Plausible埋码监控平台
Bidding announcement: Panjin people's Hospital Panjin hospital database maintenance project
PyTorch 中的乘法:mul()、multiply()、matmul()、mm()、mv()、dot()
95.(cesium篇)cesium动态单体化-3D建筑物(楼栋)
Unity3d click events added to 3D objects in the scene
Continuous creation depends on it!