当前位置:网站首页>修改配置文件后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启动成功。
边栏推荐
- 2022 the 4th China (Jinan) International Smart elderly care industry exhibition, Shandong old age Expo
- [excelexport], Excel to Lua, JSON, XML development tool
- 2022山东智慧养老展,适老穿戴设备展,养老展,山东老博会
- Sysom case analysis: where is the missing memory| Dragon lizard Technology
- Unity的三种单例模式(饿汉,懒汉,MonoBehaviour)
- Apache Doris刚“毕业”:为什么应关注这种SQL数据仓库?
- UE4 exports the picture + text combination diagram through ucanvasrendertarget2d
- Numpy -- data cleaning
- AE learning 02: timeline
- 航天宏图信息中标乌鲁木齐某单位数据库系统研发项目
猜你喜欢

Step by step monitoring platform ZABBIX

神经网络c语言中的指针是怎么回事

C4D learning notes 1- animation - animation key frames

SPI master rx time out中断

LeetCode2_ Add two numbers

Unity3D_ Class fishing project, bullet rebound effect is achieved

Three. JS introductory learning notes 18: how to export JSON files with Blender

JS array foreach source code parsing

The unity vector rotates at a point

喜讯!科蓝SUNDB数据库与鸿数科技隐私数据保护管理软件完成兼容性适配
随机推荐
Asynchronous application of generator function
分步式監控平臺zabbix
深度之眼(七)——矩阵的初等变换(附:数模一些模型的解释)
Bidding announcement: Panjin people's Hospital Panjin hospital database maintenance project
Notification uses full resolution
What else can an ordinary person do besides working in a factory to make money?
应用程序和matlab的通信方式
Three. JS introductory learning notes 19: how to import FBX static model
Limit of total fields [1000] in index has been exceeded
SPI master rx time out中断
When opening the system window under UE4 shipping, the problem of crash is attached with the plug-in download address
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
LeetCode3_ Longest substring without duplicate characters
Iterator and for of.. loop
【花雕体验】15 尝试搭建Beetle ESP32 C3之Arduino开发环境
Three. JS introductory learning notes 08:orbitcontrols JS plug-in - mouse control model rotation, zoom in, zoom out, translation, etc
Annexb and avcc are two methods of data segmentation in decoding
Plate - forme de surveillance par étapes zabbix
10 schemes to ensure interface data security
航天宏图信息中标乌鲁木齐某单位数据库系统研发项目