当前位置:网站首页>修改配置文件后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启动成功。
边栏推荐
- 统计学习方法——感知机
- Continuous creation depends on it!
- 融云斩获 2022 中国信创数字化办公门户卓越产品奖!
- Regular expression string
- numpy--疫情数据分析案例
- The inevitable trend of the intelligent development of ankerui power grid is that microcomputer protection devices are used in power systems
- markdown公式编辑教程
- 一个普通人除了去工厂上班赚钱,还能干什么工作?
- 航运船公司人工智能AI产品成熟化标准化规模应用,全球港航人工智能/集装箱人工智能领军者CIMC中集飞瞳,打造国际航运智能化标杆
- Three. JS introductory learning notes 05: external model import -c4d into JSON file for web pages
猜你喜欢

分步式监控平台zabbix

torch. Numel action

Odoo集成Plausible埋码监控平台

LeetCode1_ Sum of two numbers

Unity3D_ Class fishing project, bullet rebound effect is achieved

强化实时数据管理,英方软件助力医保平台安全建设

Eye of depth (VI) -- inverse of matrix (attachment: some ideas of logistic model)

numpy--数据清洗

Annexb and avcc are two methods of data segmentation in decoding

Leetcode-231-2的幂
随机推荐
统计学习方法——感知机
持续创作,还得靠它!
Align individual elements to the right under flex layout
[wechat applet] Chapter (5): basic API interface of wechat applet
Communication mode between application program and MATLAB
Three. JS introductory learning notes 13: animation learning
Apache Doris刚“毕业”:为什么应关注这种SQL数据仓库?
torch.numel作用
Regular expression string
分步式监控平台zabbix
融云斩获 2022 中国信创数字化办公门户卓越产品奖!
Unity3D_ Class fishing project, control the distance between collision walls to adapt to different models
U3D_ Infinite Bessel curve
A JS script can be directly put into the browser to perform operations
Leetcode-231-2的幂
Mesh merging under ue4/ue5 runtime
PyTorch 中的乘法:mul()、multiply()、matmul()、mm()、mv()、dot()
Three. JS introductory learning notes 15: threejs frame animation module
2022山东智慧养老展,适老穿戴设备展,养老展,山东老博会
TS typescript type declaration special declaration field number is handled when the key key