当前位置:网站首页>修改配置文件后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启动成功。
边栏推荐
- [excelexport], Excel to Lua, JSON, XML development tool
- Simple understanding and application of TS generics
- [flower carving experience] 15 try to build the Arduino development environment of beetle esp32 C3
- 统计学习方法——感知机
- 航運船公司人工智能AI產品成熟化標准化規模應用,全球港航人工智能/集裝箱人工智能領軍者CIMC中集飛瞳,打造國際航運智能化標杆
- Three. JS introductory learning notes 15: threejs frame animation module
- The "go to definition" in VS2010 does not respond or prompts the solution of "symbol not found"
- C Alibaba cloud OSS file upload, download and other operations (unity is available)
- 深度之眼(七)——矩阵的初等变换(附:数模一些模型的解释)
- Shipping companies' AI products are mature, standardized and applied on a large scale. CIMC, the global leader in port and shipping AI / container AI, has built a benchmark for international shipping
猜你喜欢

The unity vector rotates at a point

Shandong old age Expo, 2022 China smart elderly care exhibition, smart elderly care and aging technology exhibition

深度之眼(六)——矩阵的逆(附:logistic模型一些想法)

numpy---基础学习笔记

谈谈 SAP iRPA Studio 创建的本地项目的云端部署问题

AE learning 01: AE complete project summary

航運船公司人工智能AI產品成熟化標准化規模應用,全球港航人工智能/集裝箱人工智能領軍者CIMC中集飛瞳,打造國際航運智能化標杆

TiDB For PostgreSQL和YugabyteDB在Sysbench上的性能对比

MySQL数据库基本操作-DQL-基本查询

持续创作,还得靠它!
随机推荐
Three. JS introductory learning notes 11:three JS group composite object
深度之眼(六)——矩阵的逆(附:logistic模型一些想法)
121. 买卖股票的最佳时机
Wireless sensor networks -- ZigBee and 6LoWPAN
用手机在通达信上开户靠谱吗?这样炒股有没有什么安全隐患
Use moviepy Editor clips videos and intercepts video clips in batches
Mysql database basic operation DQL basic query
The unity vector rotates at a point
How does geojson data merge the boundaries of regions?
Eye of depth (VII) -- Elementary Transformation of matrix (attachment: explanation of some mathematical models)
Leetcode-231-2的幂
nodejs package. JSON version number ^ and~
Eye of depth (VI) -- inverse of matrix (attachment: some ideas of logistic model)
47_Opencv中的轮廓查找 cv::findContours()
Detailed explanation of unity hot update knowledge points and introduction to common solution principles
markdown公式编辑教程
Three. JS introductory learning notes 00: coordinate system, camera (temporarily understood)
招标公告:2022年云南联通gbase数据库维保公开比选项目(第二次)比选公告
After UE4 is packaged, mesh has no material problem
Apache Doris just "graduated": why should we pay attention to this kind of SQL data warehouse?