当前位置:网站首页>修改配置文件后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启动成功。
边栏推荐
- Introduction to pyGame games
- markdown公式编辑教程
- When opening the system window under UE4 shipping, the problem of crash is attached with the plug-in download address
- Three. JS introductory learning notes 13: animation learning
- 47_Opencv中的轮廓查找 cv::findContours()
- Is it reliable to open an account on Tongda letter with your mobile phone? Is there any potential safety hazard in such stock speculation
- hellogolang
- SPI master rx time out中断
- 通知Notification使用全解析
- 121. The best time to buy and sell stocks
猜你喜欢

Good news! Kelan sundb database and Hongshu technology privacy data protection management software complete compatibility adaptation

Plate - forme de surveillance par étapes zabbix

L'application à l'échelle de la normalisation mature des produits ai des compagnies maritimes, cimc, leader mondial de l'intelligence artificielle portuaire et maritime / intelligence artificielle des

Leetcode-231-2的幂

持续创作,还得靠它!

LeetCode3_ Longest substring without duplicate characters

Syntax of generator function (state machine)
![Unity drawing plug-in = = [support the update of the original atlas]](/img/b0/92114ffb1f168a1f27125db46c6797.jpg)
Unity drawing plug-in = = [support the update of the original atlas]

Odoo集成Plausible埋码监控平台

Cut ffmpeg as needed, and use emscripten to compile and run
随机推荐
Ue4/ue5 multi thread development attachment plug-in download address
How to implement backspace in shell
Bidding announcement: Fujian Rural Credit Union database audit system procurement project (re bidding)
U3D_ Infinite Bessel curve
L'application à l'échelle de la normalisation mature des produits ai des compagnies maritimes, cimc, leader mondial de l'intelligence artificielle portuaire et maritime / intelligence artificielle des
./ Functions of configure, make and make install
[flower carving experience] 15 try to build the Arduino development environment of beetle esp32 C3
Postman generate timestamp, future timestamp
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"?
C4D learning notes 3- animation - animation rendering process case
Virtual memory, physical memory /ram what
Sysom case analysis: where is the missing memory| Dragon lizard Technology
尤雨溪,来了!
Three. JS introductory learning notes 08:orbitcontrols JS plug-in - mouse control model rotation, zoom in, zoom out, translation, etc
Plate - forme de surveillance par étapes zabbix
hellogolang
You Yuxi, coming!
SPI master RX time out interrupt
Enterprise log analysis system elk
AB package details in unity (super detail, features, packaging, loading, manager)