当前位置:网站首页>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 .
边栏推荐
- 模仿企业微信会议室选择
- laravel构造函数和中间件执行顺序问题
- Laravel 服务提供者实例教程 —— 创建 Service Provider 测试实例
- 预测——灰色预测
- torch.numel作用
- hellogolang
- Logback logging framework third-party jar package is available for free
- Laravel post shows an exception when submitting data
- asyncio 概念和用法
- Apache Doris just "graduated": why should we pay attention to this kind of SQL data warehouse?
猜你喜欢

Vs tool word highlight with margin

SPI master rx time out中断

华东师大团队提出,具有DNA调控电路的卷积神经网络的系统分子实现

企业级日志分析系统ELK

Odoo集成Plausible埋码监控平台

统计学习方法——感知机

Xingruige database was shortlisted as the "typical solution for information technology application and innovation in Fujian Province in 2021"

torch. Numel action

Wireless sensor networks -- ZigBee and 6LoWPAN

Logback日志框架第三方jar包 免费获取
随机推荐
Introduction to pyGame games
2022 the 4th China (Jinan) International Smart elderly care industry exhibition, Shandong old age Expo
【知识小结】PHP使用svn笔记总结
删除 console 语句引发的惨案
Logback日志框架第三方jar包 免费获取
分步式監控平臺zabbix
Laravel5.1 Routing - routing packets
Markdown formula editing tutorial
The differences between exit, exit (0), exit (1), exit ('0 '), exit ('1'), die and return in PHP
深度之眼(七)——矩阵的初等变换(附:数模一些模型的解释)
U3D_ Infinite Bessel curve
Performance comparison of tidb for PostgreSQL and yugabytedb on sysbench
Eye of depth (VII) -- Elementary Transformation of matrix (attachment: explanation of some mathematical models)
hellogolang
华东师大团队提出,具有DNA调控电路的卷积神经网络的系统分子实现
How does laravel run composer dump autoload without emptying the classmap mapping relationship?
Bidding announcement: 2022 Yunnan Unicom gbase database maintenance public comparison and selection project (second) comparison and selection announcement
Use moviepy Editor clips videos and intercepts video clips in batches
Particle effect for ugui
Description of vs common shortcut keys