当前位置:网站首页>修改配置文件后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启动成功。
边栏推荐
- [flower carving experience] 15 try to build the Arduino development environment of beetle esp32 C3
- 深度之眼(七)——矩阵的初等变换(附:数模一些模型的解释)
- Three. JS introductory learning notes 0: illustration of how webgl and threejs work
- hellogolang
- Talk about the cloud deployment of local projects created by SAP IRPA studio
- Sysom case analysis: where is the missing memory| Dragon lizard Technology
- ./ Functions of configure, make and make install
- The unity vector rotates at a point
- TiDB For PostgreSQL和YugabyteDB在Sysbench上的性能对比
- Vite path alias @ configuration
猜你喜欢
AE learning 02: timeline
How does geojson data merge the boundaries of regions?
Shandong old age Expo, 2022 China smart elderly care exhibition, smart elderly care and aging technology exhibition
Mesh merging under ue4/ue5 runtime
Plate - forme de surveillance par étapes zabbix
A wave of open source notebooks is coming
Good news! Kelan sundb database and Hongshu technology privacy data protection management software complete compatibility adaptation
Ue4/ue5 multi thread development attachment plug-in download address
10 schemes to ensure interface data security
Unity3D_ Class fishing project, control the distance between collision walls to adapt to different models
随机推荐
Is it reliable to open an account on Tongda letter with your mobile phone? Is there any potential safety hazard in such stock speculation
Strengthen real-time data management, and the British software helps the security construction of the medical insurance platform
Numpy --- basic learning notes
Migration and reprint
Plate - forme de surveillance par étapes zabbix
Three. Introduction to JS learning notes 17: mouse control of 3D model rotation of JSON file
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
markdown公式编辑教程
TS typescript type declaration special declaration field number is handled when the key key
LeetCode2_ Add two numbers
47_Opencv中的轮廓查找 cv::findContours()
Shandong old age Expo, 2022 China smart elderly care exhibition, smart elderly care and aging technology exhibition
The "go to definition" in VS2010 does not respond or prompts the solution of "symbol not found"
hellogolang
Dotween -- ease function
分步式监控平台zabbix
torch. Numel action
C Alibaba cloud OSS file upload, download and other operations (unity is available)
强化实时数据管理,英方软件助力医保平台安全建设
Mysql database basic operation DQL basic query